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
RevLine 
[734]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: .. */}
[1179]8#query-input { padding: 6px;  /* max-width: 600px; */ }
[1226]9#repositories {margin: 6px 0px; }
[734]10#notify {max-width: 400px; position: relative; overflow: auto; height: 40px;}
11#user {text-align: right;}
[799]12#welcome {max-width: 600px; padding: 10px;}
[734]13
14/* ******************** */
15/* look and feel, fonts */
[1071]16body, table { font-size: 12px; font-family: Helvetica,Tahoma,Arial,Verdana,sans-serif;}
[766]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}
[799]18#welcome h3 { color: #014172;}
[734]19
20.note { font-size: 0.9em; color: #9999aa; }
[739]21.data {display: none; }
[766]22.hilight { font-size: 1.1em; font-weight: bold}
[1423]23.error { font-color: red}
[766]24/* this is temporary for MdREcordView-Titlebar; -> move to ui-box-header */ 
[1220]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;} */
[734]27
28/* ************* */
29/* html-elements */
30
[893]31a, .ui-widget-content a { text-decoration: none; color:#AC3333; }
32a.external {border-bottom: 1px solid #A6C9E2; }   
[734]33
[766]34label, .label, .cmds-elem-prop .label { font-size: 0.9em; color: #014172; font-style: italic; }
[742]35ul { padding-left: 4px; list-style-type: none; margin: 0;}
[1085]36li { background: url('imgs/icon-dot-4.png') no-repeat; background-position: 0px 7px; padding-left: 8px;  } 
[734]37a img { border:0;       }
[1223]38tr.detailselection {background-color: #E6E9F0;}
[734]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; }
[799]51table.show, table.show table, table.show td {   border: 1px solid #A6C9E2;      border-collapse: collapse; vertical-align: top; }
[1071]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;}
[734]55
[1071]56        /* .terms-tree .number { text-align: right; }
57                .terms-tree td { border-bottom: 1px solid #9999aa; padding: 1px 4px;}           
[1064]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;}
[1071]60*/
[734]61
[1064]62
[734]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; }
[1220]71.ui-widget-content { padding: 6px;      }
72.ui-dialog {padding: 0px;}
73.ui-dialog .ui-dialog-titlebar { padding: 0 0 0 6px; }
[1136]74.cmds-ui-block { margin: 2px; text-align: left; overflow: auto;}
[734]75
[1081]76.cmds-elem-plus .detail,
[1177]77.ui-context-dialog { display:none; overflow: auto; position:absolute;  border 1px solid #A6C9E2; background-color: #fafaff;}/* z-index:1; }*/
[1081]78/* .cmds-elem-plus .detail { display: none; border: 1px solid #A6C9E2;} */
[734]79
80.cmds-elem-prop {}
81
82.cmds-elem-prop .label { }
[1226]83.cmds-elem-prop .value { }
[734]84
[1226]85
86.value-text { }
[734]87.value-unspecified {}
88.value-empty {}
[890]89.number { text-align: right;}
[734]90
[1064]91.cmds-xmlelem {padding:2px; border-top: 1px dashed #A6C9E2; }
92.cmds-xmlelem.has-children { border: 1px solid #A6C9E2; margin: 2px;}
[1226]93.value-text .value { margin-left: 20%; display:block; }
94.value-text .label { float:left; }
[766]95.cmds-xmlelem .attributes .label {}
96.cmds-xmlelem .attributes .value {}
97
98
[1081]99
[1220]100input, h.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget area, .ui-widget button
[734]101        { border: 1px solid #A6C9E2; margin: 1px; } 
102
[736]103/*********************************** */
[734]104/* input ui-elements - positioning */
105
[739]106.cmds-ui-elem-stretch {width: 100%;}
107
108
109/* form#searchretrieve { margin-top: 12px;}  */
[742]110/* hack for IE */
111.wwFormTable {width: 100%; }
112#input-simplequery { width: 85%; margin: 12px 0px 6px 0px; font-size: 1.2em;}
[1226]113#submit-query { font-size: 1.2em; font-weight: bold;}
[1155]114#searchclauselist {margin: 0px;}
[734]115.searchclause {  }
116.and_level {border-top: 1px solid #9999cc; margin: 2px 0px;}
117.or_level {border: none ; }
118
[782]119.sc-wrapper { margin: 1px 0px; }
[1155]120.index-input { width:38%;  }
[734]121.rel_input { width:8%;  }
[1155]122.value_input { width:30%; }
[734]123.sc_cmds { }
[1155]124.sc_id {display:none;}
[1081]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
[799]132.paging-input { width: 3em; text-align: right; height: 1em;}
133
[862]134.query {margin-right: 4px;}
[734]135 
[782]136 .sc-wrapper .index-context { display: none; border: 1px solid #A6C9E2;}
[734]137
[1029]138.columns-wrapper { right:0px;}
[1071]139.columns-selected { }
[1029]140
[1076]141/* documentation */
142.title, h1, h2, h3 { color: #014172;}
[1085]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;} 
[1226]146.title {font-size: 1.2 em; font-weight: bold; margin: 0.4em 0 0 0.2em;}
[1076]147dt { padding: 1em 0 0.2em 1.5em; font-weight: bold;}
[1085]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;} 
[1076]153
[1085]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
[1051]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;
[1076]165}
[1051]166
[734]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;
[736]177        border: 1px solid #fafaff;
[734]178}
[1161]179
[862]180a.cmd { width: auto; height:auto; top: 0px; }
[734]181
[736]182.cmd:hover { border: 1px solid #A6C9E2; }
[734]183
[739]184#submit-query { background: url("imgs/cdb-icon-load.png") no-repeat 2px center #D0E5F5; padding-left: 14px; color:#014172; }
[734]185
[736]186.cmd_add { background-image: url("imgs/cdb-icon-add.png");}
[734]187.cmd_add_and { background-image: url("imgs/icon_add_and.png");}
188.cmd_add_or { background-image: url("imgs/icon_add_or.png");}
[1071]189.cmd_close { background-image: url("imgs/cdb-icon-del.png");}
[799]190.cmd_columns { background-image: url("imgs/cdb-icon-columns.png");}
[737]191.cmd_del {      background-image: url("imgs/cdb-icon-del.png");}
[799]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"); }
[734]195.cmd_get { background-image: url("imgs/icon_get.gif");}
[1054]196.cmd_info { background-image: url("imgs/cdb-icon-info.png");}
[1227]197.cmd_query {    background-image: url("imgs/cdb-icon-load.png");}
[736]198.cmd_load {     background-image: url("imgs/cdb-icon-load.png");}
[1405]199.cmd_publish { background-image: url("imgs/cdb-icon-publish.png");}
[799]200.cmd_reload {   background-image: url("imgs/cdb-icon-load.png");}
[736]201.cmd_resubmit { background-image: url("imgs/cdb-icon-.png");}
[799]202.cmd_save { background-image: url("imgs/cdb-icon-save.png");}
[1405]203.cmd_savenew { background-image: url("imgs/cdb-icon-savenew.png");}
[799]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");}
[1085]208
209
210@media print {
211        ul { list-style-type: disc;     } 
[1125]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; 
[1136]224                /*overflow:             hidden;*/
[1125]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.