source: SMC/trunk/SMC/src/web/scripts/style/cmds-ui.css @ 3430

Last change on this file since 3430 was 3430, checked in by vronk, 11 years ago

minor css changes (collection nodes, node detail)

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