Blame view

web/static/css/main.css 6.11 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 ***************************************************************/

f6ed8d85   Goutte   Rework layout as ...
27
header .mdl-layout-title {
d8bb09a2   Goutte   Add CSS foundation.
28
    font-family: 'Baumans', cursive;
d8bb09a2   Goutte   Add CSS foundation.
29
30
31
}

/** LAYOUT *******************************************************************/
55168c8d   Goutte   Add the static fi...
32
33

body {
d8bb09a2   Goutte   Add CSS foundation.
34
    /*background: url('../img/body_background.png') repeat;*/
55168c8d   Goutte   Add the static fi...
35
36
37
38
39
40
41
42
43
}

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

6b1f54ee   Goutte   Fix footer.
44
45
46
47
48
49
50
51
52
53
#page-container {
    display: flex;
    min-height: 100vh;
    flex-direction: column;
}

#content {
    flex: 1;
}

b7fe650c   Goutte   Misc bundle of ol...
54
55
56
57
#plots_wrapper {
    min-height: 1050px;
}

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

8fa9e8e8   Goutte   Hide a CDPP logo ...
60
61
62
63
64
65
66
67
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...
68
69
70
}

#version-number {
55168c8d   Goutte   Add the static fi...
71
    line-height: 112px;
55168c8d   Goutte   Add the static fi...
72
    font-style: italic;
55168c8d   Goutte   Add the static fi...
73
74
}

05e269d1   Goutte   Show an error mes...
75
/** MENU NAVIGATION **********************************************************/
55168c8d   Goutte   Add the static fi...
76
77
78
79
80
81
82
83
84
85
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

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...
124
/** STYLE ********************************************************************/
55168c8d   Goutte   Add the static fi...
125
126

a {
d8bb09a2   Goutte   Add CSS foundation.
127
    /*color: #003965;*/
55168c8d   Goutte   Add the static fi...
128
129
130
131
132
133
134
135
136
137
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

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

d8bb09a2   Goutte   Add CSS foundation.
138
139
140
141
142
143
144
145
/*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...
146
147
148
149
150
151
152
153
154
155
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

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.
186
187
188
189
/*p {*/
    /*line-height: 1.3em;*/
    /*padding: 10px 0;*/
/*}*/
55168c8d   Goutte   Add the static fi...
190

05e269d1   Goutte   Show an error mes...
191
/** LOADER *******************************************************************/
6b1f54ee   Goutte   Fix footer.
192

05e269d1   Goutte   Show an error mes...
193
194
195
196
197
/*.loader {*/
  /*transform: translate(50vw, 50vh);*/
  /*height: 200px;*/
  /*width: 200px;*/
/*}*/
6b1f54ee   Goutte   Fix footer.
198

05e269d1   Goutte   Show an error mes...
199
200
201
202
203
204
205
206
207
/*.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.
208

05e269d1   Goutte   Show an error mes...
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
/*@-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.
226

05e269d1   Goutte   Show an error mes...
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
/*@-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.
243

05e269d1   Goutte   Show an error mes...
244
245
246
247
248
249
250
/** NO JAVASCRIPT ************************************************************/

#nojs-alert {
    position: fixed;
    z-index: 2000;
    top:  0;
    left: 0;
93ee5563   Goutte   Add a loading ani...
251
}
05e269d1   Goutte   Show an error mes...
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268

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

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

    opacity: 0;
    animation: 1.618s fadeIn;
    animation-delay: 1.618s;
    animation-fill-mode: forwards;

    pointer-events: none;

    padding: 1em 0;
    width: 100%;
93ee5563   Goutte   Add a loading ani...
269
}
05e269d1   Goutte   Show an error mes...
270
271
272
273
274
275
276
277

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

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

80352490   Goutte   Multi model suppo...
282
283
284
285
286
287
288
289
290
291
292
/*@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...
293
294

@media all and (max-width: 515px) {
55168c8d   Goutte   Add the static fi...
295
296
297
298
299
300
    dt { width: 130px; }
    dd { margin-left: 140px; }
}

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