-
Notifications
You must be signed in to change notification settings - Fork 2
/
global-styles.js
136 lines (132 loc) · 2.88 KB
/
global-styles.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
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
124
125
126
127
128
129
130
131
132
133
134
135
136
/**
* @ignore
* Global application styles, including normalize.css for styled components
*
*/
import styledNormalize from 'styled-normalize';
import { injectGlobal } from 'styled-components';
/* eslint no-unused-expressions: 0 */
injectGlobal`
${styledNormalize};
@import url('https://fonts.googleapis.com/css?family=Barlow:400,500,600,700');
#ogdd-root {
font-family: 'Barlow', sans-serif;
font-size: 14px;
color: #202326;
font-weight: 400;
line-height: 1.15;
-webkit-font-smoothing: antialiased;
}
#ogdd-root p {
font-family: 'Barlow', sans-serif;
line-height: 1.4;
}
#ogdd-root .ogdd-html h1,
#ogdd-root .ogdd-html h2,
#ogdd-root .ogdd-html h3,
#ogdd-root .ogdd-html h4,
#ogdd-root .ogdd-html h5 {
margin: 1.6em 0 0.6em;
}
#ogdd-root .ogdd-html h1,
#ogdd-root .ogdd-html h2,
#ogdd-root .ogdd-html h3 {
font-size: 1.5em;
}
#ogdd-root h1,
#ogdd-root h2,
#ogdd-root h3,
#ogdd-root h4,
#ogdd-root h5,
#ogdd-root header,
#ogdd-root footer,
#ogdd-root section,
#ogdd-root article,
#ogdd-root ul,
#ogdd-root aside {
font-family: 'Barlow', sans-serif;
line-height: 1.15;
}
#ogdd-root header,
#ogdd-root footer,
#ogdd-root section,
#ogdd-root article,
#ogdd-root ul,
#ogdd-root aside,
#ogdd-root label {
margin-bottom: 0;
}
#ogdd-root label {
display: inline;
}
#ogdd-root a {
text-decoration: underline;
border-bottom: none;
color: #202326;
&:hover{
text-decoration: underline;
color: #2956D1;
border-bottom: none;
}
&:focus{
outline: 0;
color: #2956D1;
outline: none;
box-shadow: none;
border-radius: 0;
}
}
#ogdd-root select {
width: auto;
height: auto;
margin-bottom: 0;
display: inline;
padding: 0;
border: 0;
background-color: transparent;
color: #202326;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
-webkit-border-radius: 0;
-moz-border-radius: 0;
border-radius: 0;
cursor: pointer;
&:focus {
font-size: 14px !important;
box-shadow: none;
}
}
#ogdd-root ::selection {
color: #fff;
background-color: #2956D1; /* WebKit/Blink Browsers */
}
#ogdd-root ::-moz-selection {
color: #fff;
background-color: #2956D1; /* Gecko Browsers */
}
#ogdd-root .rv-xy-plot {
color: #8B969D;
font-weight: 600;
}
#ogdd-root .rv-xy-plot__axis__line {
stroke-width: 1px;
stroke: #E7E9EB;
}
#ogdd-root .rv-xy-plot__axis__tick__line {
stroke: #E7E9EB;
}
#ogdd-root .rv-xy-plot__grid-lines__line {
stroke: #E7E9EB;
}
#ogdd-root .rv-xy-plot__axis__tick__text {
fill: #8B969D;
}
#ogdd-root .rv-xy-plot__axis__tick__text::selection {
fill: #fff;
}
#ogdd-root .rv-xy-plot__axis__tick__text::-moz-selection {
fill: #fff;
}
`;
// 'a' same as styles/Link