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

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