Debian Codegraph @

inst/lib/bsw5/dist/lux/_bootswatch.scss

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