viniBaxter-desk_front 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/lib/viniBaxter/desk_front/version.rb +1 -1
  3. data/lib/viniBaxter/sass/desk_front.scss +2 -20
  4. metadata +2 -93
  5. data/lib/viniBaxter/sass/desk_front/_user-variables.scss +0 -8
  6. data/lib/viniBaxter/sass/desk_front/_user.scss +0 -4
  7. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss +0 -51
  8. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss +0 -54
  9. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss +0 -42
  10. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss +0 -163
  11. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss +0 -139
  12. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss +0 -278
  13. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss +0 -197
  14. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss +0 -41
  15. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss +0 -48
  16. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss +0 -521
  17. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss +0 -191
  18. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss +0 -338
  19. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss +0 -134
  20. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss +0 -69
  21. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss +0 -42
  22. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss +0 -191
  23. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss +0 -17
  24. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss +0 -158
  25. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss +0 -8
  26. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss +0 -47
  27. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss +0 -239
  28. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss +0 -120
  29. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss +0 -324
  30. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss +0 -73
  31. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss +0 -170
  32. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss +0 -141
  33. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss +0 -46
  34. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss +0 -482
  35. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss +0 -20
  36. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss +0 -55
  37. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss +0 -185
  38. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss +0 -44
  39. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss +0 -115
  40. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss +0 -20
  41. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss +0 -125
  42. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss +0 -17
  43. data/lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss +0 -1143
  44. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss +0 -29
  45. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss +0 -12
  46. data/lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss +0 -44
  47. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss +0 -13
  48. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss +0 -22
  49. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss +0 -17
  50. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss +0 -63
  51. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss +0 -20
  52. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss +0 -123
  53. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss +0 -110
  54. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss +0 -62
  55. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss +0 -7
  56. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss +0 -10
  57. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss +0 -14
  58. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss +0 -177
  59. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss +0 -45
  60. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss +0 -71
  61. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss +0 -69
  62. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss +0 -37
  63. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss +0 -36
  64. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss +0 -21
  65. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss +0 -7
  66. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss +0 -11
  67. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss +0 -22
  68. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss +0 -17
  69. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss +0 -6
  70. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss +0 -34
  71. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss +0 -7
  72. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss +0 -39
  73. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss +0 -17
  74. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss +0 -11
  75. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss +0 -8
  76. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss +0 -16
  77. data/lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss +0 -8
  78. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss +0 -8
  79. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss +0 -19
  80. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss +0 -75
  81. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss +0 -3
  82. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss +0 -26
  83. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss +0 -39
  84. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss +0 -51
  85. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss +0 -11
  86. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss +0 -5
  87. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss +0 -32
  88. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss +0 -11
  89. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss +0 -6
  90. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss +0 -20
  91. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss +0 -73
  92. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss +0 -19
  93. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss +0 -72
  94. data/lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss +0 -13
  95. data/lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss +0 -204
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 622c06bd84940d4de1f35802ef44d54605257dc9a6ea523a070fbf2284db5415
4
- data.tar.gz: 830ee50a9fe7aa84f1babc03bf2420ac4c3b39e44f36e0ff9b2b585ed405b2b2
3
+ metadata.gz: 85caf181aa5112e4e0c8f1c7712b415b2ccb48b29ef7c48d98c1eeca9112ce06
4
+ data.tar.gz: c9da50c0b8bef85659905075729bea1c5c5fbeb74f067c0a0a331c1eac226efa
5
5
  SHA512:
6
- metadata.gz: 2bf2ec40b25f82cd7d37a4475fb4d0955dcc546d1f2a9fab6b2d73bdf1a1dad83743a33d47f455bfb9b5d3ea60feb8173ec5f002ea25838aa4f0a5d418806816
7
- data.tar.gz: 4d78a082029ce93d02d1bd2d9df3646a23c1af3b76e2eced35b58c92191245492928b1aea81fa6fdc824f7fb9879c598d36137ff1ea8e68ef39049761e5a9aaa
6
+ metadata.gz: 982478aa6e608979b28a307aee8b9c4044f818385bbafd0f7e7c8a02ca5704e45ad90fcc0b96f8d7bfd44217914c7daeb8098f517d202ae61fc746f459b1ec51
7
+ data.tar.gz: f99c3a70e95bdc40a0fbe4bec9d87d42d2326064279bdd241e37fd486a782842a976ec1f371dd68a065e4cc6fd551d4b7a7fd5d569d09ff4ca1278cc00661941
@@ -1,5 +1,5 @@
1
1
  module ViniBaxter
2
2
  module DeskFront
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
@@ -1,23 +1,5 @@
1
- /**
2
- * Dashkit
3
- *
4
- * Custom variables followed by Dashkit variables followed by Bootstrap variables
5
- * to ensure cascade of styles.
6
- */
7
-
8
- // Custom variables
9
- @import './desk_front/user-variables';
10
-
11
- // Dashkit variables
12
- // @import './desk_front/dashkit/variables'; // are imported directly inside the rails app
13
-
14
- // Bootstrap coredesk_front/bootstrap_4/scss/bootstrap
15
- @import './desk_front/bootstrap_4/bootstrap.scss';
16
-
17
1
  // Dashkit core
18
2
  @import './desk_front/dashkit/dashkit';
19
3
 
20
- // Custom core
21
- @import './desk_front/user';
22
-
23
- @import "./desk_front/administrate/index";
4
+ // administrate
5
+ @import "./desk_front/administrate/index";
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: viniBaxter-desk_front
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - viny baxter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-04-07 00:00:00.000000000 Z
11
+ date: 2020-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -84,8 +84,6 @@ files:
84
84
  - lib/viniBaxter/sass/.DS_Store
85
85
  - lib/viniBaxter/sass/desk_front.scss
86
86
  - lib/viniBaxter/sass/desk_front/.DS_Store
87
- - lib/viniBaxter/sass/desk_front/_user-variables.scss
88
- - lib/viniBaxter/sass/desk_front/_user.scss
89
87
  - lib/viniBaxter/sass/desk_front/administrate/base/_forms.scss
90
88
  - lib/viniBaxter/sass/desk_front/administrate/base/_layout.scss
91
89
  - lib/viniBaxter/sass/desk_front/administrate/base/_lists.scss
@@ -109,95 +107,6 @@ files:
109
107
  - lib/viniBaxter/sass/desk_front/administrate/library/_variables.scss
110
108
  - lib/viniBaxter/sass/desk_front/administrate/reset/_normalize.scss
111
109
  - lib/viniBaxter/sass/desk_front/administrate/utilities/_text-color.scss
112
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_alert.scss
113
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_badge.scss
114
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_breadcrumb.scss
115
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_button-group.scss
116
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_buttons.scss
117
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_card.scss
118
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_carousel.scss
119
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_close.scss
120
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_code.scss
121
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_custom-forms.scss
122
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_dropdown.scss
123
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_forms.scss
124
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_functions.scss
125
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_grid.scss
126
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_images.scss
127
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_input-group.scss
128
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_jumbotron.scss
129
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_list-group.scss
130
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_media.scss
131
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_mixins.scss
132
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_modal.scss
133
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_nav.scss
134
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_navbar.scss
135
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_pagination.scss
136
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_popover.scss
137
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_print.scss
138
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_progress.scss
139
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_reboot.scss
140
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_root.scss
141
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_spinners.scss
142
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_tables.scss
143
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_toasts.scss
144
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_tooltip.scss
145
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_transitions.scss
146
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_type.scss
147
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_utilities.scss
148
- - lib/viniBaxter/sass/desk_front/bootstrap_4/_variables.scss
149
- - lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-grid.scss
150
- - lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap-reboot.scss
151
- - lib/viniBaxter/sass/desk_front/bootstrap_4/bootstrap.scss
152
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_alert.scss
153
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss
154
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_badge.scss
155
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_border-radius.scss
156
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_box-shadow.scss
157
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_breakpoints.scss
158
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_buttons.scss
159
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_caret.scss
160
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_clearfix.scss
161
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_deprecate.scss
162
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_float.scss
163
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_forms.scss
164
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_gradients.scss
165
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid-framework.scss
166
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_grid.scss
167
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_hover.scss
168
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_image.scss
169
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_list-group.scss
170
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_lists.scss
171
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_nav-divider.scss
172
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_pagination.scss
173
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_reset-text.scss
174
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_resize.scss
175
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_screen-reader.scss
176
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_size.scss
177
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_table-row.scss
178
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-emphasis.scss
179
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-hide.scss
180
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_text-truncate.scss
181
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_transition.scss
182
- - lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_visibility.scss
183
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_align.scss
184
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_background.scss
185
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_borders.scss
186
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_clearfix.scss
187
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_display.scss
188
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_embed.scss
189
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_flex.scss
190
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_float.scss
191
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_overflow.scss
192
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_position.scss
193
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_screenreaders.scss
194
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_shadows.scss
195
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_sizing.scss
196
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_spacing.scss
197
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_stretched-link.scss
198
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_text.scss
199
- - lib/viniBaxter/sass/desk_front/bootstrap_4/utilities/_visibility.scss
200
- - lib/viniBaxter/sass/desk_front/bootstrap_4/vendor/_rfs.scss
201
110
  - lib/viniBaxter/sass/desk_front/dashkit/_alert.scss
202
111
  - lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss
203
112
  - lib/viniBaxter/sass/desk_front/dashkit/_badge.scss
@@ -1,8 +0,0 @@
1
- //
2
- // user-variables.scss
3
- // Use this to overwrite Bootstrap and Dashkit variables
4
- //
5
-
6
- // Example of a variable override to change Dashkit's background color
7
- // Remove the "//" to comment it in and see it in action!
8
- // $body-bg: #12263F;
@@ -1,4 +0,0 @@
1
- //
2
- // user.scss
3
- // Use this to write your custom SCSS
4
- //
@@ -1,51 +0,0 @@
1
- //
2
- // Base styles
3
- //
4
-
5
- .alert {
6
- position: relative;
7
- padding: $alert-padding-y $alert-padding-x;
8
- margin-bottom: $alert-margin-bottom;
9
- border: $alert-border-width solid transparent;
10
- @include border-radius($alert-border-radius);
11
- }
12
-
13
- // Headings for larger alerts
14
- .alert-heading {
15
- // Specified to prevent conflicts of changing $headings-color
16
- color: inherit;
17
- }
18
-
19
- // Provide class for links that match alerts
20
- .alert-link {
21
- font-weight: $alert-link-font-weight;
22
- }
23
-
24
-
25
- // Dismissible alerts
26
- //
27
- // Expand the right padding and account for the close button's positioning.
28
-
29
- .alert-dismissible {
30
- padding-right: $close-font-size + $alert-padding-x * 2;
31
-
32
- // Adjust close link position
33
- .close {
34
- position: absolute;
35
- top: 0;
36
- right: 0;
37
- padding: $alert-padding-y $alert-padding-x;
38
- color: inherit;
39
- }
40
- }
41
-
42
-
43
- // Alternate styles
44
- //
45
- // Generate contextual modifier classes for colorizing the alert.
46
-
47
- @each $color, $value in $theme-colors {
48
- .alert-#{$color} {
49
- @include alert-variant(theme-color-level($color, $alert-bg-level), theme-color-level($color, $alert-border-level), theme-color-level($color, $alert-color-level));
50
- }
51
- }
@@ -1,54 +0,0 @@
1
- // Base class
2
- //
3
- // Requires one of the contextual, color modifier classes for `color` and
4
- // `background-color`.
5
-
6
- .badge {
7
- display: inline-block;
8
- padding: $badge-padding-y $badge-padding-x;
9
- @include font-size($badge-font-size);
10
- font-weight: $badge-font-weight;
11
- line-height: 1;
12
- text-align: center;
13
- white-space: nowrap;
14
- vertical-align: baseline;
15
- @include border-radius($badge-border-radius);
16
- @include transition($badge-transition);
17
-
18
- @at-root a#{&} {
19
- @include hover-focus() {
20
- text-decoration: none;
21
- }
22
- }
23
-
24
- // Empty badges collapse automatically
25
- &:empty {
26
- display: none;
27
- }
28
- }
29
-
30
- // Quick fix for badges in buttons
31
- .btn .badge {
32
- position: relative;
33
- top: -1px;
34
- }
35
-
36
- // Pill badges
37
- //
38
- // Make them extra rounded with a modifier to replace v3's badges.
39
-
40
- .badge-pill {
41
- padding-right: $badge-pill-padding-x;
42
- padding-left: $badge-pill-padding-x;
43
- @include border-radius($badge-pill-border-radius);
44
- }
45
-
46
- // Colors
47
- //
48
- // Contextual variations (linked badges get darker on :hover).
49
-
50
- @each $color, $value in $theme-colors {
51
- .badge-#{$color} {
52
- @include badge-variant($value);
53
- }
54
- }
@@ -1,42 +0,0 @@
1
- .breadcrumb {
2
- display: flex;
3
- flex-wrap: wrap;
4
- padding: $breadcrumb-padding-y $breadcrumb-padding-x;
5
- margin-bottom: $breadcrumb-margin-bottom;
6
- @include font-size($breadcrumb-font-size);
7
- list-style: none;
8
- background-color: $breadcrumb-bg;
9
- @include border-radius($breadcrumb-border-radius);
10
- }
11
-
12
- .breadcrumb-item {
13
- // The separator between breadcrumbs (by default, a forward-slash: "/")
14
- + .breadcrumb-item {
15
- padding-left: $breadcrumb-item-padding;
16
-
17
- &::before {
18
- display: inline-block; // Suppress underlining of the separator in modern browsers
19
- padding-right: $breadcrumb-item-padding;
20
- color: $breadcrumb-divider-color;
21
- content: escape-svg($breadcrumb-divider);
22
- }
23
- }
24
-
25
- // IE9-11 hack to properly handle hyperlink underlines for breadcrumbs built
26
- // without `<ul>`s. The `::before` pseudo-element generates an element
27
- // *within* the .breadcrumb-item and thereby inherits the `text-decoration`.
28
- //
29
- // To trick IE into suppressing the underline, we give the pseudo-element an
30
- // underline and then immediately remove it.
31
- + .breadcrumb-item:hover::before {
32
- text-decoration: underline;
33
- }
34
- // stylelint-disable-next-line no-duplicate-selectors
35
- + .breadcrumb-item:hover::before {
36
- text-decoration: none;
37
- }
38
-
39
- &.active {
40
- color: $breadcrumb-active-color;
41
- }
42
- }
@@ -1,163 +0,0 @@
1
- // stylelint-disable selector-no-qualifying-type
2
-
3
- // Make the div behave like a button
4
- .btn-group,
5
- .btn-group-vertical {
6
- position: relative;
7
- display: inline-flex;
8
- vertical-align: middle; // match .btn alignment given font-size hack above
9
-
10
- > .btn {
11
- position: relative;
12
- flex: 1 1 auto;
13
-
14
- // Bring the hover, focused, and "active" buttons to the front to overlay
15
- // the borders properly
16
- @include hover() {
17
- z-index: 1;
18
- }
19
- &:focus,
20
- &:active,
21
- &.active {
22
- z-index: 1;
23
- }
24
- }
25
- }
26
-
27
- // Optional: Group multiple button groups together for a toolbar
28
- .btn-toolbar {
29
- display: flex;
30
- flex-wrap: wrap;
31
- justify-content: flex-start;
32
-
33
- .input-group {
34
- width: auto;
35
- }
36
- }
37
-
38
- .btn-group {
39
- // Prevent double borders when buttons are next to each other
40
- > .btn:not(:first-child),
41
- > .btn-group:not(:first-child) {
42
- margin-left: -$btn-border-width;
43
- }
44
-
45
- // Reset rounded corners
46
- > .btn:not(:last-child):not(.dropdown-toggle),
47
- > .btn-group:not(:last-child) > .btn {
48
- @include border-right-radius(0);
49
- }
50
-
51
- > .btn:not(:first-child),
52
- > .btn-group:not(:first-child) > .btn {
53
- @include border-left-radius(0);
54
- }
55
- }
56
-
57
- // Sizing
58
- //
59
- // Remix the default button sizing classes into new ones for easier manipulation.
60
-
61
- .btn-group-sm > .btn { @extend .btn-sm; }
62
- .btn-group-lg > .btn { @extend .btn-lg; }
63
-
64
-
65
- //
66
- // Split button dropdowns
67
- //
68
-
69
- .dropdown-toggle-split {
70
- padding-right: $btn-padding-x * .75;
71
- padding-left: $btn-padding-x * .75;
72
-
73
- &::after,
74
- .dropup &::after,
75
- .dropright &::after {
76
- margin-left: 0;
77
- }
78
-
79
- .dropleft &::before {
80
- margin-right: 0;
81
- }
82
- }
83
-
84
- .btn-sm + .dropdown-toggle-split {
85
- padding-right: $btn-padding-x-sm * .75;
86
- padding-left: $btn-padding-x-sm * .75;
87
- }
88
-
89
- .btn-lg + .dropdown-toggle-split {
90
- padding-right: $btn-padding-x-lg * .75;
91
- padding-left: $btn-padding-x-lg * .75;
92
- }
93
-
94
-
95
- // The clickable button for toggling the menu
96
- // Set the same inset shadow as the :active state
97
- .btn-group.show .dropdown-toggle {
98
- @include box-shadow($btn-active-box-shadow);
99
-
100
- // Show no shadow for `.btn-link` since it has no other button styles.
101
- &.btn-link {
102
- @include box-shadow(none);
103
- }
104
- }
105
-
106
-
107
- //
108
- // Vertical button groups
109
- //
110
-
111
- .btn-group-vertical {
112
- flex-direction: column;
113
- align-items: flex-start;
114
- justify-content: center;
115
-
116
- > .btn,
117
- > .btn-group {
118
- width: 100%;
119
- }
120
-
121
- > .btn:not(:first-child),
122
- > .btn-group:not(:first-child) {
123
- margin-top: -$btn-border-width;
124
- }
125
-
126
- // Reset rounded corners
127
- > .btn:not(:last-child):not(.dropdown-toggle),
128
- > .btn-group:not(:last-child) > .btn {
129
- @include border-bottom-radius(0);
130
- }
131
-
132
- > .btn:not(:first-child),
133
- > .btn-group:not(:first-child) > .btn {
134
- @include border-top-radius(0);
135
- }
136
- }
137
-
138
-
139
- // Checkbox and radio options
140
- //
141
- // In order to support the browser's form validation feedback, powered by the
142
- // `required` attribute, we have to "hide" the inputs via `clip`. We cannot use
143
- // `display: none;` or `visibility: hidden;` as that also hides the popover.
144
- // Simply visually hiding the inputs via `opacity` would leave them clickable in
145
- // certain cases which is prevented by using `clip` and `pointer-events`.
146
- // This way, we ensure a DOM element is visible to position the popover from.
147
- //
148
- // See https://github.com/twbs/bootstrap/pull/12794 and
149
- // https://github.com/twbs/bootstrap/pull/14559 for more information.
150
-
151
- .btn-group-toggle {
152
- > .btn,
153
- > .btn-group > .btn {
154
- margin-bottom: 0; // Override default `<label>` value
155
-
156
- input[type="radio"],
157
- input[type="checkbox"] {
158
- position: absolute;
159
- clip: rect(0, 0, 0, 0);
160
- pointer-events: none;
161
- }
162
- }
163
- }
@@ -1,139 +0,0 @@
1
- // stylelint-disable selector-no-qualifying-type
2
-
3
- //
4
- // Base styles
5
- //
6
-
7
- .btn {
8
- display: inline-block;
9
- font-family: $btn-font-family;
10
- font-weight: $btn-font-weight;
11
- color: $body-color;
12
- text-align: center;
13
- white-space: $btn-white-space;
14
- vertical-align: middle;
15
- cursor: if($enable-pointer-cursor-for-buttons, pointer, null);
16
- user-select: none;
17
- background-color: transparent;
18
- border: $btn-border-width solid transparent;
19
- @include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
20
- @include transition($btn-transition);
21
-
22
- @include hover() {
23
- color: $body-color;
24
- text-decoration: none;
25
- }
26
-
27
- &:focus,
28
- &.focus {
29
- outline: 0;
30
- box-shadow: $btn-focus-box-shadow;
31
- }
32
-
33
- // Disabled comes first so active can properly restyle
34
- &.disabled,
35
- &:disabled {
36
- opacity: $btn-disabled-opacity;
37
- @include box-shadow(none);
38
- }
39
-
40
- &:not(:disabled):not(.disabled):active,
41
- &:not(:disabled):not(.disabled).active {
42
- @include box-shadow($btn-active-box-shadow);
43
-
44
- &:focus {
45
- @include box-shadow($btn-focus-box-shadow, $btn-active-box-shadow);
46
- }
47
- }
48
- }
49
-
50
- // Future-proof disabling of clicks on `<a>` elements
51
- a.btn.disabled,
52
- fieldset:disabled a.btn {
53
- pointer-events: none;
54
- }
55
-
56
-
57
- //
58
- // Alternate buttons
59
- //
60
-
61
- @each $color, $value in $theme-colors {
62
- .btn-#{$color} {
63
- @include button-variant($value, $value);
64
- }
65
- }
66
-
67
- @each $color, $value in $theme-colors {
68
- .btn-outline-#{$color} {
69
- @include button-outline-variant($value);
70
- }
71
- }
72
-
73
-
74
- //
75
- // Link buttons
76
- //
77
-
78
- // Make a button look and behave like a link
79
- .btn-link {
80
- font-weight: $font-weight-normal;
81
- color: $link-color;
82
- text-decoration: $link-decoration;
83
-
84
- @include hover() {
85
- color: $link-hover-color;
86
- text-decoration: $link-hover-decoration;
87
- }
88
-
89
- &:focus,
90
- &.focus {
91
- text-decoration: $link-hover-decoration;
92
- box-shadow: none;
93
- }
94
-
95
- &:disabled,
96
- &.disabled {
97
- color: $btn-link-disabled-color;
98
- pointer-events: none;
99
- }
100
-
101
- // No need for an active state here
102
- }
103
-
104
-
105
- //
106
- // Button Sizes
107
- //
108
-
109
- .btn-lg {
110
- @include button-size($btn-padding-y-lg, $btn-padding-x-lg, $btn-font-size-lg, $btn-line-height-lg, $btn-border-radius-lg);
111
- }
112
-
113
- .btn-sm {
114
- @include button-size($btn-padding-y-sm, $btn-padding-x-sm, $btn-font-size-sm, $btn-line-height-sm, $btn-border-radius-sm);
115
- }
116
-
117
-
118
- //
119
- // Block button
120
- //
121
-
122
- .btn-block {
123
- display: block;
124
- width: 100%;
125
-
126
- // Vertically space out multiple block buttons
127
- + .btn-block {
128
- margin-top: $btn-block-spacing-y;
129
- }
130
- }
131
-
132
- // Specificity overrides
133
- input[type="submit"],
134
- input[type="reset"],
135
- input[type="button"] {
136
- &.btn-block {
137
- width: 100%;
138
- }
139
- }