Merge Rowan's html code + slightly update styles
[matches/MCTX3420.git] / testing / MCTXWeb / public_html / static / style.css
1 /** Custom fonts **/
2 @font-face {
3   font-family: "Open Sans";
4   src: url("OpenSans.ttf"),
5     url("OpenSans.eot");
6 }
7
8 /** Limit max width and auto-center content **/
9 html  {
10   max-width: 1280px;
11   margin: 0 auto;
12 }
13
14 body {
15   font-family: "Open Sans", "Lucida Grande","Lucida Sans",Verdana,Arial;
16   font-size: 13px;
17   background-color: #F5F5F5;
18 }
19
20 hr {
21   border: 0;
22   border-bottom: 1px solid gray;
23 }
24
25 form.controls {
26   background-color: #F9F9F9;
27   border: 1px solid #808080;
28   padding: 1em;
29   margin: 1em auto;
30 }
31
32 div.centre {
33   text-align: center;
34 }
35
36 .bold {
37   font-weight: bold;
38 }
39
40 table {
41   border: none;
42 }
43
44 table.centre {
45   margin: auto;
46   text-align: center;
47 }
48
49 table.status, table.status tr, table.status td {
50     padding: 0.2em 0.75em;
51 }
52
53 td {
54   padding: 0 0.5em;
55 }
56
57 th {
58   padding: inherit;
59   border-bottom: 1px solid gray;
60 }
61
62 img.centre {
63   display: block;
64   margin: auto;
65 }
66
67 input[type="button"], input[type="submit"] {
68   background-color: #F5F5F5;
69   border: 1px solid #A2A2A2;
70   border-radius: 3px;
71   box-shadow: 1px 1px 1px #BBBBBB;
72   transition: all 0.13s ease 0s;
73   padding: 0 0.5em;
74   min-width: 55px;
75   margin: 0.4em 0.1em;
76 }
77
78 input[type="button"]:active, input[type="submit"]:active {
79   background-color: #E8E8E8;
80 }
81
82 /* IE8 width bugfix */
83 input[type="text"], input[type="password"] {
84   width: 100%;
85 }
86
87 #header {
88   background-color: #2a2a2a;
89   border-top: 0.8em solid #1188DD;
90   color: #f2f2f2;
91   padding: 1.5em 2em;
92   margin-top: -1em;
93   margin-bottom: 1em;
94   box-shadow: 0 0 0.5em #444444;
95   border-radius: 4px;
96   transition: all 0.2s ease 0s;
97 }
98
99 #header input[type="button"], input[type="submit"] {
100   background-color: #808080;
101   border: 1px solid #808080;
102   box-shadow: none;
103   color: #f2f2f2;
104   cursor: pointer;
105 }
106
107 #header input[type="button"]:hover, input[type="submit"]:hover {
108   background-color: #606060;
109   border: 1px solid #606060;
110 }
111
112 #header #leftnav {
113   float: left;
114   display: table;
115 }
116
117 #header #leftnav a {
118   color: #2a2a2a;
119 }
120
121 #header #title {
122   font-size: 30px;
123   display: table-cell;
124   vertical-align: middle;
125   padding-left: 1em;
126 }
127
128 #header #rightnav {
129   float: right;
130   font-size: 15px;
131   padding-top: 0.5em;
132   text-align: right;
133 }
134
135 #header #rightnav span {
136   margin-left: 1em;
137 }
138
139 #header #menu-container {
140   margin-right: 1.5em;
141   font-size: 15px;
142   display: inline-block;
143 }
144
145 #header #date {
146   font-size: 12px;
147 }
148
149 #content  {
150   padding: 1em 2em;
151 }
152
153 #sidebar{
154   float: right;
155   max-width: 26%;
156 }
157
158 #sidebar .title {
159   font-size: 20px;
160   font-weight: bold;
161 }
162
163 #sidebar .item {
164   padding: 0.2em;
165   margin-bottom: 0.5em;
166 }
167
168 #main {
169   overflow: auto;
170   margin-right: 25%;
171   padding-right: 2em;
172   min-width: 400px;
173 }
174
175 #main .title {
176   font-size: 24px;
177   font-weight: bold;
178   margin-bottom: 0.5em;
179 }
180
181 #main .sub-title {
182   font-size: 18px;
183   font-weight: bold;
184   margin-bottom: 0.25em;
185 }
186
187 .graph {
188   width: 100%;
189   height: 200px;
190 }
191
192 .widget {
193   background-color: #ffffff;
194   margin: 0.25em 0.25em 1.5em;
195   padding: 1em 1.25em;
196   box-shadow: 0 0 3px #CCCCCC;
197   transition: all 0.2s ease 0s;
198   overflow: auto;
199 }
200
201 .widget:hover {
202   box-shadow: 0 0 0.25em #AAAAAA;
203 }
204
205 /** Hack **/
206 .clear {
207   clear: both;
208 }
209
210 #errorlog {
211   overflow: auto;
212   max-width: 100%;
213   width: 100%;
214   height: 6em;
215 }

UCC git Repository :: git.ucc.asn.au