Blame view

flaskr/static/css/common/main.css 3.36 KB
d5af76e8   Goutte   Bump the js and c...
1
2
/** LAYOUT *******************************************************************/

ec99020b   Goutte   Add the static fi...
3
4
.container {
    margin-top: 60px;
5ac6c39b   Goutte   Move fonts where ...
5
6
7
    margin-bottom: 2em;
}

d5af76e8   Goutte   Bump the js and c...
8
9
10

/** NAVBAR *******************************************************************/

5ac6c39b   Goutte   Move fonts where ...
11
.navbar-inverse {
79a92097   Antoine Goutenoir   Fix the colors wi...
12
    background-color: rgba(14, 97, 145, 0.87);
5ac6c39b   Goutte   Move fonts where ...
13
14
15
16
17
18
19
20
21
22
23
24
    border-color: #080808;
}

.navbar-inverse .navbar-nav > li > a {
    color: #d5d8d8;
    font-weight: bold;
}

.navbar-inverse .navbar-brand {
    color: #d5d8d8;
}

d5af76e8   Goutte   Bump the js and c...
25
.navbar-toggler-icon {
79a92097   Antoine Goutenoir   Fix the colors wi...
26
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
d5af76e8   Goutte   Bump the js and c...
27
28
29
30
31
}


/** HERO *********************************************************************/

5ac6c39b   Goutte   Move fonts where ...
32
div.jumbotron {
79a92097   Antoine Goutenoir   Fix the colors wi...
33
    background-color: rgba(238, 238, 238, 0.8);
5ac6c39b   Goutte   Move fonts where ...
34
35
36
37
38
39
40
}

#image-background {
    position: absolute;
    top: -2rem;
    z-index: -1;
    width: 100%;
d5af76e8   Goutte   Bump the js and c...
41
    height: 22.2rem;
1b635a08   Antoine Goutenoir   Cheat and move CS...
42
    background-image: url('../../public/img/plane-with-chemtrails.jpg');
5ac6c39b   Goutte   Move fonts where ...
43
44
45
46
    background-size: cover;
    background-repeat: no-repeat;
}

d5af76e8   Goutte   Bump the js and c...
47
48
49

/** FOOTER *******************************************************************/

5ac6c39b   Goutte   Move fonts where ...
50
51
52
53
footer.page-footer {
    padding: 4rem 5rem;
    color: #fff;
    background-color: #3980af;
97ec42e6   Antoine Goutenoir   Fix the footer's ...
54
    /*height: 13rem;*/
d5af76e8   Goutte   Bump the js and c...
55
56
57
58
59
60
61
62
63
}

footer.page-footer a {
    color: #fff;
}


/** FORM *********************************************************************/

3dde088c   Antoine Goutenoir   Style the 6th hea...
64
65
66
67
h6 {
    font-weight: 700;
}

d5af76e8   Goutte   Bump the js and c...
68
69
70
span.required-asterisk {
    color: #901524;
}
0ff25083   Antoine Goutenoir   Animate some pixe...
71
72


f3694728   Antoine Goutenoir   Display a summary.
73
74
75
/** LISTS *********************************************************************/

.numbered-list {
a1f12452   Antoine Goutenoir   Add the new conte...
76
    list-style: decimal-leading-zero;
f3694728   Antoine Goutenoir   Display a summary.
77
78
79
}


4c862b54   Antoine Goutenoir   Add a grouped bar...
80
/** PLOTS ********************************************************************/
a24ca744   Antoine Goutenoir   Add the scaling l...
81

b7411dd3   Antoine Goutenoir   Improve the plots...
82
83
84
.plot-container {
    /*background: #ff3399;*/
    border: 2px dotted #888;
561e9392   Antoine Goutenoir   chore: lint
85
    position: relative;
b7411dd3   Antoine Goutenoir   Improve the plots...
86
}
4c862b54   Antoine Goutenoir   Add a grouped bar...
87
88
89
90
91
92
93
94
95
96
97
.legend-list {
    list-style: none;
}
.legend-color-badge {
    width: 1em;
    height: 1em;
    display: inline-block;
    position: relative;
    top: 2px;
}

8daea46b   Antoine Goutenoir   fix: interactive ...
98
99
100
.no-pointer-events {
    pointer-events: none;
}
81579257   Antoine Goutenoir   design: improve t...
101
102
103
.plot-tooltip {
    border-radius: 3px;
}
8daea46b   Antoine Goutenoir   fix: interactive ...
104

4c862b54   Antoine Goutenoir   Add a grouped bar...
105

e2e42156   Antoine Goutenoir   Add the country t...
106
/** TWEAKS *******************************************************************/
1e7e25a7   Antoine Goutenoir   Fix the internal ...
107
108
109
110
111
112
113
114
115

h3[id]::before {
  content: '';
  display: block;
  height:      75px;
  margin-top: -75px;
  visibility: hidden;
}

40382971   Antoine Goutenoir   Add the sum of es...
116
117
118
119
120
h4.salient {
    border-left: 3px solid #3980af;
    padding-left: 0.3em;
}

a24ca744   Antoine Goutenoir   Add the scaling l...
121
122
123
124
article img {
    width: 100%;
}

e2e42156   Antoine Goutenoir   Add the country t...
125
126
127
128
span[title] {
    cursor: help;
}

1e7e25a7   Antoine Goutenoir   Fix the internal ...
129

0ff25083   Antoine Goutenoir   Animate some pixe...
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
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
/** SPINNER ******************************************************************/

.lds-ripple {
    display: inline-block;
    position: relative;
    width: 160px;
    height: 160px;
}

.lds-ripple div {
    position: absolute;
    border: 4px solid #4a59c1;
    opacity: 1;
    border-radius: 50%;
    animation: lds-ripple 1s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.lds-ripple div:nth-child(2) {
    animation-delay: -0.25s;
}

.lds-ripple div:nth-child(3) {
    animation-delay: -0.5s;
}

@keyframes lds-ripple {
    0% {
        top: 72px;
        left: 72px;
        width: 0;
        height: 0;
        opacity: 1;
    }
    100% {
        top: 0px;
        left: 0px;
        width: 144px;
        height: 89px;

        opacity: 0;
    }
aa04230c   Antoine Goutenoir   feat: add support...
171
172
173
174
175
176
177
178
179
}


/** BOOTSTRAP ICONS **********************************************************/

svg.bi {
    /* vertical alignment is … sketchy, let's do this the old way */
    position: relative;
    top: 2px;
0ff25083   Antoine Goutenoir   Animate some pixe...
180
}