source: Dev/branches/rest-dojo-ui/client/rft/css/layout.css @ 390

Last change on this file since 390 was 387, checked in by hendrikvanantwerpen, 13 years ago
File size: 12.2 KB
Line 
1*:focus {
2    /* Disabled Chrome focus outlines! */
3    outline: none;
4}
5html,body {
6    width: 100%;
7    height: 100%;
8    font-size: 13px;
9    background-color: #333333;
10}
11.claro {
12    font-family: 'Segoe UI', Verdana, Arial, Helvetica, sans-serif;
13    color: #000000;
14}
15
16/* Headings */
17.claro h1 {   
18    float: left;
19    clear: left;
20    font-size: 48px;
21    color: #999999;
22    margin: 0 10px 8px 10px;
23    padding: 0;
24    line-height: 48px;
25    font-weight: normal !important;
26    -webkit-user-select: none;
27    -moz-user-select: none;
28}
29.claro h2 {
30    /* Content pane title */
31    color: #ffffff;
32    font-size: 22px;
33    line-height: 30px;
34    margin: 0;
35    padding: 0;
36}
37.claro h2 .rftIcon {
38    float: left;
39    width: 32px;
40    height: 32px;
41    background-image: url('images/icons/rftIcons32.png');
42    margin-right: 8px;
43}
44.claro h3 {
45    /* Section headers */
46    font-size: 18px;
47    margin: 0 0 4px 0;
48}
49.claro h4 {
50    /* Small text headers/paragraph headers */
51    font-size: 16px;
52}
53
54/* Topbar  */
55.claro .topbar {
56    overflow-y: hidden;
57}
58.claro .topbar .dijitMenuBar {
59    border: none;
60    background-color: transparent;
61    background-image: none;   
62    float: right;
63    clear: right;
64    margin-top: 16px;
65}
66
67/* Breadcrumbs */
68.claro .breadcrumbs {
69    float: left;
70    clear: left;
71    width: 100%;
72    text-align: center;
73    height: 16px;
74    line-height: 16px;
75    margin: 0 0 4px 0;
76}
77.claro .breadcrumbs .breadcrumb {
78    color: #999999;
79    font-size: 13px;
80}
81.claro .breadcrumbs .breadcrumb.breadcrumbCurrent {
82    color: #ffffff;
83    font-size: 14px;
84}
85.claro .breadcrumbs .breadcrumb.breadcrumbHover {
86    color: #0072bc;
87}
88
89/* Content */
90.claro .dijitContentPane.page {
91    padding: 0;
92}
93.claro .content.dijitContentPane {
94    display: block;
95    clear: both;
96    padding: 0;
97    background-color: #555555;
98    /* Background gradient time! */
99    background: -webkit-radial-gradient(
100        50% 50%,
101        circle,
102        #666666 1%,
103        #444444 100%
104        );
105    background: -moz-radial-gradient(
106        50% 50%,
107        circle,
108        #666666 1%,
109        #444444 100%
110        );
111}
112.claro .content.dijitContentPane .dijitBorderContainer {
113    padding: 2px;
114}
115
116/* General */
117.loginLabel {
118    float: left;
119    clear: left;
120    width: 100px;
121}
122.loginInput {
123    float: left;
124    clear: right;
125    width: 150px;
126}
127.rftMultipleChoiceWidget {
128    display: table;
129}
130.rftMultipleChoiceWidget .row {
131    display: table-row;
132}
133.rftMultipleChoiceWidget .rowBox {
134    display: table-cell;
135}
136.rftMultipleChoiceWidget .rowText {
137    display: table-cell;
138    width: 100px;
139}
140.rftMultipleChoiceWidget .rowBtn {
141    display: table-cell;
142    width: 30px;
143}
144.verticalTabList {
145    width: 190px;
146}
147
148/* Tabs */
149.claro .dijitTabContainerLeft-tabs {
150    border: none;
151    padding: 4px 16px 4px 4px;
152}
153.claro .dijitTabContainerLeft-tabs .dijitTab {
154    margin: 4px 0;
155    width: 200px;
156    min-height: 30px;
157}
158.claro .dijitTab {
159    padding: 2px 8px;
160    color: #999999;
161    border: 1px solid #999999;
162    white-space: normal;
163    overflow: hidden;
164    transition: all 0.3s;
165    -moz-transition: all 0.3s;
166    -webkit-transition: all 0.3s;
167    -o-transition: all 0.3s;
168}
169.claro .dijitTabContainerLeft-tabs .dijitTab .dijitTabContent {
170    height: 48px;
171    line-height: 24px;
172    width: 190px;
173}
174.claro .dijitTab.dijitTabHover {
175    color: #ffffff;
176    border-color: #ffffff;
177    transition: all 0.1s;
178    -moz-transition: all 0.1s;
179    -webkit-transition: all 0.1s;
180    -o-transition: all 0.1s;
181}
182.claro .dijitTab.dijitTabActive {
183    color: #0072bc;
184    transition: all 0.1s;
185    -moz-transition: all 0.1s;
186    -webkit-transition: all 0.1s;
187    -o-transition: all 0.1s;
188}
189.claro .dijitTab.dijitTabChecked {
190    color: #ffffff;
191    border: 1px solid transparent;
192    transition: all 0.1s;
193    -moz-transition: all 0.1s;
194    -webkit-transition: all 0.1s;
195    -o-transition: all 0.1s;
196}
197.claro .dijitTabContainer.blue .dijitTab.dijitTabChecked {
198    background-color: #0072bc;
199}
200.claro .dijitTabContainer.orange .dijitTab.dijitTabChecked {
201    background-color: #ff5b12;
202}
203.claro .dijitTabContainer.red .dijitTab.dijitTabChecked {
204    background-color: #8c0310;
205}
206.claro .dijitTabContainer.purple .dijitTab.dijitTabChecked {
207    background-color: #6529b7;
208}
209.claro .dijitTabContainer.green .dijitTab.dijitTabChecked {
210    background-color: #3aa605;
211}
212.claro .dijitTabContainer.blue .dijitTab.dijitTabActive {
213    color: #0072bc;
214}
215.claro .dijitTabContainer.orange .dijitTab.dijitTabActive {
216    color: #ff5b12;
217}
218.claro .dijitTabContainer.red .dijitTab.dijitTabActive {
219    color: #8c0310;
220}
221.claro .dijitTabContainer.purple .dijitTab.dijitTabActive {
222    color: #6529b7;
223}
224.claro .dijitTabContainer.green .dijitTab.dijitTabActive {
225    color: #3aa605;
226}
227
228/* Index Menu */
229.claro .rftIndexMenuBlock {
230    width: 400px;
231    height: 400px;
232    background: #444444;
233    float: left;
234    margin: 16px;
235    overflow: hidden;
236}
237.claro .rftIndexMenuMask {
238    height: 400px;
239    width: 400px;
240    background: #444444;
241    color: #999999;
242    margin-top: 0;
243}
244.claro .rftIndexMenuBlock:hover .rftIndexMenuMask {
245    margin-top: -400px;
246}
247.claro .rftIndexMenuMask .label {
248    color: #999999;
249    font-size: 32px;
250    line-height: 28px;
251    height: 32px;
252    margin: 184px 0;
253    float: left;
254}
255.claro .rftIndexMenuMask .rftIcon {
256    width: 32px;
257    height: 32px;
258    background-image: url('images/icons/rftIcons32.png');
259    margin: 184px 8px 0 8px;
260    float: left;
261}
262
263
264/* Inputs */
265fieldset {
266    border: none;
267}
268fieldset.align input,
269fieldset.align .dijitTextBox,
270fieldset.align textarea {
271    margin-left: 0;
272}
273fieldset.align label {
274    color: #ffffff;
275    display: inline-block;
276    width: 100px !important;
277}
278
279.claro .newline {
280    display: block;
281}
282
283/* Question editor/Survey Advanced editor */
284.claro .QuestionEditor .PreviewWindow {
285    /* Nothing yet, put preview window styling options here after we've decided on a format to follow! */
286}
287.claro .dijitAccordionContainer {
288    /* No styling for now, use this for margins and other layout-related business. This class does not affect the look of the AccordionContainer currently! */
289}
290.claro .dijitAccordionInnerContainer {
291    /* This contains a title and a childWrapper. The two of these make up one "item" in the Accordion element */
292    border: none;
293    border-color: #333333;
294    background-color: #0072bc;
295    margin-bottom: 0;
296}
297.claro .dijitAccordionInnerContainer {
298    background-color: transparent;
299}
300.claro .dijitAccordionTitle, .claro .dijitAccordionTitleSelected {
301    background-color: #0072bc;
302    background-image: none;
303    color: #ffffff;
304}
305.claro .dijitAccordionTitle .rftIcon {
306    width: 16px;
307    height: 16px;
308    background-image: url('images/icons/rftIcons16b.png');
309    margin: 0 4px 2px 0;
310}
311.claro .dijitAccordionTitleSelected .rftIcon {
312    background-image: url('images/icons/rftIcons16.png');
313}
314.claro .dijitAccordionContainer.blue .dijitAccordionTitle, .claro .dijitAccordionContainer.blue .dijitAccordionTitleSelected {
315    background-color: #0072bc;
316}
317.claro .dijitAccordionContainer.blue .dijitAccordionTitleHover {
318    background-color: #0794d1;
319}
320.claro .dijitAccordionContainer.orange .dijitAccordionTitle, .claro .dijitAccordionContainer.orange .dijitAccordionTitleSelected {
321    background-color: #ff5b12;
322}
323.claro .dijitAccordionContainer.orange .dijitAccordionTitleHover {
324    background-color: #ff9140;
325}
326.claro .dijitAccordionText {
327    color: #ffffff;
328}
329.claro .dijitAccordionContainer .dijitAccordionChildWrapper {
330    background-color: #444444;
331    border: none !important;
332    padding: 0;
333    margin: 0;
334}
335.claro .dijitAccordionContainer .dijitAccordionInnerContainerSelectedHover .dijitAccordionChildWrapper,
336.claro .dijitAccordionContainer .dijitAccordionInnerContainerSelectedActive .dijitAccordionChildWrapper {
337    border: none;
338    box-shadow: none;
339    -moz-box-shadow: none;
340    -webkit-box-shadow: none;
341    /* Override the box shadow and offset on hover */
342}
343
344/* Experimental background colour inheritance */
345.claro div.blue.inheritBgColor,
346.claro .blue .inheritBgColor {
347    background-color: #0072bc;
348    color: #ffffff;
349}
350.claro div.green.inheritBgColor,
351.claro .green .inheritBgColor {
352    background-color: #3aa605;
353    color: #ffffff;
354}
355.claro div.orange.inheritBgColor,
356.claro .orange .inheritBgColor {
357    background-color: #ff5b12;
358    color: #ffffff;
359}
360.claro div.purple.inheritBgColor,
361.claro .purple .inheritBgColor {
362    background-color: #6529b7;
363    color: #ffffff;
364}
365.claro div.red.inheritBgColor,
366.claro .red .inheritBgColor {
367    background-color: #8c0310;
368    color: #ffffff;
369}
370.claro div.trans.inheritBgColor,
371.claro .trans .inheritBgColor {
372    background-color: transparent;
373    color: #ffffff;
374}
375.claro div.blue.inheritBgColor.light,
376.claro .blue .inheritBgColor.light {
377    background-color: #0794d1;
378    color: #ffffff;
379}
380.claro div.green.inheritBgColor.light,
381.claro .green .inheritBgColor.light {
382    background-color: #79ca0a;
383    color: #ffffff;
384}
385.claro div.orange.inheritBgColor.light,
386.claro .orange .inheritBgColor.light {
387    background-color: #ff9140;
388    color: #ffffff;
389}
390.claro div.purple.inheritBgColor.light,
391.claro .purple .inheritBgColor.light {
392    background-color: #993dec;
393    color: #ffffff;
394}
395.claro div.red.inheritBgColor.light,
396.claro .red .inheritBgColor.light {
397    background-color: #bd0013;
398    color: #ffffff;
399}
400
401/*TODO: Apply these classes to display elements that need to inherit the interface's object colour!
402Remove/disable other references to these colours from files like rftButtons, rftLineWithButtons, etc to make sure it works properly.
403Put these settings in a separate "colours.css" file to separate the concern of styling these objects from other layout-oriented properties.
404When we add things like highlightColours, borders, etc, the list could become quite long, especially if more colours are added to the colour scheme in time.
405
406
407Dropdown menu on MenuBar*/
408.claro .dijitMenuPopup {
409
410}
411.claro .dijitMenuPopup .dijitMenu {
412    border: none;
413    background-color: #333333;
414    background-image: none;
415    color: #999999;   
416}
417.claro .dijitMenuPopup .dijitMenu .dijitMenuItem {
418    color: #999999;
419    background-image: none;
420    background-color: transparent;
421}
422.claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.blue,
423.claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.blue {
424    background-color: #0072bc;
425}
426.claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.orange,
427.claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.orange {
428    background-color: #ff5b12;
429}
430.claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.purple,
431.claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.purple {
432    background-color: #6529b7;
433}
434.claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.green,
435.claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.green {
436    background-color: #3aa605;
437}
438.claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover.red,
439.claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected.red {
440    background-color: #8c0310;
441}
442.claro .dijitMenuPopup .dijitMenu .dijitMenuItemHover .dijitMenuItemLabel,
443.claro .dijitMenuPopup .dijitMenu .dijitMenuItemActive .dijitMenuItemLabel,
444.claro .dijitMenuPopup .dijitMenu .dijitMenuItemSelected .dijitMenuItemLabel {
445    color: #ffffff;
446}
447.claro .dijitMenuPopup .dijitMenu .dijitMenuItem .rftIcon {
448    height: 16px;
449    width: 16px;
450    margin: 0;
451    margin-right: 4px;
452    background-image: url('images/icons/rftIcons16.png');
453}
454.claro .dijitMenuPopup .dijitMenu .dijitMenuItemActive .rftIcon {
455    background-image: url('images/icons/rftIcons16b.png');
456}
457
458
459/* Alignment */
460.claro .floatRight {
461    float: right;
462    margin: 0;
463    padding: 0;
464}
465
466
467/* SurveyListView */
468.claro .rftSurveyListView {
469}
470.claro .rftSurveyListView .rftSurveyListViewContent {
471    height: 300px;
472    background: #444444;
473    overflow: auto;
474}
475.claro .rftSurveyListView .rftLineWithButtons .rftLineWithButtonsTitle {
476    max-width: 200px;
477    overflow: hidden;
478}
479
480/* AccountListView */
481.claro .rftAccountListView .rftLineWithButtons .rftLineWithButtonsTitle {
482    max-width: 400px;
483    overflow: auto;
484}
485/* Generic list with lines */
486.claro .rftLineListView {
487    max-width: 200px;
488    max-height: 500px;
489}
490.claro .rftLineListView .rftLineListViewContent {
491    max-width: 200px;
492    overflow: auto;
493}
494
495
496/* Two column tables */
497.labelsAndValues-labelCell {
498  padding-left: 5px;
499}
500
501.labelsAndValues-valueCell {
502  padding-left: 20px;
503}
Note: See TracBrowser for help on using the repository browser.