source: MDService2/trunk/MDService2/WebContent/style/cmds-ui.css @ 1423

Last change on this file since 1423 was 1423, checked in by vronk, 13 years ago
File size: 8.9 KB
Line 
1
2/*********************/
3/* basic page layout */ 
4#header { height: 70px; }
5#top-menu {position: absolute; right: 20px; top: 10px; }
6#left-menu {float: left; width:250px; height:500px; overflow:auto;}
7#main {margin-left:260px; /* max-width: .. */}
8#query-input { padding: 6px;  /* max-width: 600px; */ }
9#repositories {margin: 6px 0px; }
10#notify {max-width: 400px; position: relative; overflow: auto; height: 40px;}
11#user {text-align: right;}
12#welcome {max-width: 600px; padding: 10px;}
13
14/* ******************** */
15/* look and feel, fonts */
16body, table { font-size: 12px; font-family: Helvetica,Tahoma,Arial,Verdana,sans-serif;}
17#site-name { font-family: Helvetica, Tahoma, Verdana, sans-serif; font-size: 24px; color: #014172; /* #040288 #666699; */ display:inline; padding-left: 20px; position:absolute; top:24px}
18#welcome h3 { color: #014172;}
19
20.note { font-size: 0.9em; color: #9999aa; }
21.data {display: none; }
22.hilight { font-size: 1.1em; font-weight: bold}
23.error { font-color: red}
24/* this is temporary for MdREcordView-Titlebar; -> move to ui-box-header */ 
25/* obsolete .box_heading { background-color: #014172;  color: #FAFAFF; font-weight: bold; padding: 2px; }
26h3 { font-weight: bold; font-size:1.2em; margin:4px; padding: 4px;} */
27
28/* ************* */
29/* html-elements */
30
31a, .ui-widget-content a { text-decoration: none; color:#AC3333; }
32a.external {border-bottom: 1px solid #A6C9E2; }   
33
34label, .label, .cmds-elem-prop .label { font-size: 0.9em; color: #014172; font-style: italic; }
35ul { padding-left: 4px; list-style-type: none; margin: 0;}
36li { background: url('imgs/icon-dot-4.png') no-repeat; background-position: 0px 7px; padding-left: 8px;  } 
37a img { border:0;       }
38tr.detailselection {background-color: #E6E9F0;}
39
40.treeview,
41.treeview ul {
42        list-style-image:none;
43        list-style-position:outside;
44        list-style-type:none;
45        margin:0;
46        padding:0;
47        background-color: inherit;
48}
49
50table.show { border: 1px solid #A6C9E2; }
51table.show, table.show table, table.show td {   border: 1px solid #A6C9E2;      border-collapse: collapse; vertical-align: top; }
52table.show th { font-style: italic; font-weight: normal; font-size: 0.9em; padding: 0px; }
53/* terms-tree table */
54.terms-tree .treecol {padding-left: 1.5em;}
55
56        /* .terms-tree .number { text-align: right; }
57                .terms-tree td { border-bottom: 1px solid #9999aa; padding: 1px 4px;}           
58                table.terms-tree  thead {background: #ccccff; font-size:0.9em; }
59                table.terms-tree  thead tr th { border:1px solid #9999aa; font-weight:normal; text-align:left; padding: 1px 4px;}
60*/
61
62
63/* jquery-ui overlay */
64
65.ui-accordion .ui-accordion-header {    padding-left: 12px; }
66.ui-accordion .ui-accordion-header .ui-icon {   left: -0.2em; }
67
68.ui-accordion .ui-accordion-content {   padding: 4px 8px; }
69
70.ui-widget-header { padding-left: 6px; }
71.ui-widget-content { padding: 6px;      }
72.ui-dialog {padding: 0px;}
73.ui-dialog .ui-dialog-titlebar { padding: 0 0 0 6px; }
74.cmds-ui-block { margin: 2px; text-align: left; overflow: auto;}
75
76.cmds-elem-plus .detail,
77.ui-context-dialog { display:none; overflow: auto; position:absolute;  border 1px solid #A6C9E2; background-color: #fafaff;}/* z-index:1; }*/
78/* .cmds-elem-plus .detail { display: none; border: 1px solid #A6C9E2;} */
79
80.cmds-elem-prop {}
81
82.cmds-elem-prop .label { }
83.cmds-elem-prop .value { }
84
85
86.value-text { }
87.value-unspecified {}
88.value-empty {}
89.number { text-align: right;}
90
91.cmds-xmlelem {padding:2px; border-top: 1px dashed #A6C9E2; }
92.cmds-xmlelem.has-children { border: 1px solid #A6C9E2; margin: 2px;}
93.value-text .value { margin-left: 20%; display:block; }
94.value-text .label { float:left; }
95.cmds-xmlelem .attributes .label {}
96.cmds-xmlelem .attributes .value {}
97
98
99
100input, h.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget area, .ui-widget button
101        { border: 1px solid #A6C9E2; margin: 1px; } 
102
103/*********************************** */
104/* input ui-elements - positioning */
105
106.cmds-ui-elem-stretch {width: 100%;}
107
108
109/* form#searchretrieve { margin-top: 12px;}  */
110/* hack for IE */
111.wwFormTable {width: 100%; }
112#input-simplequery { width: 85%; margin: 12px 0px 6px 0px; font-size: 1.2em;}
113#submit-query { font-size: 1.2em; font-weight: bold;}
114#searchclauselist {margin: 0px;}
115.searchclause {  }
116.and_level {border-top: 1px solid #9999cc; margin: 2px 0px;}
117.or_level {border: none ; }
118
119.sc-wrapper { margin: 1px 0px; }
120.index-input { width:38%;  }
121.rel_input { width:8%;  }
122.value_input { width:30%; }
123.sc_cmds { }
124.sc_id {display:none;}
125
126.result-header { float: right; }
127.cmds-navi-header { float:right;}
128/* hack, for weird behaviour, the (appearingly) same rules for result-header.paging-input and cmds-navi-header.paging-input
129different render (cmds-navi-header.paging-input too small) */
130.cmds-navi-header .paging-input { height: 1.2em;}
131
132.paging-input { width: 3em; text-align: right; height: 1em;}
133
134.query {margin-right: 4px;}
135 
136 .sc-wrapper .index-context { display: none; border: 1px solid #A6C9E2;}
137
138.columns-wrapper { right:0px;}
139.columns-selected { }
140
141/* documentation */
142.title, h1, h2, h3 { color: #014172;}
143h1 {font-size: 1.6em; margin: 30px 0 10px 30px;}
144h2 {font-size: 1.4em; margin: 1em 0 0.4em 0;}
145h3 {font-size: 1.2em; margin: 0.8em 0 0.4em 0;} 
146.title {font-size: 1.2 em; font-weight: bold; margin: 0.4em 0 0 0.2em;}
147dt { padding: 1em 0 0.2em 1.5em; font-weight: bold;}
148dd { padding-left: 2.5em; display:block; -moz-margin-start: 0px;}
149.info {max-width: 600px; margin:30px;}
150.info p { margin: 0.4em 0; }
151.info div { padding: 0.4em 0;}
152.info li { padding: 0.2em 0 0.2em 8px;} 
153
154.info div.example {border: 1px dashed #014172; background-color: #fafaff; font-family: "Courier New", monospaced; margin: 0.8em 0; padding: 4px; line-height: 1.2em}
155
156/* ************* */
157/* tooltip */
158#tt {
159 position:absolute;
160 display:block;
161 /*padding:2px 12px 3px 7px;*/
162 margin-left:5px;
163 background:#A6C9E2;
164 color:#000;
165}
166
167/* command icons */
168
169.cmd {
170        display: inline-block;
171        width: 12px;
172        height: 12px;   
173        background: no-repeat center center;
174        margin: 0px 1px;
175        position: relative;
176        top: 2px;
177        border: 1px solid #fafaff;
178}
179
180a.cmd { width: auto; height:auto; top: 0px; }
181
182.cmd:hover { border: 1px solid #A6C9E2; }
183
184#submit-query { background: url("imgs/cdb-icon-load.png") no-repeat 2px center #D0E5F5; padding-left: 14px; color:#014172; }
185
186.cmd_add { background-image: url("imgs/cdb-icon-add.png");}
187.cmd_add_and { background-image: url("imgs/icon_add_and.png");}
188.cmd_add_or { background-image: url("imgs/icon_add_or.png");}
189.cmd_close { background-image: url("imgs/cdb-icon-del.png");}
190.cmd_columns { background-image: url("imgs/cdb-icon-columns.png");}
191.cmd_del {      background-image: url("imgs/cdb-icon-del.png");}
192.cmd_detail { background-image: url("imgs/cdb-icon-detail.png");}
193.cmd_down {     background-image: url("imgs/cdb-icon-down.png"); }
194.cmd_filter { background-image: url("imgs/cdb-icon-filter.png"); }
195.cmd_get { background-image: url("imgs/icon_get.gif");}
196.cmd_info { background-image: url("imgs/cdb-icon-info.png");}
197.cmd_query {    background-image: url("imgs/cdb-icon-load.png");}
198.cmd_load {     background-image: url("imgs/cdb-icon-load.png");}
199.cmd_publish { background-image: url("imgs/cdb-icon-publish.png");}
200.cmd_reload {   background-image: url("imgs/cdb-icon-load.png");}
201.cmd_resubmit { background-image: url("imgs/cdb-icon-.png");}
202.cmd_save { background-image: url("imgs/cdb-icon-save.png");}
203.cmd_savenew { background-image: url("imgs/cdb-icon-savenew.png");}
204.cmd_sc_delete { background-image: url("imgs/cdb-icon-del.png");}
205.cmd_up { background-image: url("imgs/cdb-icon-up.png");}
206.cmd_prev { background-image: url("imgs/cdb-icon-prev.png");}
207.cmd_next { background-image: url("imgs/cdb-icon-next.png");}
208
209
210@media print {
211        ul { list-style-type: disc;     } 
212}
213
214/* ui layout */
215
216        .base-west ,
217        .base-east ,
218        .base-center ,
219        .base_center_p-north ,
220        .base_center_p-center  {
221                /*background-color: #EEE;*/
222                border:                 0; /* cosmetic */
223                padding:                0; 
224                /*overflow:             hidden;*/
225        }
226       
227       
228 
229        /*
230         
231        customize borders on panes/resizers to make pretty
232         */
233        .ui-layout-pane-west            { border-right:         0; } 
234        .ui-layout-resizer-west         { border-left:          1px solid #BBB; }
235        .ui-layout-pane-east            { border-left:          0; } 
236        .ui-layout-resizer-east         { border-right:         1px solid #BBB; }
237        .ui-layout-pane-north           { border-bottom:        0; }
238        .ui-layout-resizer-north        { border-top:           1px solid #BBB; }
239        .ui-layout-pane-south           { border-top:           0; }
240        .ui-layout-resizer-south        { border-bottom:        1px solid #BBB; }
241        /*
242         
243        add borders to resizers when pane is 'closed'
244         
245 
246         
247.ui-layout-resizer-closed       { border:                       1px solid #BBB; }
248         */
249        /*
250         
251        show both borders when the resizer is 'dragging'
252         */
253        .ui-layout-resizer-west-dragging ,
254        .ui-layout-resizer-east-dragging {
255                border-left:            1px solid #BBB;
256                border-right:           1px solid #BBB;
257        }
258        .ui-layout-resizer-north-dragging ,
259        .ui-layout-resizer-south-dragging {
260                border-top:             1px solid #BBB;
261                border-bottom:  1px solid #BBB;
262        }
263 
264
265
266
Note: See TracBrowser for help on using the repository browser.