mumuki-styles 2.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (185) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/fonts/dev-awesome.eot +0 -0
  3. data/app/assets/fonts/dev-awesome.ttf +0 -0
  4. data/app/assets/fonts/dev-awesome.woff +0 -0
  5. data/app/assets/fonts/dev-awesome.woff2 +0 -0
  6. data/app/assets/javascripts/mumuki-styles.js +6256 -1739
  7. data/app/assets/stylesheets/css/mumuki-styles.css +9905 -5622
  8. data/app/assets/stylesheets/scss/_colors.scss +64 -30
  9. data/app/assets/stylesheets/scss/_fa5.scss +2 -0
  10. data/app/assets/stylesheets/scss/_fonts.scss +1 -1
  11. data/app/assets/stylesheets/scss/_footer.scss +23 -16
  12. data/app/assets/stylesheets/scss/_links.scss +7 -0
  13. data/app/assets/stylesheets/scss/_modules.scss +4 -2
  14. data/app/assets/stylesheets/scss/_navbar.scss +30 -22
  15. data/app/assets/stylesheets/scss/_vendor.scss +1 -4
  16. data/app/assets/stylesheets/scss/bootswatch/_bootswatch.scss +188 -255
  17. data/app/assets/stylesheets/scss/bootswatch/_variables.scss +80 -843
  18. data/app/assets/stylesheets/scss/modules/_blockquote.scss +7 -0
  19. data/app/assets/stylesheets/scss/modules/_breadcrumb.scss +1 -1
  20. data/app/assets/stylesheets/scss/modules/_callout.scss +4 -4
  21. data/app/assets/stylesheets/scss/modules/_code.scss +5 -0
  22. data/app/assets/stylesheets/scss/modules/_conversation.scss +4 -5
  23. data/app/assets/stylesheets/scss/modules/_follow_us.scss +4 -4
  24. data/app/assets/stylesheets/scss/modules/_form.scss +19 -0
  25. data/app/assets/stylesheets/scss/modules/_multiple_scenarios.scss +5 -5
  26. data/app/assets/stylesheets/scss/modules/_new_message.scss +2 -2
  27. data/app/assets/stylesheets/scss/modules/_pre.scss +11 -0
  28. data/app/assets/stylesheets/scss/mumuki-styles.scss +2 -1
  29. data/app/assets/stylesheets/vendor/bootstrap/_accordion.scss +116 -0
  30. data/app/assets/stylesheets/vendor/bootstrap/_alert.scss +57 -0
  31. data/app/assets/stylesheets/vendor/bootstrap/_badge.scss +29 -0
  32. data/app/assets/stylesheets/vendor/bootstrap/_breadcrumb.scss +28 -0
  33. data/app/assets/stylesheets/vendor/bootstrap/_button-group.scss +139 -0
  34. data/app/assets/stylesheets/vendor/bootstrap/_buttons.scss +111 -0
  35. data/app/assets/stylesheets/vendor/bootstrap/_card.scss +215 -0
  36. data/app/assets/stylesheets/vendor/bootstrap/_carousel.scss +229 -0
  37. data/app/assets/stylesheets/vendor/bootstrap/_close.scss +40 -0
  38. data/app/assets/stylesheets/vendor/bootstrap/_containers.scss +41 -0
  39. data/app/assets/stylesheets/vendor/bootstrap/_dropdown.scss +246 -0
  40. data/app/assets/stylesheets/vendor/bootstrap/_forms.scss +9 -0
  41. data/app/assets/stylesheets/vendor/bootstrap/_functions.scss +205 -0
  42. data/app/assets/stylesheets/vendor/bootstrap/_grid.scss +22 -0
  43. data/app/assets/stylesheets/vendor/bootstrap/_helpers.scss +7 -0
  44. data/app/assets/stylesheets/vendor/bootstrap/_images.scss +42 -0
  45. data/app/assets/stylesheets/vendor/bootstrap/_list-group.scss +174 -0
  46. data/app/assets/stylesheets/vendor/bootstrap/_mixins.scss +41 -0
  47. data/app/assets/stylesheets/vendor/bootstrap/_modal.scss +237 -0
  48. data/app/assets/stylesheets/vendor/bootstrap/_nav.scss +139 -0
  49. data/app/assets/stylesheets/vendor/bootstrap/_navbar.scss +306 -0
  50. data/app/assets/stylesheets/vendor/bootstrap/_offcanvas.scss +77 -0
  51. data/app/assets/stylesheets/vendor/bootstrap/_pagination.scss +64 -0
  52. data/app/assets/stylesheets/vendor/bootstrap/_popover.scss +158 -0
  53. data/app/assets/stylesheets/vendor/bootstrap/_progress.scss +48 -0
  54. data/app/assets/stylesheets/vendor/bootstrap/_reboot.scss +621 -0
  55. data/app/assets/stylesheets/vendor/bootstrap/_root.scss +16 -0
  56. data/app/assets/stylesheets/vendor/bootstrap/_spinners.scss +69 -0
  57. data/app/assets/stylesheets/vendor/bootstrap/_tables.scss +150 -0
  58. data/app/assets/stylesheets/vendor/bootstrap/_toasts.scss +51 -0
  59. data/app/assets/stylesheets/vendor/bootstrap/_tooltip.scss +115 -0
  60. data/app/assets/stylesheets/vendor/bootstrap/_transitions.scss +21 -0
  61. data/app/assets/stylesheets/vendor/bootstrap/_type.scss +104 -0
  62. data/app/assets/stylesheets/vendor/bootstrap/_utilities.scss +594 -0
  63. data/app/assets/stylesheets/vendor/bootstrap/_variables.scss +1464 -0
  64. data/app/assets/stylesheets/vendor/bootstrap/bootstrap-utilities.scss +18 -0
  65. data/app/assets/stylesheets/vendor/bootstrap/bootstrap.scss +52 -0
  66. data/app/assets/stylesheets/vendor/bootstrap/forms/_floating-labels.scss +61 -0
  67. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-check.scss +152 -0
  68. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-control.scss +219 -0
  69. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-range.scss +91 -0
  70. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-select.scss +67 -0
  71. data/app/assets/stylesheets/vendor/bootstrap/forms/_form-text.scss +11 -0
  72. data/app/assets/stylesheets/vendor/bootstrap/forms/_input-group.scss +121 -0
  73. data/app/assets/stylesheets/vendor/bootstrap/forms/_labels.scss +36 -0
  74. data/app/assets/stylesheets/vendor/bootstrap/forms/_validation.scss +12 -0
  75. data/app/assets/stylesheets/vendor/bootstrap/helpers/_clearfix.scss +3 -0
  76. data/app/assets/stylesheets/vendor/bootstrap/helpers/_colored-links.scss +12 -0
  77. data/app/assets/stylesheets/vendor/bootstrap/helpers/_position.scss +30 -0
  78. data/app/assets/stylesheets/vendor/bootstrap/helpers/_ratio.scss +26 -0
  79. data/app/assets/stylesheets/vendor/bootstrap/helpers/_stretched-link.scss +15 -0
  80. data/app/assets/stylesheets/vendor/bootstrap/helpers/_text-truncation.scss +7 -0
  81. data/app/assets/stylesheets/vendor/bootstrap/helpers/_visually-hidden.scss +8 -0
  82. data/app/assets/stylesheets/vendor/bootstrap/mixins/_alert.scss +11 -0
  83. data/app/assets/stylesheets/vendor/bootstrap/mixins/_border-radius.scss +78 -0
  84. data/app/assets/stylesheets/vendor/bootstrap/mixins/_box-shadow.scss +18 -0
  85. data/app/assets/stylesheets/vendor/bootstrap/mixins/_breakpoints.scss +127 -0
  86. data/app/assets/stylesheets/vendor/bootstrap/mixins/_buttons.scss +133 -0
  87. data/app/assets/stylesheets/vendor/bootstrap/mixins/_caret.scss +64 -0
  88. data/app/assets/stylesheets/vendor/bootstrap/mixins/_clearfix.scss +9 -0
  89. data/app/assets/stylesheets/vendor/bootstrap/mixins/_container.scss +9 -0
  90. data/app/assets/stylesheets/vendor/bootstrap/mixins/_deprecate.scss +10 -0
  91. data/app/assets/stylesheets/vendor/bootstrap/mixins/_forms.scss +134 -0
  92. data/app/assets/stylesheets/vendor/bootstrap/mixins/_gradients.scss +47 -0
  93. data/app/assets/stylesheets/vendor/bootstrap/mixins/_grid.scss +120 -0
  94. data/app/assets/stylesheets/vendor/bootstrap/mixins/_image.scss +16 -0
  95. data/app/assets/stylesheets/vendor/bootstrap/mixins/_list-group.scss +24 -0
  96. data/app/assets/stylesheets/vendor/bootstrap/mixins/_lists.scss +7 -0
  97. data/app/assets/stylesheets/vendor/bootstrap/mixins/_pagination.scss +31 -0
  98. data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap → bootstrap}/mixins/_reset-text.scss +6 -7
  99. data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap → bootstrap}/mixins/_resize.scss +1 -1
  100. data/app/assets/stylesheets/vendor/bootstrap/mixins/_table-variants.scss +21 -0
  101. data/app/assets/stylesheets/vendor/{bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-overflow.scss → bootstrap/mixins/_text-truncate.scss} +2 -2
  102. data/app/assets/stylesheets/vendor/bootstrap/mixins/_transition.scss +26 -0
  103. data/app/assets/stylesheets/vendor/bootstrap/mixins/_utilities.scss +68 -0
  104. data/app/assets/stylesheets/vendor/bootstrap/mixins/_visually-hidden.scss +29 -0
  105. data/app/assets/stylesheets/vendor/bootstrap/utilities/_api.scss +47 -0
  106. data/app/assets/stylesheets/vendor/bootstrap/vendor/_rfs.scss +312 -0
  107. data/app/assets/stylesheets/vendor/dev-awesome/dist/scss/_dev-awesome.scss +3 -3
  108. data/lib/mumuki/styles/version.rb +1 -1
  109. metadata +85 -81
  110. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.eot +0 -0
  111. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.svg +0 -288
  112. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.ttf +0 -0
  113. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff +0 -0
  114. data/app/assets/fonts/bootstrap/glyphicons-halflings-regular.woff2 +0 -0
  115. data/app/assets/stylesheets/scss/_awesome-bootstrap-checkbox-overrides.scss +0 -8
  116. data/app/assets/stylesheets/scss/modules/_checkbox.scss +0 -65
  117. data/app/assets/stylesheets/scss/modules/_notification.scss +0 -15
  118. data/app/assets/stylesheets/vendor/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss +0 -245
  119. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/_bootstrap.scss +0 -56
  120. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_alerts.scss +0 -73
  121. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_badges.scss +0 -68
  122. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_breadcrumbs.scss +0 -28
  123. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_button-groups.scss +0 -244
  124. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_buttons.scss +0 -168
  125. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_carousel.scss +0 -270
  126. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_close.scss +0 -36
  127. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_code.scss +0 -69
  128. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_component-animations.scss +0 -37
  129. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_dropdowns.scss +0 -216
  130. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_forms.scss +0 -617
  131. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_glyphicons.scss +0 -307
  132. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_grid.scss +0 -84
  133. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_input-groups.scss +0 -171
  134. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_jumbotron.scss +0 -54
  135. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_labels.scss +0 -66
  136. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_list-group.scss +0 -130
  137. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_media.scss +0 -66
  138. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_mixins.scss +0 -40
  139. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_modals.scss +0 -150
  140. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navbar.scss +0 -662
  141. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_navs.scss +0 -242
  142. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_normalize.scss +0 -424
  143. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pager.scss +0 -54
  144. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_pagination.scss +0 -89
  145. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_panels.scss +0 -271
  146. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_popovers.scss +0 -131
  147. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_print.scss +0 -101
  148. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_progress-bars.scss +0 -87
  149. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-embed.scss +0 -35
  150. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_responsive-utilities.scss +0 -179
  151. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_scaffolding.scss +0 -161
  152. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tables.scss +0 -234
  153. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_thumbnails.scss +0 -38
  154. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_tooltip.scss +0 -101
  155. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_type.scss +0 -298
  156. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_utilities.scss +0 -55
  157. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss +0 -874
  158. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/_wells.scss +0 -29
  159. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_alerts.scss +0 -14
  160. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss +0 -12
  161. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_border-radius.scss +0 -18
  162. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_buttons.scss +0 -65
  163. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_center-block.scss +0 -7
  164. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_clearfix.scss +0 -22
  165. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_forms.scss +0 -88
  166. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_gradients.scss +0 -58
  167. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid-framework.scss +0 -81
  168. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_grid.scss +0 -122
  169. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_hide-text.scss +0 -21
  170. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_image.scss +0 -33
  171. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_labels.scss +0 -12
  172. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_list-group.scss +0 -32
  173. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-divider.scss +0 -10
  174. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_nav-vertical-align.scss +0 -9
  175. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_opacity.scss +0 -8
  176. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_pagination.scss +0 -24
  177. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_panels.scss +0 -24
  178. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_progress-bar.scss +0 -10
  179. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_reset-filter.scss +0 -8
  180. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_responsive-visibility.scss +0 -21
  181. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_size.scss +0 -10
  182. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_tab-focus.scss +0 -9
  183. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_table-row.scss +0 -28
  184. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_text-emphasis.scss +0 -12
  185. data/app/assets/stylesheets/vendor/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_vendor-prefixes.scss +0 -222
@@ -1,8 +0,0 @@
1
- $font-family-icon: 'Font Awesome 5 Free';
2
-
3
- @import "vendor/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.scss";
4
-
5
- .checkbox input[type="checkbox"]:checked+label::after,
6
- .checkbox input[type="radio"]:checked+label::after {
7
- font-weight: 600;
8
- }
@@ -1,65 +0,0 @@
1
- .mu-radio {
2
- div {
3
- clear: both;
4
- overflow: hidden;
5
- }
6
- label {
7
- width: 100%;
8
- font-weight: normal;
9
- }
10
- input[type="radio"],
11
- input[type="checkbox"] {
12
- &:empty {
13
- display: none;
14
- ~ label {
15
- position: relative;
16
- line-height: 2em;
17
- text-indent: 2.5em;
18
- cursor: pointer;
19
- user-select: none;
20
-
21
- &:before {
22
- position: absolute;
23
- display: block;
24
- top: 0;
25
- bottom: 0;
26
- left: 0;
27
- content: '';
28
- width: 2em;
29
- background: #D1D3D4;
30
- border-radius: 3px 0 0 3px;
31
- }
32
- }
33
- }
34
- &:hover:not(:checked) ~ label {
35
- color: #888;
36
- &:before {
37
- content: '\2714';
38
- text-indent: .9em;
39
- color: #C2C2C2;
40
- }
41
- }
42
- &:checked ~ label {
43
- color: #777;
44
-
45
- &:before {
46
- content: '\2714';
47
- text-indent: .6em;
48
- color: #333;
49
- background-color: #ccc;
50
- }
51
- }
52
- &:focus ~ label:before {
53
- box-shadow: 0 0 0 3px #999;
54
- }
55
- }
56
- &-default {
57
- input[type="radio"],
58
- input[type="checkbox"] {
59
- &:checked ~ label:before {
60
- color: white;
61
- background-color: $brand-complementary;
62
- }
63
- }
64
- }
65
- }
@@ -1,15 +0,0 @@
1
- .notifications-box-empty {
2
- display: none;
3
- }
4
-
5
- .badge-notifications {
6
- position: absolute;
7
- right: 57px;
8
- font-size: 0.55em;
9
- width: inherit;
10
- padding: 2px 4px;
11
- text-align: right;
12
- top: 6px;
13
- background-color: $brand-complementary;
14
- border: 1px solid white;
15
- }
@@ -1,245 +0,0 @@
1
- //
2
- // Checkboxes
3
- // --------------------------------------------------
4
-
5
-
6
- $font-family-icon: 'FontAwesome' !default;
7
- $fa-var-check: "\f00c" !default;
8
- $check-icon: $fa-var-check !default;
9
-
10
- @mixin checkbox-variant($parent, $color) {
11
- #{$parent} input[type="checkbox"]:checked + label,
12
- #{$parent} input[type="radio"]:checked + label {
13
- &::before {
14
- background-color: $color;
15
- border-color: $color;
16
- }
17
- &::after{
18
- color: #fff;
19
- }
20
- }
21
- }
22
-
23
- @mixin checkbox-variant-indeterminate($parent, $color) {
24
- #{$parent} input[type="checkbox"]:indeterminate + label,
25
- #{$parent} input[type="radio"]:indeterminate + label {
26
- &::before {
27
- background-color: $color;
28
- border-color: $color;
29
- }
30
- &::after{
31
- background-color: #fff;
32
- }
33
- }
34
- }
35
-
36
-
37
-
38
- .checkbox{
39
- padding-left: 20px;
40
-
41
- label{
42
- display: inline-block;
43
- vertical-align: middle;
44
- position: relative;
45
- padding-left: 5px;
46
-
47
- &::before{
48
- content: "";
49
- display: inline-block;
50
- position: absolute;
51
- width: 17px;
52
- height: 17px;
53
- left: 0;
54
- margin-left: -20px;
55
- border: 1px solid $input-border;
56
- border-radius: 3px;
57
- background-color: #fff;
58
- @include transition(border 0.15s ease-in-out, color 0.15s ease-in-out);
59
- }
60
-
61
- &::after{
62
- display: inline-block;
63
- position: absolute;
64
- width: 16px;
65
- height: 16px;
66
- left: 0;
67
- top: 0;
68
- margin-left: -20px;
69
- padding-left: 3px;
70
- padding-top: 1px;
71
- font-size: 11px;
72
- color: $input-color;
73
- }
74
- }
75
-
76
- input[type="checkbox"],
77
- input[type="radio"] {
78
- opacity: 0;
79
- z-index: 1;
80
-
81
- &:focus + label::before{
82
- @include tab-focus();
83
- }
84
-
85
- &:checked + label::after{
86
- font-family: $font-family-icon;
87
- content: $check-icon;
88
- }
89
-
90
- &:indeterminate + label::after{
91
- display: block;
92
- content: "";
93
- width: 10px;
94
- height: 3px;
95
- background-color: #555555;
96
- border-radius: 2px;
97
- margin-left: -16.5px;
98
- margin-top: 7px;
99
- }
100
-
101
- &:disabled + label{
102
- opacity: 0.65;
103
-
104
- &::before{
105
- background-color: $input-bg-disabled;
106
- cursor: not-allowed;
107
- }
108
- }
109
-
110
- }
111
-
112
- &.checkbox-circle label::before{
113
- border-radius: 50%;
114
- }
115
-
116
- &.checkbox-inline{
117
- margin-top: 0;
118
- }
119
- }
120
-
121
- @include checkbox-variant('.checkbox-primary', $brand-primary);
122
- @include checkbox-variant('.checkbox-danger', $brand-danger);
123
- @include checkbox-variant('.checkbox-info', $brand-info);
124
- @include checkbox-variant('.checkbox-warning', $brand-warning);
125
- @include checkbox-variant('.checkbox-success', $brand-success);
126
-
127
-
128
- @include checkbox-variant-indeterminate('.checkbox-primary', $brand-primary);
129
- @include checkbox-variant-indeterminate('.checkbox-danger', $brand-danger);
130
- @include checkbox-variant-indeterminate('.checkbox-info', $brand-info);
131
- @include checkbox-variant-indeterminate('.checkbox-warning', $brand-warning);
132
- @include checkbox-variant-indeterminate('.checkbox-success', $brand-success);
133
-
134
- //
135
- // Radios
136
- // --------------------------------------------------
137
-
138
- @mixin radio-variant($parent, $color) {
139
- #{$parent} input[type="radio"]{
140
- + label{
141
- &::after{
142
- background-color: $color;
143
- }
144
- }
145
- &:checked + label{
146
- &::before {
147
- border-color: $color;
148
- }
149
- &::after{
150
- background-color: $color;
151
- }
152
- }
153
- }
154
- }
155
-
156
- .radio{
157
- padding-left: 20px;
158
-
159
- label{
160
- display: inline-block;
161
- vertical-align: middle;
162
- position: relative;
163
- padding-left: 5px;
164
-
165
- &::before{
166
- content: "";
167
- display: inline-block;
168
- position: absolute;
169
- width: 17px;
170
- height: 17px;
171
- left: 0;
172
- margin-left: -20px;
173
- border: 1px solid $input-border;
174
- border-radius: 50%;
175
- background-color: #fff;
176
- @include transition(border 0.15s ease-in-out);
177
- }
178
-
179
- &::after{
180
- display: inline-block;
181
- position: absolute;
182
- content: " ";
183
- width: 11px;
184
- height: 11px;
185
- left: 3px;
186
- top: 3px;
187
- margin-left: -20px;
188
- border-radius: 50%;
189
- background-color: $input-color;
190
- @include scale(0, 0);
191
-
192
- @include transition-transform(.1s cubic-bezier(.8,-0.33,.2,1.33));
193
- //curve - http://cubic-bezier.com/#.8,-0.33,.2,1.33
194
- }
195
- }
196
-
197
- input[type="radio"]{
198
- opacity: 0;
199
- z-index: 1;
200
-
201
- &:focus + label::before{
202
- @include tab-focus();
203
- }
204
-
205
- &:checked + label::after{
206
- @include scale(1, 1);
207
- }
208
-
209
- &:disabled + label{
210
- opacity: 0.65;
211
-
212
- &::before{
213
- cursor: not-allowed;
214
- }
215
- }
216
-
217
- }
218
-
219
- &.radio-inline{
220
- margin-top: 0;
221
- }
222
- }
223
-
224
- @include radio-variant('.radio-primary', $brand-primary);
225
- @include radio-variant('.radio-danger', $brand-danger);
226
- @include radio-variant('.radio-info', $brand-info);
227
- @include radio-variant('.radio-warning', $brand-warning);
228
- @include radio-variant('.radio-success', $brand-success);
229
-
230
-
231
- input[type="checkbox"],
232
- input[type="radio"] {
233
- &.styled:checked + label:after {
234
- font-family: $font-family-icon;
235
- content: $check-icon;
236
- }
237
- .styled:checked + label {
238
- &::before {
239
- color: #fff;
240
- }
241
- &::after {
242
- color: #fff;
243
- }
244
- }
245
- }
@@ -1,56 +0,0 @@
1
- /*!
2
- * Bootstrap v3.3.7 (http://getbootstrap.com)
3
- * Copyright 2011-2016 Twitter, Inc.
4
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
5
- */
6
-
7
- // Core variables and mixins
8
- @import "bootstrap/variables";
9
- @import "bootstrap/mixins";
10
-
11
- // Reset and dependencies
12
- @import "bootstrap/normalize";
13
- @import "bootstrap/print";
14
- @import "bootstrap/glyphicons";
15
-
16
- // Core CSS
17
- @import "bootstrap/scaffolding";
18
- @import "bootstrap/type";
19
- @import "bootstrap/code";
20
- @import "bootstrap/grid";
21
- @import "bootstrap/tables";
22
- @import "bootstrap/forms";
23
- @import "bootstrap/buttons";
24
-
25
- // Components
26
- @import "bootstrap/component-animations";
27
- @import "bootstrap/dropdowns";
28
- @import "bootstrap/button-groups";
29
- @import "bootstrap/input-groups";
30
- @import "bootstrap/navs";
31
- @import "bootstrap/navbar";
32
- @import "bootstrap/breadcrumbs";
33
- @import "bootstrap/pagination";
34
- @import "bootstrap/pager";
35
- @import "bootstrap/labels";
36
- @import "bootstrap/badges";
37
- @import "bootstrap/jumbotron";
38
- @import "bootstrap/thumbnails";
39
- @import "bootstrap/alerts";
40
- @import "bootstrap/progress-bars";
41
- @import "bootstrap/media";
42
- @import "bootstrap/list-group";
43
- @import "bootstrap/panels";
44
- @import "bootstrap/responsive-embed";
45
- @import "bootstrap/wells";
46
- @import "bootstrap/close";
47
-
48
- // Components w/ JavaScript
49
- @import "bootstrap/modals";
50
- @import "bootstrap/tooltip";
51
- @import "bootstrap/popovers";
52
- @import "bootstrap/carousel";
53
-
54
- // Utility classes
55
- @import "bootstrap/utilities";
56
- @import "bootstrap/responsive-utilities";
@@ -1,73 +0,0 @@
1
- //
2
- // Alerts
3
- // --------------------------------------------------
4
-
5
-
6
- // Base styles
7
- // -------------------------
8
-
9
- .alert {
10
- padding: $alert-padding;
11
- margin-bottom: $line-height-computed;
12
- border: 1px solid transparent;
13
- border-radius: $alert-border-radius;
14
-
15
- // Headings for larger alerts
16
- h4 {
17
- margin-top: 0;
18
- // Specified for the h4 to prevent conflicts of changing $headings-color
19
- color: inherit;
20
- }
21
-
22
- // Provide class for links that match alerts
23
- .alert-link {
24
- font-weight: $alert-link-font-weight;
25
- }
26
-
27
- // Improve alignment and spacing of inner content
28
- > p,
29
- > ul {
30
- margin-bottom: 0;
31
- }
32
-
33
- > p + p {
34
- margin-top: 5px;
35
- }
36
- }
37
-
38
- // Dismissible alerts
39
- //
40
- // Expand the right padding and account for the close button's positioning.
41
-
42
- .alert-dismissable, // The misspelled .alert-dismissable was deprecated in 3.2.0.
43
- .alert-dismissible {
44
- padding-right: ($alert-padding + 20);
45
-
46
- // Adjust close link position
47
- .close {
48
- position: relative;
49
- top: -2px;
50
- right: -21px;
51
- color: inherit;
52
- }
53
- }
54
-
55
- // Alternate styles
56
- //
57
- // Generate contextual modifier classes for colorizing the alert.
58
-
59
- .alert-success {
60
- @include alert-variant($alert-success-bg, $alert-success-border, $alert-success-text);
61
- }
62
-
63
- .alert-info {
64
- @include alert-variant($alert-info-bg, $alert-info-border, $alert-info-text);
65
- }
66
-
67
- .alert-warning {
68
- @include alert-variant($alert-warning-bg, $alert-warning-border, $alert-warning-text);
69
- }
70
-
71
- .alert-danger {
72
- @include alert-variant($alert-danger-bg, $alert-danger-border, $alert-danger-text);
73
- }