Debian Codegraph @

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

raw
1 // Simplex 5.3.1
2 // Bootswatch
3
4
5 // Variables
6
7 $web-font-path: "https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap" !default;
8 @if $web-font-path {
9 @import url($web-font-path);
10 }
11
12 // Mixins
13
14 @mixin btn-shadow($color){
15 @include gradient-y-three-colors(tint-color($color, 6%), $color, 6%, shade-color($color, 6%));
16 filter: none;
17 border: 1px solid shade-color($color, 13%);
18 }
19
20 // Navbar
21
22 .navbar {
23 border-style: solid;
24 border-width: 1px;
25
26 &-fixed-top {
27 border-width: 0 0 1px;
28 }
29
30 &-fixed-bottom {
31 border-style: solid;
32 border-top-width: 1px 0 0 0;
33 }
34
35 &.bg-primary {
36 border-color: shade-color($primary, 13%) !important;
37 }
38
39 &.bg-dark {
40 border-color: shade-color($dark, 13%) !important;
41 }
42
43 &.bg-light {
44 border-color: shade-color($white, 13%);
45 }
46 }
47
48 // Buttons
49
50 .btn-primary,
51 .btn-primary:hover {
52 @include btn-shadow($primary);
53 }
54
55 .btn-secondary,
56 .btn-secondary:hover {
57 @include btn-shadow($secondary);
58 }
59
60 .btn-secondary:focus,
61 .btn-secondary:not([disabled]):not(.disabled):active,
62 .btn-secondary:not([disabled]):not(.disabled).active {
63 box-shadow: 0 0 0 .2rem rgba($gray-200, .5);
64 }
65
66 .btn-success,
67 .btn-success:hover {
68 @include btn-shadow($success);
69 }
70
71 .btn-info,
72 .btn-info:hover {
73 @include btn-shadow($info);
74 }
75
76 .btn-warning,
77 .btn-warning:hover {
78 @include btn-shadow($warning);
79 }
80
81 .btn-danger,
82 .btn-danger:hover {
83 @include btn-shadow($danger);
84 }
85
86 .btn-dark,
87 .btn-dark:hover {
88 @include btn-shadow($dark);
89 }
90
91 .btn-light,
92 .btn-light:hover {
93 @include btn-shadow($light);
94 }
95
96 .btn-outline-secondary {
97 color: $gray-400;
98 border-color: $gray-400;
99
100 &:hover {
101 color: $white;
102 background-color: $gray-400;
103 }
104 }
105
106 // Typography
107
108 .text-secondary {
109 color: $gray-600 !important;
110 }
111
112 // Forms
113
114 legend,
115 label {
116 color: $headings-color;
117 }
118
119 // Navs
120
121 .breadcrumb {
122 border: 1px solid shade-color($white, 13%);
123 }
124
125 .pagination {
126 .page-link:hover {
127 text-decoration: none;
128 }
129 }
130
131 // Indicators
132
133 .badge {
134 &.bg-secondary,
135 &.bg-light {
136 color: $dark;
137 }
138 }