Blame view

web/static/css/main.css 6.32 KB
d8bb09a2   Goutte   Add CSS foundation.
1
/** MIXINS *******************************************************************/
55168c8d   Goutte   Add the static fi...
2

84cb553d   Goutte   Move to material ...
3
4
5
6
.clear {
    clear: both;
}

55168c8d   Goutte   Add the static fi...
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.hidden {
    display: none;
}

.justified {
    text-align: justify;
}

.centered {
    text-align: center;
}

.centered-block {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

d8bb09a2   Goutte   Add CSS foundation.
25
26
/** TYPOGRAPHY ***************************************************************/

604616e4   Goutte   Misc changes from...
27
28
29
30
31
header *::-moz-selection {
    background: #0049fc;
    text-shadow: none;
}

f6ed8d85   Goutte   Rework layout as ...
32
header .mdl-layout-title {
d8bb09a2   Goutte   Add CSS foundation.
33
    font-family: 'Baumans', cursive;
d8bb09a2   Goutte   Add CSS foundation.
34
35
}

604616e4   Goutte   Misc changes from...
36
37
38
39
40
#header-description {
    font-style: italic;
    color: #e1e1e1;
}

034132c6   Goutte   More changes from...
41
42
43
44
45
footer p.disclaimer {
    font-size: 0.9em;
    padding-top: 2.77em;
}

d8bb09a2   Goutte   Add CSS foundation.
46
/** LAYOUT *******************************************************************/
55168c8d   Goutte   Add the static fi...
47
48

body {
d8bb09a2   Goutte   Add CSS foundation.
49
    /*background: url('../img/body_background.png') repeat;*/
55168c8d   Goutte   Add the static fi...
50
51
52
53
54
55
56
57
58
}

footer {
    padding-top: 20px;
    font-size: 0.8em;
    font-style: italic;
    text-align: center;
}

6b1f54ee   Goutte   Fix footer.
59
60
61
62
63
64
65
66
67
68
#page-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#content {
    flex: 1;
}

b7fe650c   Goutte   Misc bundle of ol...
69
70
71
72
#plots_wrapper {
    min-height: 1050px;
}

05e269d1   Goutte   Show an error mes...
73
/** HEADER *******************************************************************/
55168c8d   Goutte   Add the static fi...
74

8fa9e8e8   Goutte   Hide a CDPP logo ...
75
76
77
78
79
80
81
82
header.header {
    background-image: url("../img/header_logo.png");
    background-repeat: no-repeat;
    background-position: 15px center;
}

.mdl-layout__header-row {
    padding-left: 100px;
55168c8d   Goutte   Add the static fi...
83
84
85
}

#version-number {
55168c8d   Goutte   Add the static fi...
86
    line-height: 112px;
55168c8d   Goutte   Add the static fi...
87
    font-style: italic;
55168c8d   Goutte   Add the static fi...
88
89
}

05e269d1   Goutte   Show an error mes...
90
/** MENU NAVIGATION **********************************************************/
55168c8d   Goutte   Add the static fi...
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138

nav#menu {
    background-color: #004F8D;
    clear: both;
    overflow: hidden;
}
nav#menu ul {
    margin-left: 0;
    list-style: none;
}
nav#menu ul li {
    float: left;
    border-right: 1px solid #fff;

    -webkit-transition: background-color 0.3s ease-out;
    -moz-transition: background-color 0.3s ease-out;
    -ms-transition: background-color 0.3s ease-out;
    -o-transition: background-color 0.3s ease-out;
    transition: background-color 0.3s ease-out;
}
nav#menu ul li.active {
    background-color: #AAC7D6;
}
nav#menu ul li.active:hover {
    background-color: #AAC7D6;
}
nav#menu ul li:hover {
    background-color: #78A0BE;
}
nav#menu ul li.home {
    background-image: url('../img/home_icon.png');
    background-position: center center;
    background-repeat: no-repeat;;
}
nav#menu ul li.home a {
    padding: 10px 20px;
}
nav#menu ul li a {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 1px 1px #000000;
    text-decoration: none;

    line-height: 36px;
    padding: 10px 15px;
}

05e269d1   Goutte   Show an error mes...
139
/** STYLE ********************************************************************/
55168c8d   Goutte   Add the static fi...
140
141

a {
d8bb09a2   Goutte   Add CSS foundation.
142
    /*color: #003965;*/
55168c8d   Goutte   Add the static fi...
143
144
145
146
147
148
149
150
151
152
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

abbr[title] {
    border-bottom: 1px dotted #a8caea;
}

d8bb09a2   Goutte   Add CSS foundation.
153
154
155
156
157
158
159
160
/*h2 {*/
    /*font-size: 1.6em;*/
    /*font-weight: normal;*/
    /*text-transform: uppercase;*/
    /*border-bottom: 4px solid #004F8D;*/
    /*padding-bottom: 5px;*/
    /*margin: 15px 0;*/
/*}*/
55168c8d   Goutte   Add the static fi...
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200

code {
    font-family: "courier new", monospace;
    font-size: 0.90em;
    white-space: pre;
}
code.block {
    width: 100%;
    overflow-x: auto;
    display: inline-block;
}

dl {
    border: 3px double #ccc;
    padding: 0.5em;
    margin-top: 15px;
}
dt {
    float: left;
    clear: left;
    width: 210px;
    text-align: right;
    font-weight: bold;
    color: #004F8D;
}
dt:after {
    content: ":";
}
dd {
    margin: 0 0 0 220px;
    padding: 0 0 0.5em 0;
}

ul {
    margin-left: 2.5em;
}
ul li {
    line-height: 1.5em;
}

d8bb09a2   Goutte   Add CSS foundation.
201
202
203
204
/*p {*/
    /*line-height: 1.3em;*/
    /*padding: 10px 0;*/
/*}*/
55168c8d   Goutte   Add the static fi...
205

05e269d1   Goutte   Show an error mes...
206
/** LOADER *******************************************************************/
6b1f54ee   Goutte   Fix footer.
207

05e269d1   Goutte   Show an error mes...
208
209
210
211
212
/*.loader {*/
  /*transform: translate(50vw, 50vh);*/
  /*height: 200px;*/
  /*width: 200px;*/
/*}*/
6b1f54ee   Goutte   Fix footer.
213

05e269d1   Goutte   Show an error mes...
214
215
216
217
218
219
220
221
222
/*.loader .hole {*/
  /*margin: -50%;*/
  /*height: 100%;*/
  /*width: 100%;*/
  /*border-radius: 50%;*/
  /*box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, -20px -10px 100px #000000 inset;*/
  /*background: #f08301;*/
  /*-webkit-animation: shadowmove 8s infinite linear;*/
/*}*/
6b1f54ee   Goutte   Fix footer.
223

05e269d1   Goutte   Show an error mes...
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
/*@-webkit-keyframes shadowmove {*/
  /*0% {*/
    /*box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, -20px -10px 100px #000000 inset;*/
  /*}*/
  /*50% {*/
    /*box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, -220px -110px 100px #000000 inset;*/
  /*}*/
  /*50.01% {*/
    /*box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, 220px 110px 100px #000000 inset;*/
  /*}*/
  /*75% {*/
    /*box-shadow: 0px 0px 30px #111111, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, 220px 110px 100px #000000 inset;*/
  /*}*/
  /*90% {*/
    /*box-shadow: 0px 0px 30px #88ffff, 0px 0px 100px #000000 inset, 0px 0px 50px #55ffff inset, 10px 20px 100px #000000 inset;*/
  /*}*/
/*}*/
6b1f54ee   Goutte   Fix footer.
241

05e269d1   Goutte   Show an error mes...
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
/*@-ms-keyframes spin {*/
    /*from { -ms-transform: rotate(0deg); }*/
    /*to { -ms-transform: rotate(360deg); }*/
/*}*/
/*@-moz-keyframes spin {*/
    /*from { -moz-transform: rotate(0deg); }*/
    /*to { -moz-transform: rotate(360deg); }*/
/*}*/
/*@-webkit-keyframes spin {*/
    /*from { -webkit-transform: rotate(0deg); }*/
    /*to { -webkit-transform: rotate(360deg); }*/
/*}*/
/*@keyframes spin {*/
    /*from { transform:rotate(0deg); }*/
    /*to { transform:rotate(360deg); }*/
/*}*/
6b1f54ee   Goutte   Fix footer.
258

05e269d1   Goutte   Show an error mes...
259
260
261
262
263
264
265
/** NO JAVASCRIPT ************************************************************/

#nojs-alert {
    position: fixed;
    z-index: 2000;
    top:  0;
    left: 0;
93ee5563   Goutte   Add a loading ani...
266
}
05e269d1   Goutte   Show an error mes...
267
268
269
270
271
272
273
274
275
276

.nojs {
    background: #c5423c;
    color: #eeeeee;

    text-align: center;
    font-family: "DejaVu Sans Mono", monospace;

    opacity: 0;
    animation: 1.618s fadeIn;
181a3131   Goutte   Delay the no-java...
277
    animation-delay: 4s;
05e269d1   Goutte   Show an error mes...
278
279
280
281
282
283
    animation-fill-mode: forwards;

    pointer-events: none;

    padding: 1em 0;
    width: 100%;
93ee5563   Goutte   Add a loading ani...
284
}
05e269d1   Goutte   Show an error mes...
285
286
287
288
289
290
291
292

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
93ee5563   Goutte   Add a loading ani...
293
294
}

05e269d1   Goutte   Show an error mes...
295
/** MEDIA QUERIES ************************************************************/
55168c8d   Goutte   Add the static fi...
296

80352490   Goutte   Multi model suppo...
297
298
299
300
301
302
303
304
305
306
307
/*@media all and (max-width: 980px) {*/
    /*#page-container{*/
        /*width: 100%;*/
    /*}*/
/*}*/

/*@media all and (max-width: 1024px) {*/
    /*.mdl-layout__drawer {*/
        /*transform: translateX(0px);*/
    /*}*/
/*}*/
55168c8d   Goutte   Add the static fi...
308
309

@media all and (max-width: 515px) {
55168c8d   Goutte   Add the static fi...
310
311
312
313
314
315
    dt { width: 130px; }
    dd { margin-left: 140px; }
}

@media all and (max-width: 330px) {
    #version-number { display: none; }
d8bb09a2   Goutte   Add CSS foundation.
316
}