Site.less
2.92 KB
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
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
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
196
197
198
199
200
201
// VARIABLES
@baseunit: 1rem;
@top-margin: @baseunit * 5;
@footer-height: 120px;
@primary-color: #2A3990;
@secondary-color: #00AF50;
@bg-color: #FBFBFB;
@white: #FFFFFF;
@black: #2C3E50;
html {
position: relative;
min-height: 100%;
}
body {
color: @black;
background-color: @bg-color;
/* Sticky Footer: Margin bottom by footer height */
margin-bottom: @footer-height + @baseunit * 2;
}
header {
margin-bottom: 30px;
}
a {
color: @secondary-color;
}
.footer {
position: absolute;
bottom: 0;
width: 100%;
/* Sticky Footer: Set the fixed height of the footer here */
min-height: @footer-height;
background-color: @primary-color;
color: @white;
}
// Vertical resize for text areas
textarea {
resize: vertical;
}
// Typography
h1,
h2,
h3,
h4,
h5,
h6 {
text-shadow: 0.5px 0.5px 0.5px @black;
color: @primary-color;
font-weight: bold;
line-height: 1.25;
}
.text-lg {
font-size: 1.5rem;
}
.text-sm {
font-size: 0.75rem;
}
.navbar-dark,
.bg-dark {
background-color: @primary-color !important;
.navbar-nav {
.nav-link {
color: @white;
}
}
}
// Header logo
.headerlogo {
text-align: left;
text-indent: -9999px;
min-width: 32px;
min-height: 32px;
background-position: 0 4px;
background-repeat: no-repeat;
background-image: url("img/logo-32.png");
background-image: -webkit-image-set(
url("img/logo-32.png") 1x,
url("img/logo-64.png") 2x
);
}
.btn {
background-color: @primary-color;
color: @white;
border-color: @primary-color;
}
// Bootstrap override - Hide drop down menu caret
.dropdown-toggle::after {
display: none;
}
.btn-toggle {
cursor: pointer;
}
.btn-toggle .fa {
font-size: 1.2rem;
}
.btn-toggle-label {
font-size: 0.8rem;
position: relative;
top: -2px;
}
.btn-xs,
.btn-group-xs > .btn {
padding: 1px 5px;
font-size: 0.9rem;
line-height: 1.5;
border-radius: 3px;
}
.table-cpo {
color: #495057;
}
.table-cpo thead th {
color: #495057;
background-color: #f4f4f4;
a {
color: #0c3c80;
}
}
.table-cpo th,
.table-cpo td,
.table-cpo thead th {
border-color: #ddd;
}
td.datetime {
font-family: 'Segoe UI', Calibri, Arial, Helvetica, sans-serif;
font-size: 0.8rem;
}
.list-group {
margin-bottom: 1rem;
.list-group-item {
.col {
line-height: 2.5rem;
font-weight: bold;
}
&.list-group-item-action {
+ .collapse {
.list-group-item {
background-color: lighten(@secondary-color, 62%);
.col {
font-size: 87%;
font-weight: normal;
}
&:hover {
background-color: @white;
}
}
}
}
}
}
.form-control {
&:focus {
border-color: @primary-color;
}
}
.card.card-border {
border: none;
box-shadow: 0 0 5px rgba(0, 0, 0, 0.75);
}
.img-100 {
width: 100%;
max-height: 700px;
}
// Utilities
.top-padding-1 {
padding-top: 1%;
}
.color-invert {
filter: invert(60%);
}