-
Notifications
You must be signed in to change notification settings - Fork 30
/
styles.css
129 lines (111 loc) · 2.58 KB
/
styles.css
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
/*
Copyright FIRST, Red Hat, and contributors
SPDX-License-Identifier: BSD-2-Clause
*/
h1, h2, h3, h4, h5, h6 {
margin-top: 0.4rem;
}
h5.text-center {
padding-bottom: 0.2rem;
}
h4.text-center {
background: #666666;
color: #ffffff;
padding: 0.2rem;
margin-bottom: 0.3rem;
border-radius: 0.3rem;
}
h5.score-line {
padding-top: 0.5rem;
}
h4.page-title {
color: #00400d;
padding: 0 0 0.5rem 0;
}
mark {
overflow-wrap: break-word;
background: #090;
border: 0.05rem solid #090;
border-radius: 0.5rem;
color: #ffffff;
font-size: large;
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
}
#header {
position: fixed;
top: 0;
left: 0;
padding-left: 0.4rem;
padding-right: 0.4rem;
width: 100%;
background-color: white;
z-index: 1;
border-bottom: 1px solid lightgray;
}
.metric-type {
background-color: #f2f2f2;
border-radius: 0.3rem;
padding: 0rem 0rem 0rem 0rem;
margin: 0rem 0rem 1rem 0rem;
border-bottom: 0.05rem solid #666666;
border-right: 0.05rem solid #666666;
border-left: 0.05rem solid #666666;
}
.metric-group {
background-color: #f2f2f2;
padding: 10px;
padding-top: 2px;
border-radius: 0.3rem;
}
.btn-m {
width:100%;
display:block;
border-radius: 0.3rem;
}
/*
If we want to edit buttons, there are two options:
1) We have to override these class colors, or build our own version
of Spectre.css framework by modifying
https://github.com/picturepan2/spectre/blob/master/src/_variables.scss
2) We can override class colors below, they are copy/paste from Spectre.css framework
Useful tools:
https://sassme.jim-nielsen.com/
https://www.rapidtables.com/convert/color/hex-to-rgb.html
*/
.btn {
background: #f2f2f2;
border:.05rem solid #999999;
border-radius: 0.2rem;
color: #666666;
}
.btn:focus,
.btn:hover {
background: #666666;
border-color: #666666;
color: #ffffff;
}
.btn.active,
.btn:active {
background: #060;
border-color: #060;
color: #fff;
}
.btn.btn-primary {
background: #090;
border-color: #090;
border: 0.05rem solid #060;
border-radius: 0.2rem;
color: #fff
}
.btn.btn-primary:focus,
.btn.btn-primary:hover {
background: #060;
border-color: #060;
color: #fff
}
.btn.btn-primary.active,
.btn.btn-primary:active {
background:#060;
border-color:#060;
color:#fff
}