Blame view

web/static/css/main.css 6.25 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;
}

d8bb09a2   Goutte   Add CSS foundation.
41
/** LAYOUT *******************************************************************/
55168c8d   Goutte   Add the static fi...
42
43

body {
d8bb09a2   Goutte   Add CSS foundation.
44
    /*background: url('../img/body_background.png') repeat;*/
55168c8d   Goutte   Add the static fi...
45
46
47
48
49
50
51
52
53
}

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

6b1f54ee   Goutte   Fix footer.
54
55
56
57
58
59
60
61
62
63
#page-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#content {
    flex: 1;
}

b7fe650c   Goutte   Misc bundle of ol...
64
65
66
67
#plots_wrapper {
    min-height: 1050px;
}

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

8fa9e8e8   Goutte   Hide a CDPP logo ...
70
71
72
73
74
75
76
77
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...
78
79
80
}

#version-number {
55168c8d   Goutte   Add the static fi...
81
    line-height: 112px;
55168c8d   Goutte   Add the static fi...
82
    font-style: italic;
55168c8d   Goutte   Add the static fi...
83
84
}

05e269d1   Goutte   Show an error mes...
85
/** MENU NAVIGATION **********************************************************/
55168c8d   Goutte   Add the static fi...
86
87
88
89
90
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

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...
134
/** STYLE ********************************************************************/
55168c8d   Goutte   Add the static fi...
135
136

a {
d8bb09a2   Goutte   Add CSS foundation.
137
    /*color: #003965;*/
55168c8d   Goutte   Add the static fi...
138
139
140
141
142
143
144
145
146
147
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

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

d8bb09a2   Goutte   Add CSS foundation.
148
149
150
151
152
153
154
155
/*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...
156
157
158
159
160
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

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.
196
197
198
199
/*p {*/
    /*line-height: 1.3em;*/
    /*padding: 10px 0;*/
/*}*/
55168c8d   Goutte   Add the static fi...
200

05e269d1   Goutte   Show an error mes...
201
/** LOADER *******************************************************************/
6b1f54ee   Goutte   Fix footer.
202

05e269d1   Goutte   Show an error mes...
203
204
205
206
207
/*.loader {*/
  /*transform: translate(50vw, 50vh);*/
  /*height: 200px;*/
  /*width: 200px;*/
/*}*/
6b1f54ee   Goutte   Fix footer.
208

05e269d1   Goutte   Show an error mes...
209
210
211
212
213
214
215
216
217
/*.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.
218

05e269d1   Goutte   Show an error mes...
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
/*@-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.
236

05e269d1   Goutte   Show an error mes...
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
/*@-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.
253

05e269d1   Goutte   Show an error mes...
254
255
256
257
258
259
260
/** NO JAVASCRIPT ************************************************************/

#nojs-alert {
    position: fixed;
    z-index: 2000;
    top:  0;
    left: 0;
93ee5563   Goutte   Add a loading ani...
261
}
05e269d1   Goutte   Show an error mes...
262
263
264
265
266
267
268
269
270
271

.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...
272
    animation-delay: 4s;
05e269d1   Goutte   Show an error mes...
273
274
275
276
277
278
    animation-fill-mode: forwards;

    pointer-events: none;

    padding: 1em 0;
    width: 100%;
93ee5563   Goutte   Add a loading ani...
279
}
05e269d1   Goutte   Show an error mes...
280
281
282
283
284
285
286
287

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

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

80352490   Goutte   Multi model suppo...
292
293
294
295
296
297
298
299
300
301
302
/*@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...
303
304

@media all and (max-width: 515px) {
55168c8d   Goutte   Add the static fi...
305
306
307
308
309
310
    dt { width: 130px; }
    dd { margin-left: 140px; }
}

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