forked from ManuDeBuck/random-image-picker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
76 lines (61 loc) · 1.55 KB
/
style.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
:root {
--primary: #0A1128 !important;
--secondary: #006E90 !important;
--success: #659157 !important;
--warning: #E0A458 !important;
--danger: #CD3C4D !important;
}
.btn-success:hover, .btn-success:disabled, .btn-success {
border-color: var(--success);
background-color: var(--success);
}
.btn-warning:hover, .btn-warning:disabled, .btn-warning {
border-color: var(--warning);
background-color: var(--warning);
}
.btn-danger:hover, .btn-danger:disabled, .btn-danger {
border-color: var(--danger);
background-color: var(--danger);
}
.bg-primary {
background-color: var(--primary) !important;
}
.text-danger {
color: var(--danger);
}
.thumbnail {
max-width: 200px;
}
a {
color: var(--secondary);
}
.random-image {
width: auto;
max-height: 35em;
}
html,
body {
height: 100%;
}
.page-content {
flex: 1 0 auto;
}
.img-thumbnail.random-image {
padding: 10px;
border-radius: .25rem;
transition: background-color 1s;
}
.img-thumbnail.random-selected {
background-color: var(--primary);
}
.custom-switch .custom-control-input:checked ~ .custom-control-label::before {
background-color: var(--secondary) !important;
box-shadow: 0 0 3px var(--secondary) !important;
}
.custom-switch .custom-control-input:focus ~ .custom-control-label::before {
box-shadow: 0 0 3px var(--secondary) !important;
}
.custom-switch .custom-control-input:active ~ .custom-control-label::before {
box-shadow: 0 0 3px var(--secondary) !important;
background: var(--secondary) !important;
}