| 1 |
// Lux 4.6.0 |
| 2 |
// Bootswatch |
| 3 |
|
| 4 |
|
| 5 |
// Variables =================================================================== |
| 6 |
|
| 7 |
$web-font-path: "https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600&display=swap" !default; |
| 8 |
@import url($web-font-path); |
| 9 |
|
| 10 |
// Navbar ====================================================================== |
| 11 |
|
| 12 |
.navbar { |
| 13 |
font-size: $font-size-sm; |
| 14 |
text-transform: uppercase; |
| 15 |
font-weight: 600; |
| 16 |
|
| 17 |
&-nav { |
| 18 |
.nav-link { |
| 19 |
padding-top: .715rem; |
| 20 |
padding-bottom: .715rem; |
| 21 |
} |
| 22 |
} |
| 23 |
|
| 24 |
&-brand { |
| 25 |
margin-right: 2rem; |
| 26 |
} |
| 27 |
} |
| 28 |
|
| 29 |
.bg-primary { |
| 30 |
background-color: theme-color("primary") !important; |
| 31 |
} |
| 32 |
|
| 33 |
.bg-light { |
| 34 |
border: 1px solid rgba(0, 0, 0, .1); |
| 35 |
|
| 36 |
&.navbar-fixed-top { |
| 37 |
border-width: 0 0 1px; |
| 38 |
} |
| 39 |
|
| 40 |
&.navbar-bottom-top { |
| 41 |
border-width: 1px 0 0; |
| 42 |
} |
| 43 |
} |
| 44 |
|
| 45 |
.nav-item { |
| 46 |
margin-right: 2rem; |
| 47 |
} |
| 48 |
|
| 49 |
// Buttons ===================================================================== |
| 50 |
|
| 51 |
.btn { |
| 52 |
font-size: $font-size-sm; |
| 53 |
text-transform: uppercase; |
| 54 |
|
| 55 |
&-sm { |
| 56 |
font-size: 10px; |
| 57 |
} |
| 58 |
|
| 59 |
&-warning { |
| 60 |
&, |
| 61 |
&:hover, |
| 62 |
&:not([disabled]):not(.disabled):active, |
| 63 |
&:focus { |
| 64 |
color: $white; |
| 65 |
} |
| 66 |
} |
| 67 |
} |
| 68 |
|
| 69 |
.btn-outline-secondary { |
| 70 |
border-color: $gray-600; |
| 71 |
color: $gray-600; |
| 72 |
|
| 73 |
&:not([disabled]):not(.disabled):hover, |
| 74 |
&:not([disabled]):not(.disabled):focus, |
| 75 |
&:not([disabled]):not(.disabled):active { |
| 76 |
background-color: $gray-400; |
| 77 |
border-color: $gray-400; |
| 78 |
color: $white; |
| 79 |
} |
| 80 |
|
| 81 |
&:not([disabled]):not(.disabled):focus { |
| 82 |
box-shadow: 0 0 0 .2rem rgba($gray-400, .5); |
| 83 |
} |
| 84 |
} |
| 85 |
|
| 86 |
[class*="btn-outline-"] { |
| 87 |
border-width: 2px; |
| 88 |
} |
| 89 |
|
| 90 |
.border-secondary { |
| 91 |
border: 1px solid $gray-400 !important; |
| 92 |
} |
| 93 |
|
| 94 |
// Typography ================================================================== |
| 95 |
|
| 96 |
body { |
| 97 |
font-weight: 200; |
| 98 |
letter-spacing: 1px; |
| 99 |
} |
| 100 |
|
| 101 |
h1, |
| 102 |
h2, |
| 103 |
h3, |
| 104 |
h4, |
| 105 |
h5, |
| 106 |
h6 { |
| 107 |
text-transform: uppercase; |
| 108 |
letter-spacing: 3px; |
| 109 |
} |
| 110 |
|
| 111 |
.text-secondary { |
| 112 |
color: $body-color !important; |
| 113 |
} |
| 114 |
|
| 115 |
// Tables ====================================================================== |
| 116 |
|
| 117 |
th { |
| 118 |
font-size: $font-size-sm; |
| 119 |
text-transform: uppercase; |
| 120 |
} |
| 121 |
|
| 122 |
.table { |
| 123 |
th, |
| 124 |
td { |
| 125 |
padding: 1.5rem; |
| 126 |
} |
| 127 |
|
| 128 |
&-sm { |
| 129 |
th, |
| 130 |
td { |
| 131 |
padding: .75rem; |
| 132 |
} |
| 133 |
} |
| 134 |
} |
| 135 |
|
| 136 |
// Forms ======================================================================= |
| 137 |
|
| 138 |
.custom-switch { |
| 139 |
.custom-control-label { |
| 140 |
&::after { |
| 141 |
top: add(.15625rem, 2px); |
| 142 |
left: add(-2.25rem, 2px); |
| 143 |
width: subtract(1rem, 4px); |
| 144 |
height: subtract(1rem, 4px); |
| 145 |
} |
| 146 |
} |
| 147 |
} |
| 148 |
|
| 149 |
// Navs ======================================================================== |
| 150 |
|
| 151 |
.dropdown-menu { |
| 152 |
font-size: $font-size-sm; |
| 153 |
text-transform: none; |
| 154 |
} |
| 155 |
|
| 156 |
// Indicators ================================================================== |
| 157 |
|
| 158 |
.badge { |
| 159 |
padding-top: .28rem; |
| 160 |
|
| 161 |
&-pill { |
| 162 |
border-radius: 10rem; |
| 163 |
} |
| 164 |
} |
| 165 |
|
| 166 |
// Containers ================================================================== |
| 167 |
|
| 168 |
.list-group-item { |
| 169 |
h1, |
| 170 |
h2, |
| 171 |
h3, |
| 172 |
h4, |
| 173 |
h5, |
| 174 |
h6, |
| 175 |
.h1, |
| 176 |
.h2, |
| 177 |
.h3, |
| 178 |
.h4, |
| 179 |
.h5, |
| 180 |
.h6 { |
| 181 |
color: inherit; |
| 182 |
} |
| 183 |
} |
| 184 |
|
| 185 |
.card { |
| 186 |
&-title, |
| 187 |
&-header { |
| 188 |
color: inherit; |
| 189 |
} |
| 190 |
} |