Debian Codegraph @

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

raw
1 // Zephyr 5.3.1
2 // Bootswatch
3
4
5 // Variables
6
7 $web-font-path: "https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&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: 500;
17
18 .nav-item {
19 margin-right: .5rem;
20 margin-left: .5rem;
21 }
22
23 .navbar-nav {
24 .nav-link {
25 border-radius: $border-radius;
26 }
27 }
28 }
29
30 .navbar-dark {
31 .navbar-nav {
32 .nav-link {
33 &:hover {
34 background-color: rgba(255, 255, 255, .1);
35 }
36
37 &.active {
38 background-color: rgba(0, 0, 0, .5);
39 }
40 }
41 }
42 }
43
44 .navbar-light {
45 .navbar-nav {
46 .nav-link {
47 &:hover {
48 background-color: rgba(0, 0, 0, .03);
49 }
50
51 &.active {
52 background-color: rgba(0, 0, 0, .05);
53 }
54 }
55 }
56 }
57
58 .navbar-nav {
59 --bs-nav-link-padding-x: .5rem;
60 }
61
62 // Buttons
63
64 .btn-secondary,
65 .btn-light,
66 .btn-outline-secondary,
67 .btn-outline-light {
68 color: $gray-900;
69
70 &:disabled,
71 &.disabled {
72 border: 1px solid shade-color($secondary, 10%);
73 }
74 }
75
76 .btn-secondary,
77 .btn-outline-secondary {
78 border-color: shade-color($secondary, 10%);
79
80 &:hover,
81 &:active {
82 background-color: shade-color($secondary, 10%);
83 border-color: shade-color($secondary, 10%);
84 }
85 }
86
87 .btn-light,
88 .btn-outline-light {
89 border-color: shade-color($light, 10%);
90
91 &:hover,
92 &:active {
93 background-color: shade-color($light, 10%);
94 border-color: shade-color($light, 10%);
95 }
96 }
97
98 // Tables
99
100 .table {
101 font-size: $font-size-sm;
102 box-shadow: $box-shadow-lg;
103 }
104
105 thead th {
106 font-size: $font-size-sm;
107 text-transform: uppercase;
108 }
109
110 // Forms
111
112 .input-group-text {
113 box-shadow: $box-shadow;
114 }
115
116 // Navs
117
118 .nav-tabs {
119 font-weight: 500;
120
121 .nav-link {
122 padding-top: 1rem;
123 padding-bottom: 1rem;
124 border-width: 0 0 1px;
125 }
126
127 .nav-link.active,
128 .nav-item.show .nav-link {
129 box-shadow: inset 0 -2px 0 $primary;
130 }
131 }
132
133 .nav-pills {
134 font-weight: 500;
135 }
136
137 .pagination {
138 font-size: $font-size-sm;
139 font-weight: 500;
140
141 .page-link {
142 box-shadow: $box-shadow;
143 }
144 }
145
146 .breadcrumb {
147 font-size: $font-size-sm;
148 font-weight: 500;
149 border: 1px solid $gray-300;
150 border-radius: $border-radius;
151 box-shadow: $box-shadow;
152
153 &-item {
154 padding: 1rem .5rem 1rem 0;
155 }
156 }
157
158 .breadcrumb-item + .breadcrumb-item::before {
159 padding-right: 1rem;
160 }
161
162 // Indicators
163
164 .alert {
165 .btn-close {
166 color: inherit;
167 }
168 }
169
170 .badge {
171 &.bg-secondary,
172 &.bg-light {
173 color: $gray-900;
174 }
175 }
176
177 // Containers
178
179 .list-group-item,
180 .card {
181 h1,
182 h2,
183 h3,
184 h4,
185 h5,
186 h6,
187 .h1,
188 .h2,
189 .h3,
190 .h4,
191 .h5,
192 .h6 {
193 color: inherit;
194 }
195 }
196
197 .list-group {
198 box-shadow: $box-shadow-lg;
199 }
200
201 .card {
202 box-shadow: $box-shadow-lg;
203 }
204
205 .modal-footer {
206 background-color: $gray-100;
207 }
208
209 .modal-content {
210 box-shadow: $box-shadow-lg;
211 }