Debian Codegraph @

inst/lib/bsw4/dist/cerulean/_bootswatch.scss

raw
1 // Cerulean 4.6.0
2 // Bootswatch
3
4
5 // Variables ===================================================================
6
7 $text-shadow: 0 1px 0 rgba(0, 0, 0, .05) !default;
8
9 // Mixins ======================================================================
10
11 @mixin btn-shadow($color){
12 @include gradient-y-three-colors(lighten($color, 8%), $color, 60%, darken($color, 4%));
13 }
14
15 // Navbar ======================================================================
16
17 .bg-primary {
18 @include btn-shadow($primary);
19 }
20
21 .bg-dark {
22 @include btn-shadow($blue);
23 }
24
25 .bg-light {
26 @include gradient-y-three-colors(lighten($gray-200, 8%), $gray-200, 60%, darken($gray-200, 2%));
27 }
28
29 .navbar-brand,
30 .nav-link {
31 text-shadow: $text-shadow;
32 }
33
34 // Buttons =====================================================================
35
36 .btn {
37 text-shadow: $text-shadow;
38 }
39
40 // See inst/bs3compat/_declarations.scss
41 // It's very important that this come before other btn-* rules
42 @if variable-exists("default") {
43 .btn-default {
44 @include btn-shadow($default);
45 }
46 }
47
48 .btn-primary {
49 @include btn-shadow($primary);
50 }
51
52 .btn-secondary {
53 @include btn-shadow($secondary);
54 color: $gray-700;
55 }
56
57 .btn-success {
58 @include btn-shadow($success);
59 }
60
61 .btn-info {
62 @include btn-shadow($info);
63 }
64
65 .btn-warning {
66 @include btn-shadow($warning);
67 }
68
69 .btn-danger {
70 @include btn-shadow($danger);
71 }
72
73 .btn-light {
74 @include btn-shadow($light);
75 }
76
77 .btn-dark {
78 @include btn-shadow($dark);
79 }
80
81
82 // Typography ==================================================================
83
84 .text-secondary {
85 color: $gray-500 !important;
86 }
87
88 .bg-primary,
89 .bg-success,
90 .bg-info,
91 .bg-warning,
92 .bg-danger,
93 .bg-dark {
94 h1,
95 h2,
96 h3,
97 h4,
98 h5,
99 h6 {
100 color: $white;
101 }
102 }
103
104 // Navs ========================================================================
105
106 .dropdown-menu {
107 .dropdown-header {
108 color: $gray-600;
109 }
110 }