viniBaxter-desk_front 0.3.1 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (143) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/desk_front/icon-status.svg +9 -0
  3. data/app/assets/images/desk_front/sidebar-cover.jpg +0 -0
  4. data/lib/viniBaxter/desk_front/version.rb +1 -1
  5. data/lib/viniBaxter/sass/.DS_Store +0 -0
  6. data/lib/viniBaxter/sass/desk_front.scss +10 -4
  7. data/lib/viniBaxter/sass/desk_front/.DS_Store +0 -0
  8. data/lib/viniBaxter/sass/desk_front/administrate/base/_tables.scss +3 -1
  9. data/lib/viniBaxter/sass/desk_front/administrate/index.scss +6 -6
  10. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_functions.scss +23 -0
  11. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_index.scss +85 -0
  12. data/lib/viniBaxter/sass/desk_front/beckyBaxter/_mixins.scss +15 -0
  13. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-animation-on-hover.scss +7 -0
  14. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-chart.scss +84 -0
  15. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-collapse.scss +51 -0
  16. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-contributions.scss +55 -0
  17. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-lock.scss +18 -0
  18. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-map.scss +3 -0
  19. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-plain.scss +16 -0
  20. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-pricing.scss +190 -0
  21. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-profile.scss +49 -0
  22. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-register.scss +79 -0
  23. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-stats-mini.scss +53 -0
  24. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-stats.scss +80 -0
  25. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-subcategories.scss +3 -0
  26. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-task.scss +31 -0
  27. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-testimonials.scss +46 -0
  28. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-user.scss +77 -0
  29. data/lib/viniBaxter/sass/desk_front/beckyBaxter/cards/_card-wizard.scss +21 -0
  30. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_alerts.scss +89 -0
  31. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_avatars.scss +53 -0
  32. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_badge.scss +25 -0
  33. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_buttons.scss +281 -0
  34. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_card.scss +228 -0
  35. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_checkboxes-radio.scss +154 -0
  36. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_close.scss +29 -0
  37. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_custom-forms.scss +186 -0
  38. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_dropdown.scss +361 -0
  39. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_example-pages.scss +319 -0
  40. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_fixed-plugin.scss +335 -0
  41. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_footer.scss +109 -0
  42. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_forms.scss +146 -0
  43. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_functions.scss +23 -0
  44. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_global.scss +172 -0
  45. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_grid.scss +5 -0
  46. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_icons.scss +92 -0
  47. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_images.scss +7 -0
  48. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_info-areas.scss +170 -0
  49. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_input-group.scss +342 -0
  50. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_misc.scss +215 -0
  51. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_mixins.scss +15 -0
  52. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_modal.scss +257 -0
  53. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_nav.scss +85 -0
  54. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_navbar.scss +480 -0
  55. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_pagination.scss +141 -0
  56. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_pills.scss +169 -0
  57. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_popover.scss +14 -0
  58. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_progress.scss +103 -0
  59. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_reboot.scss +18 -0
  60. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_rtl.scss +268 -0
  61. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_sidebar-and-main-panel.scss +912 -0
  62. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_tables.scss +248 -0
  63. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_tabs.scss +110 -0
  64. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_timeline.scss +251 -0
  65. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_type.scss +166 -0
  66. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_utilities.scss +9 -0
  67. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_variables.scss +997 -0
  68. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/_white-content.scss +491 -0
  69. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-animation-on-hover.scss +7 -0
  70. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-chart.scss +84 -0
  71. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-collapse.scss +51 -0
  72. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-contributions.scss +55 -0
  73. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-lock.scss +18 -0
  74. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-map.scss +3 -0
  75. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-plain.scss +16 -0
  76. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-pricing.scss +190 -0
  77. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-profile.scss +49 -0
  78. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-register.scss +79 -0
  79. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-stats-mini.scss +53 -0
  80. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-stats.scss +80 -0
  81. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-subcategories.scss +3 -0
  82. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-task.scss +31 -0
  83. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-testimonials.scss +46 -0
  84. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-user.scss +77 -0
  85. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/cards/_card-wizard.scss +21 -0
  86. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_alert.scss +14 -0
  87. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_background-variant.scss +18 -0
  88. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_badges.scss +15 -0
  89. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_buttons.scss +343 -0
  90. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_dropdown.scss +26 -0
  91. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_forms.scss +127 -0
  92. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_icon.scss +4 -0
  93. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_inputs.scss +234 -0
  94. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_modals.scss +15 -0
  95. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_page-header.scss +7 -0
  96. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_popovers.scss +41 -0
  97. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_vendor-prefixes.scss +202 -0
  98. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/_wizard.scss +26 -0
  99. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/mixins/opacity.scss +8 -0
  100. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_backgrounds.scss +42 -0
  101. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_floating.scss +54 -0
  102. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_helper.scss +62 -0
  103. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_position.scss +19 -0
  104. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_shadows.scss +10 -0
  105. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_sizing.scss +5 -0
  106. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_spacing.scss +105 -0
  107. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_text.scss +40 -0
  108. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/utilities/_transform.scss +8 -0
  109. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-animate-bootstrap-notify.scss +227 -0
  110. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-bootstrap-select.scss +358 -0
  111. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-bootstrap-switch.scss +316 -0
  112. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-card-wizard.scss +315 -0
  113. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-datatables.net.scss +135 -0
  114. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-datetimepicker.scss +527 -0
  115. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-fullcalendar.scss +1528 -0
  116. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-jasny-fileupload.scss +116 -0
  117. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-jquery.jvectormap.scss +136 -0
  118. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-nouislider.scss +373 -0
  119. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-perfect-scrollbar.scss +116 -0
  120. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-sweetalert2.scss +711 -0
  121. data/lib/viniBaxter/sass/desk_front/beckyBaxter/custom/vendor/_plugin-tagsinput.scss +79 -0
  122. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_alert.scss +14 -0
  123. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_background-variant.scss +18 -0
  124. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_badges.scss +15 -0
  125. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_buttons.scss +343 -0
  126. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_dropdown.scss +26 -0
  127. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_forms.scss +127 -0
  128. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_icon.scss +4 -0
  129. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_inputs.scss +234 -0
  130. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_modals.scss +15 -0
  131. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_page-header.scss +7 -0
  132. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_popovers.scss +41 -0
  133. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_vendor-prefixes.scss +202 -0
  134. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/_wizard.scss +26 -0
  135. data/lib/viniBaxter/sass/desk_front/beckyBaxter/mixins/opacity.scss +8 -0
  136. data/lib/viniBaxter/sass/desk_front/dashkit/_avatar.scss +1 -1
  137. data/lib/viniBaxter/sass/desk_front/dashkit/_card.scss +2 -2
  138. data/lib/viniBaxter/sass/desk_front/dashkit/_icon.scss +2 -2
  139. data/lib/viniBaxter/sass/desk_front/dashkit/_list-group.scss +4 -3
  140. data/lib/viniBaxter/sass/desk_front/dashkit/_navbar.scss +4 -4
  141. data/viniBaxter-desk_front.gemspec +1 -1
  142. metadata +132 -18
  143. data/Gemfile.lock +0 -35
@@ -0,0 +1,228 @@
1
+ .card{
2
+ background: $card-black-background;
3
+ border: 0;
4
+ position: relative;
5
+ width: 100%;
6
+ margin-bottom: 30px;
7
+ box-shadow: $box-shadow;
8
+
9
+
10
+ label{
11
+ color: rgba($white, 0.6);
12
+ }
13
+
14
+ .card-title {
15
+ margin-bottom: .75rem;
16
+ }
17
+
18
+ .card-body{
19
+ padding: 15px;
20
+
21
+ &.table-full-width{
22
+ padding-left: 0;
23
+ padding-right: 0;
24
+ }
25
+
26
+ .card-title{
27
+ color: $white;
28
+ text-transform: inherit;
29
+ font-weight: $font-weight-light;
30
+ margin-bottom: .75rem;
31
+ }
32
+
33
+ .card-description, .card-category{
34
+ color: rgba($white, 0.6);
35
+ }
36
+
37
+ }
38
+
39
+ .card-header{ // KEEPBECKY
40
+ &:not([data-background-color]){
41
+ background-color: transparent;
42
+ }
43
+ padding: 15px 15px 0;
44
+ border: 0;
45
+ color: rgba($white,0.8);
46
+ &.becky{ // KEEPBECKY
47
+ display: block!important
48
+ }
49
+
50
+ .card-title{
51
+ color: $white;
52
+ font-weight: 100;
53
+ }
54
+
55
+ .card-category{
56
+ color: $dark-gray;
57
+ margin-bottom: 5px;
58
+ font-weight: 300;
59
+ }
60
+ }
61
+
62
+ .map{
63
+ border-radius: $border-radius-sm;
64
+
65
+ &.map-big{
66
+ height: 420px;
67
+ }
68
+ }
69
+
70
+ &.card-white{
71
+ background: $white;
72
+
73
+ .card-title{
74
+ color: $black;
75
+ }
76
+ .card-category, .stats{
77
+ color: $card-stats-gray;
78
+ }
79
+
80
+ //style for inputs
81
+
82
+ @include form-control-placeholder(rgba($black,0.4), 1);
83
+ .has-danger{
84
+ .form-control, .input-group-prepend .input-group-text{
85
+ border-color: $danger-states;
86
+ }
87
+ }
88
+
89
+ .input-group-prepend .input-group-text{
90
+ border-color: rgba($black-states,0.2);
91
+ color: $black-states;
92
+ }
93
+
94
+ .form-control{
95
+ color: $black;
96
+ border-color: rgba($black-states,0.2);
97
+ &:focus{
98
+ border-color: $primary;
99
+ }
100
+ }
101
+ label:not(.btn){
102
+ color: $default;
103
+ }
104
+
105
+ .form-group.no-border,
106
+ .input-group.no-border {
107
+ .form-control,
108
+ .form-control + .input-group-prepend .input-group-text,
109
+ .form-control + .input-group-append .input-group-text,
110
+ .input-group-prepend .input-group-text,
111
+ .input-group-append .input-group-text{
112
+ background-color: $opacity-gray-3;
113
+ &:focus,
114
+ &:active,
115
+ &:active{
116
+ background-color: $opacity-gray-5;
117
+ }
118
+ }
119
+
120
+ .form-control {
121
+ &:focus {
122
+ & + .input-group-prepend .input-group-text,
123
+ & + .input-group-append .input-group-text{
124
+ background-color: $transparent-bg;
125
+ }
126
+ }
127
+ }
128
+
129
+
130
+ }
131
+
132
+ .input-group[disabled]{
133
+ .input-group-prepend .input-group-text,
134
+ .input-group-append .input-group-text{
135
+ background-color: $black;
136
+ }
137
+ }
138
+
139
+ .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control{
140
+ background: $light-gray;
141
+ border-color: rgba($black-states,0.3);
142
+ }
143
+
144
+ .input-group-focus{
145
+ .input-group-prepend .input-group-text,
146
+ .input-group-append .input-group-text,
147
+ .form-control{
148
+ background-color: $white;
149
+ border-color: $primary;
150
+ }
151
+
152
+ &.no-border{
153
+ .input-group-prepend .input-group-text,
154
+ .input-group-append .input-group-text{
155
+
156
+ background-color: $opacity-gray-5;
157
+ }
158
+ }
159
+ }
160
+ .input-group-prepend .input-group-text {
161
+ border-right: none;
162
+ }
163
+
164
+ .input-group-append .input-group-text {
165
+ border-left: none;
166
+ }
167
+
168
+ .has-danger .form-control:focus, .has-success.input-group-focus .input-group-append .input-group-text, .has-success.input-group-focus .input-group-prepend .input-group-text {
169
+ border-color: $danger-states;
170
+ }
171
+
172
+ .has-success .form-control:focus, .has-success.input-group-focus .input-group-append .input-group-text, .has-success.input-group-focus .input-group-prepend .input-group-text {
173
+ border-color: darken($success, 10%);
174
+ }
175
+ }
176
+
177
+
178
+ &.card-plain {
179
+ background: transparent;
180
+ box-shadow: none;
181
+ }
182
+
183
+ .image{
184
+ overflow: hidden;
185
+ height: 200px;
186
+ position: relative;
187
+ }
188
+
189
+ .avatar{
190
+ &.becky{
191
+ width: 30px;
192
+ height: 30px;
193
+ overflow: hidden;
194
+ border-radius: 50%; // KEEPBECKY
195
+ margin-bottom: 15px;
196
+ }
197
+ }
198
+
199
+ label{
200
+ font-size: $font-size-sm;
201
+ margin-bottom: 5px;
202
+
203
+ }
204
+
205
+ .card-footer{
206
+ background-color: transparent;
207
+ border: 0;
208
+ padding: 15px;
209
+
210
+
211
+ .stats{
212
+ i{
213
+ margin-right: 5px;
214
+ position: relative;
215
+
216
+ }
217
+ }
218
+
219
+ h6{
220
+ margin-bottom: 0;
221
+ padding: 7px 0;
222
+ }
223
+ }
224
+ }
225
+
226
+ .card-body{
227
+ padding: $card-spacer-y;
228
+ }
@@ -0,0 +1,154 @@
1
+ .form-check{
2
+ margin-top: .5rem;
3
+ padding-left: 0;
4
+ }
5
+
6
+ .form-check .form-check-label{
7
+ display: inline-block;
8
+ position: relative;
9
+ cursor: pointer;
10
+ padding-left: 25px;
11
+ line-height: 18px;
12
+ margin-bottom: 0;
13
+ -webkit-transition: color 0.3s linear;
14
+ -moz-transition: color 0.3s linear;
15
+ -o-transition: color 0.3s linear;
16
+ -ms-transition: color 0.3s linear;
17
+ transition: color 0.3s linear;
18
+ }
19
+ .radio .form-check-sign{
20
+ padding-left: 28px;
21
+ }
22
+
23
+ .form-check-radio.form-check-inline .form-check-label {
24
+ padding-left: 5px;
25
+ margin-right: 10px;
26
+ }
27
+
28
+ .form-check .form-check-sign::before,
29
+ .form-check .form-check-sign::after{
30
+ content: " ";
31
+ display: inline-block;
32
+ position: absolute;
33
+ width: 17px;
34
+ height: 17px;
35
+ left: 0;
36
+ cursor: pointer;
37
+ border-radius: 3px;
38
+ top: 0;
39
+ border: 1px solid darken($dark-gray,10%);
40
+ -webkit-transition: opacity 0.3s linear;
41
+ -moz-transition: opacity 0.3s linear;
42
+ -o-transition: opacity 0.3s linear;
43
+ -ms-transition: opacity 0.3s linear;
44
+ transition: opacity 0.3s linear;
45
+ }
46
+
47
+ .form-check input[type="checkbox"]:checked + .form-check-sign::before,
48
+ .form-check input[type="checkbox"]:checked + .form-check-sign::before{
49
+ border: none;
50
+ background-color: $primary;
51
+ }
52
+
53
+ .form-check .form-check-sign::after{
54
+ font-family: 'nucleo';
55
+ content: "\ea1b";
56
+ top: 0px;
57
+ text-align: center;
58
+ font-size: 14px;
59
+ opacity: 0;
60
+ color: $white;
61
+ font-weight: $font-weight-bold;
62
+ border: 0;
63
+ background-color: inherit;
64
+ }
65
+
66
+ .form-check.disabled .form-check-label,
67
+ .form-check.disabled .form-check-label {
68
+ color: $dark-gray;
69
+ opacity: .5;
70
+ cursor: not-allowed;
71
+ }
72
+
73
+ .form-check input[type="checkbox"],
74
+ .radio input[type="radio"]{
75
+ opacity: 0;
76
+ position: absolute;
77
+ visibility: hidden;
78
+ }
79
+ .form-check input[type="checkbox"]:checked + .form-check-sign::after{
80
+ opacity: 1;
81
+ font-size: 10px;
82
+ margin-top: 0;
83
+ }
84
+
85
+
86
+ .form-check input[type="checkbox"]+ .form-check-sign::after{
87
+ opacity: 0;
88
+ font-size: 10px;
89
+ margin-top: 0;
90
+ }
91
+
92
+ .form-control input[type="checkbox"]:disabled + .form-check-sign::before,
93
+ .checkbox input[type="checkbox"]:disabled + .form-check-sign::after{
94
+ cursor: not-allowed;
95
+ }
96
+
97
+ .form-check input[type="checkbox"]:disabled + .form-check-sign,
98
+ .form-check input[type="radio"]:disabled + .form-check-sign{
99
+ pointer-events: none;
100
+ }
101
+
102
+ .form-check-radio .form-check-label{
103
+ padding-top: 3px;
104
+ }
105
+ .form-check-radio .form-check-sign::before,
106
+ .form-check-radio .form-check-sign::after{
107
+ content: " ";
108
+ width: 18px;
109
+ height: 18px;
110
+ border-radius: 50%;
111
+ border: 1px solid darken($dark-gray,10%);
112
+ display: inline-block;
113
+ position: absolute;
114
+ left: 0px;
115
+ top: 3px;
116
+ padding: 1px;
117
+ -webkit-transition: opacity 0.3s linear;
118
+ -moz-transition: opacity 0.3s linear;
119
+ -o-transition: opacity 0.3s linear;
120
+ -ms-transition: opacity 0.3s linear;
121
+ transition: opacity 0.3s linear;
122
+ }
123
+
124
+ .form-check-radio input[type="radio"] + .form-check-sign:after,
125
+ .form-check-radio input[type="radio"] {
126
+ opacity: 0;
127
+ }
128
+ .form-check-radio input[type="radio"]:checked + .form-check-sign::after {
129
+ width: 6px;
130
+ height: 6px;
131
+ background-color: $primary;
132
+ border-color: $primary;
133
+ top: 9px;
134
+ left: 6px;
135
+ opacity: 1;
136
+ }
137
+
138
+ .form-check-radio input[type="radio"]:checked + .form-check-sign::before {
139
+ border-color: $primary;
140
+ }
141
+
142
+
143
+ .form-check-radio input[type="radio"]:checked + .form-check-sign::after{
144
+ opacity: 1;
145
+ }
146
+
147
+ .form-check-radio input[type="radio"]:disabled + .form-check-sign {
148
+ color: $dark-gray;
149
+ }
150
+
151
+ .form-check-radio input[type="radio"]:disabled + .form-check-sign::before,
152
+ .form-check-radio input[type="radio"]:disabled + .form-check-sign::after {
153
+ color: $dark-gray;
154
+ }
@@ -0,0 +1,29 @@
1
+ .close {
2
+ @if $enable-transitions {
3
+ transition: $transition-base;
4
+ }
5
+ &>span:not(.sr-only) {
6
+ background-color: $close-bg;
7
+ color: $close-color;
8
+ line-height: 17px;
9
+ height: 1.25rem;
10
+ width: 1.25rem;
11
+ border-radius: 50%;
12
+ font-size: 1.25rem;
13
+ display: block;
14
+ @if $enable-transitions {
15
+ transition: $transition-base;
16
+ }
17
+ }
18
+
19
+ &:hover,
20
+ &:focus {
21
+ background-color: $close-hover-bg;
22
+ color: $close-hover-color;
23
+ outline: none;
24
+
25
+ span:not(.sr-only) {
26
+ background-color: $close-hover-bg;
27
+ }
28
+ }
29
+ }
@@ -0,0 +1,186 @@
1
+ .custom-control-label {
2
+ // Background-color and (when enabled) gradient
3
+ &::before {
4
+ border: $custom-control-indicator-border-width solid $custom-control-indicator-border-color;
5
+ @if $enable-transitions {
6
+ transition: $input-transition;
7
+ }
8
+ }
9
+
10
+ span {
11
+ position: relative;
12
+ top: 2px;
13
+ }
14
+ }
15
+
16
+ .custom-control-label {
17
+ margin-bottom: 0;
18
+ }
19
+
20
+ .custom-control-input {
21
+ &:active~.custom-control-label::before {
22
+ border-color: $custom-control-indicator-active-border-color;
23
+ }
24
+ }
25
+
26
+ // Alternative custom control
27
+ .custom-control-alternative {
28
+ .custom-control-label {
29
+ // Background-color and (when enabled) gradient
30
+ &::before {
31
+ border: 0;
32
+ box-shadow: $input-alternative-box-shadow;
33
+ }
34
+ }
35
+
36
+ .custom-control-input {
37
+ &:checked {
38
+ ~ .custom-control-label {
39
+ &::before {
40
+ box-shadow: $input-focus-alternative-box-shadow;
41
+ }
42
+ }
43
+ }
44
+
45
+ &:active~.custom-control-label::before,
46
+ &:focus~.custom-control-label::before {
47
+ box-shadow: $input-alternative-box-shadow;
48
+ }
49
+ }
50
+ }
51
+
52
+
53
+ // Checkboxes
54
+ .custom-checkbox {
55
+ .custom-control-input~.custom-control-label {
56
+ cursor: pointer;
57
+ font-size: $font-size-sm;
58
+ }
59
+
60
+ .custom-control-input {
61
+ &:checked {
62
+ ~ .custom-control-label {
63
+ &::before {
64
+ border-color: $custom-control-indicator-checked-border-color;
65
+ }
66
+ &::after {
67
+ background-image: $custom-checkbox-indicator-icon-checked;
68
+ }
69
+ }
70
+ }
71
+
72
+ &:disabled {
73
+ ~ .custom-control-label {
74
+ &::before {
75
+ border-color: $custom-control-indicator-disabled-bg;
76
+ }
77
+ }
78
+
79
+ &:checked {
80
+ &::before {
81
+ border-color: $custom-control-indicator-checked-disabled-bg;
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+
88
+ // Radios
89
+ .custom-radio {
90
+ .custom-control-input~.custom-control-label {
91
+ cursor: pointer;
92
+ font-size: $font-size-sm;
93
+ }
94
+
95
+ .custom-control-input {
96
+ &:checked {
97
+ ~ .custom-control-label {
98
+ &::before {
99
+ border-color: $custom-control-indicator-checked-border-color;
100
+ }
101
+ &::after {
102
+ background-image: $custom-radio-indicator-icon-checked;
103
+ }
104
+ }
105
+ }
106
+
107
+ &:disabled {
108
+ ~ .custom-control-label {
109
+ &::before {
110
+ border-color: $custom-control-indicator-disabled-bg;
111
+ }
112
+ }
113
+
114
+ &:checked {
115
+ &::before {
116
+ border-color: $custom-control-indicator-checked-disabled-bg;
117
+ }
118
+ }
119
+ }
120
+ }
121
+
122
+ }
123
+
124
+ // Toggles
125
+ .custom-toggle {
126
+ position: relative;
127
+ display: inline-block;
128
+ width: 50px;
129
+ height: 1.5rem;
130
+
131
+ input {
132
+ display: none;
133
+
134
+ &:checked {
135
+ + .custom-toggle-slider {
136
+ border: $custom-control-indicator-border-width solid $custom-control-indicator-checked-border-color;
137
+
138
+ &:before {
139
+ background: $custom-toggle-checked-bg;
140
+ transform: translateX(1.625rem);
141
+ }
142
+ }
143
+ }
144
+
145
+ &:disabled {
146
+ + .custom-toggle-slider {
147
+ border: $custom-control-indicator-border-width solid $custom-control-indicator-disabled-bg;
148
+ }
149
+
150
+ &:checked {
151
+ + .custom-toggle-slider {
152
+ border: $custom-control-indicator-border-width solid $custom-control-indicator-disabled-bg;
153
+
154
+ &:before {
155
+ background-color: lighten($custom-control-indicator-checked-bg, 10%);
156
+ }
157
+ }
158
+ }
159
+ }
160
+ }
161
+ }
162
+
163
+ .custom-toggle-slider {
164
+ position: absolute;
165
+ cursor: pointer;
166
+ top: 0;
167
+ left: 0;
168
+ right: 0;
169
+ bottom: 0;
170
+ border: $custom-control-indicator-border-width solid $input-border-color;
171
+ border-radius: 34px !important;
172
+ background-color: transparent;
173
+
174
+
175
+ &:before {
176
+ position: absolute;
177
+ content: "";
178
+ height: 18px;
179
+ width: 18px;
180
+ left: 2px;
181
+ bottom: 2px;
182
+ border-radius: 50% !important;
183
+ background-color: $custom-toggle-slider-bg;
184
+ transition: $input-transition;
185
+ }
186
+ }