source: SRUAggregator/trunk/src/main/resources/assets/base.css @ 6092

Last change on this file since 6092 was 6092, checked in by emanuel.dima@uni-tuebingen.de, 9 years ago
  1. beta-27: more results, bug fixes
File size: 8.4 KB
Line 
1/* clarin blue: rgb(0,64,111) #00406F; */
2/* clarin gold: rgb(128,107,82) #806A52; */
3
4.aligncenter {
5        text-align: center;
6}
7
8
9.muted {
10        font-weight:300;
11        color: #888;
12}
13
14.unselectable {
15        -ms-touch-action: manipulation;
16        touch-action: manipulation;
17        cursor: pointer;
18        -webkit-user-select: none;
19        -moz-user-select: none;
20        -ms-user-select: none;
21        user-select: none;
22        -webkit-touch-callout: none;
23        -khtml-user-select: none;
24}
25
26.top-gap {
27        margin-top: 64px;
28}
29
30.inline {
31        display:inline-block;
32}
33
34.link {
35        cursor: pointer;
36}
37
38.vcenter {
39    display: inline-block;
40    vertical-align: middle;
41    float: none;
42}
43
44.float-right {
45    float: right;
46}
47
48.float-left {
49    float: left;
50}
51
52.btn-flat {
53  color: #333;
54  margin: 2px;
55  background-color: #fff;
56  border-color: transparent;
57}
58.btn-flat:hover {
59  color: #333;
60  margin: 2px;
61  background-color: #e6e6e6;
62  border-color: #adadad;
63}
64
65/*** error ***/
66
67.errorDiv {
68        position: relative;
69        height: 10px;
70        text-align: center;
71}
72
73.errorRow { 
74        position: absolute;
75        width: 100%;
76        text-align: center;
77        font-weight: bold;
78        text-align: center;
79}
80
81.errorRow div * {
82        color: #fff;
83        border-radius: 4px;
84        background-color: #a20; 
85        text-align: center;
86        margin: 0 auto;
87}
88
89.errorRow .errorMessage {
90        margin: 2px 0;
91}
92
93/*** SEARCH ***/
94
95.biglabel {
96        font-size: 16px;
97}
98
99button.search {
100         /*width: 64px;*/
101         /*min-width:64px;*/
102}
103
104input[type="text"].search {
105         /*width: 64px;*/
106}
107
108.search::-webkit-input-placeholder { /* WebKit browsers */
109    color:    #aaa;
110}
111.search:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
112   color:    #aaa;
113   opacity:  1;
114}
115.search::-moz-placeholder { /* Mozilla Firefox 19+ */
116   color:    #aaa;
117   opacity:  1;
118}
119.search:-ms-input-placeholder { /* Internet Explorer 10+ */
120   color:    #aaa;
121}
122
123
124/*** input ***/
125
126.nobkg {
127        background-color: transparent;
128        border: none;
129}
130
131/* large spinner */
132input[type=number]::-webkit-inner-spin-button, 
133input[type=number]::-webkit-outer-spin-button { 
134        margin-left: 2px; 
135        font-size:24px;
136}
137
138
139input, select, textarea {
140        -webkit-transition: all 0.30s ease-in-out;
141        -moz-transition: all 0.30s ease-in-out;
142        -ms-transition: all 0.30s ease-in-out;
143        -o-transition: all 0.30s ease-in-out;
144        outline: none;
145        border: 1px solid #ccc;
146}
147input:focus, select:focus, textarea:focus, button:focus, a:focus {
148  /*box-shadow: 0 0 5px #00406F !important;*/
149  /*border: 1px solid #00406F !important;*/
150  box-shadow: 0 0 10px rgb(179,216,253) !important;
151  /*border: 1px solid rgb(179,216,253) !important;*/
152  outline: none !important;
153}
154
155input.input {
156        background-color: #fff;
157
158        display: inline-block;
159        padding: 6px 6px;
160        margin-bottom: 0;
161        font-size: 14px;
162        font-weight: 400;
163        line-height: 1.42857143;
164        text-align: right;
165        white-space: nowrap;
166        vertical-align: middle;
167        cursor: pointer;
168        -webkit-user-select: none;
169        -moz-user-select: none;
170        -ms-user-select: none;
171        user-select: none;
172        background-image: none;
173        border: 1px solid #ccc;
174        border-radius: 4px;
175        display: inline-block;
176}
177
178p.input {
179        background-color: #fff;
180
181        display: inline-block;
182        padding: 6px 6px;
183        margin-bottom: 0;
184        font-size: 14px;
185        font-weight: 400;
186        line-height: 1.42857143;
187        text-align: left;
188        white-space: nowrap;
189        vertical-align: middle;
190        cursor: default;
191        -webkit-user-select: none;
192        -moz-user-select: none;
193        -ms-user-select: none;
194        user-select: none;
195        background-image: none;
196        border: 1px solid transparent;
197        border-radius: 4px;
198}
199
200/*** corpus selection panel ***/
201
202div.corpus-container {
203        margin: 5px 0;
204        border-bottom: 1px solid #eee;
205}
206div.corpus-container:hover {
207        box-shadow: 0 0 10px rgb(179,216,253) !important;
208}
209div.corpus-container.dimmed {
210        /*font-weight: 300;*/
211        /*opacity: 0.8;*/
212}
213
214div.modal-dialog input {
215        border-radius:6px;
216}
217
218div.corpus h3 {
219        margin: 0px 0 5px 0;
220        font-size: 18px;
221}
222
223div.corpus p {
224        margin: 0;
225}
226
227div.corpus button {
228        /*border: none;*/
229}
230
231div.corpus .glyphicon {
232        font-size: 12px;
233        color: rgb(128,107,82); /*gold*/
234
235        -ms-touch-action: manipulation;
236        touch-action: manipulation;
237        cursor: pointer;
238        -webkit-user-select: none;
239        -moz-user-select: none;
240        -ms-user-select: none;
241        user-select: none;
242}
243
244div.corpus button .glyphicon.glyphicon-check {
245        font-size: 20px;
246        color: rgb(128,107,82); /*gold*/
247}
248div.corpus button .glyphicon.glyphicon-unchecked {
249        font-size: 20px;
250        color: rgb(0,64,111); /*blue*/
251}
252
253div.corpus .fa.fa-institution {
254        font-size: 12px;
255}
256
257div.corpus p {
258        margin: 5px 0;
259}
260
261div.corpus div.expansion-handle {
262        margin: 0 0 5px 0;
263        cursor: pointer;
264}
265
266
267/*** search results panel ***/
268
269div.panel {
270        box-shadow: none !important;
271        margin-bottom: 0;
272}
273
274div.modal-dialog {
275        width:auto;
276        max-width: 1024px;
277}
278
279div.panel-heading {
280        /*border: 1px solid #eee;*/
281        /*border-radius: 4px;*/
282        cursor: pointer;
283}
284
285div.panel-title {
286        font-size:16px;
287}
288
289.zoomResultButton {
290        border: 1px solid transparent;
291}
292div.panel:hover .zoomResultButton {
293        color: white;
294        background-color: #00406F;
295        border: 1px solid black;
296}
297
298div.panel-title span.institutionName{
299        font-size: 12px;
300        font-weight:300;
301        color: #888;
302}
303
304.modal-title span.institutionName{
305        font-size: 14px;
306        font-weight:300;
307        color: #888;
308}
309
310.panel-body span {
311        color: #222;
312}
313 
314.panel-body span.keyword {
315        font-weight: bold;
316        font-size: 12px;
317        color: #000;
318        /*background-color: #00406F;*/ /*blue*/
319        /*background-color: rgb(223, 184, 155); /*gold*/
320        background-color: rgb(230, 242, 254); /*sky blue*/
321        /*color: #00406F;*/
322        /*color: rgb(215, 180, 105);*/
323        font-weight: bold;
324        padding: .15em .5em .25em;
325        border-radius: .2em;
326        /*display: inline;*/
327}
328 
329.panel-body td.keyword {
330        color: #00406F;
331        font-weight: bold;
332        font-weight: bold;
333}
334 
335.bs-callout {
336        padding: 0 20px;
337        margin: 0 0 20px 0;
338        border: 1px solid #ddd;
339        /*border-left: 5px solid #806a52; /*brown*/
340        /*border-left: 5px solid rgb(191, 133, 64); /*other gold*/
341        border-left: 5px solid #00406F; /*blue*/
342        border-radius: 4px;
343}
344.bs-callout .panel-heading {
345        margin-top: 0;
346        margin-bottom: 5px;
347        padding: 10px 15px 4px;
348}
349.bs-callout .panel-title {
350        color: #806a52;
351        /*color: #222;*/
352}
353.panel-body {
354        border-top: 1px solid #ddd;     
355}
356
357.collapse.in {
358        /*opacity: 0.1;*/
359        transition: all .5s ease-in;
360}
361
362
363table.table {
364        margin-bottom: 0;
365}
366
367td {
368        border: none !important;
369}
370
371.panel-body .table-hover > tbody > tr.hitrow:hover {
372    background-color: #F5F5F5;
373}
374
375.panel-body div > p.hitrow {
376        margin:0;
377        padding: 5px 0;
378}
379
380.panel-body div > p.hitrow:hover {
381    background-color: #F5F5F5;
382}
383
384div.popover {
385        max-width:552px;
386}
387
388/*** zoomed result ***/
389
390.modal-body .corpusDescription {
391        padding-left: 15px;
392}
393.modal-body .corpusDescription p {
394        margin: 4px 0;
395}
396
397.modal-body .corpusResults {
398        padding: 15px;
399        border: 1px solid #ddd;
400        border-left: 5px solid #00406F; /*blue*/
401        border-radius: 4px;
402}
403
404
405/*** transitions css ***/
406
407.fade-enter {
408  opacity: 0.01;
409  transition: all .2s ease-in;
410}
411.fade-enter.fade-enter-active {
412  opacity: 1;
413}
414.fade-leave {
415  opacity: 1;
416  transition: all .2s ease-in;
417}
418.fade-leave.fade-leave-active {
419  opacity: 0.01;
420}
421
422
423.error-enter {
424  opacity: 0.01;
425  transition: all .2s ease-in;
426}
427.error-enter.error-enter-active {
428  opacity: 1;
429}
430.error-leave {
431  opacity: 1;
432  transition: all .2s ease-in;
433}
434.error-leave.error-leave-active {
435  opacity: 0.01;
436}
437
438
439.display-enter {
440  opacity: 0.01;
441  transition: all 2s ease-in;
442}
443.display-enter.display-enter-active {
444  opacity: 1;
445}
446.display-leave {
447  opacity: 1;
448  transition: all 2s ease-in;
449}
450.display-leave.display-leave-active {
451  opacity: 0.01;
452}
453
454/*** BOTTOM  ***/
455
456div.progress {
457        margin-bottom: 0;
458        height: 6px;
459}
460
461/*** BETA ***/
462
463.beta-tag {
464        position:absolute; 
465        /*color:rgba(17, 65, 111, 0.1); */
466        color:rgba(128, 107, 82, 0.2);
467        margin: 64px 0 0 0; 
468        font-size:36px;
469        font-weight:bold;
470        -webkit-transform: rotate(-30deg);
471        -moz-transform: rotate(-30deg);
472        -ms-transform: rotate(-30deg);
473        -o-transform: rotate(-30deg);
474}
475
476/*** file uploads ***/
477
478.btn-file {
479    position: relative;
480    overflow: hidden;
481}
482.btn-file input[type=file] {
483    position: absolute;
484    top: 0;
485    right: 0;
486    min-width: 100%;
487    min-height: 100%;
488    font-size: 100px;
489    text-align: right;
490    filter: alpha(opacity=0);
491    opacity: 0;
492    outline: none;
493    background: white;
494    cursor: inherit;
495    display: block;
496}
497
498code {
499        background-color: #f8f8f8;
500        border: 1px solid #ddd;
501        border-radius: 3px;
502        font-family: "Bitstream Vera Sans Mono", Consolas, Courier, monospace;
503        font-size: 12px;
504        margin: 0 2px;
505        padding: 0px 5px;
506}
507
508
509/*** statistics ***/
510.statistics li, .statistics div
511{
512        font-family: Consolas,monaco,courier,monospace; 
513}
514
515.statistics .alert-warning.legacy {
516        color: #000000;
517        background-color: #FFFFFF;
518        border-color: #A00000;
519}
Note: See TracBrowser for help on using the repository browser.