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

Last change on this file since 6834 was 6834, checked in by matej.durco@oeaw.ac.at, 9 years ago

clean up of files and code

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