@steroidsjs/bootstrap 3.0.0-beta.29 → 3.0.0-beta.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/content/Accordion/AccordionItemView.scss +15 -10
  2. package/content/Alert/AlertView.scss +2 -0
  3. package/content/Avatar/AvatarView.scss +9 -1
  4. package/content/Badge/BadgeView.js +6 -6
  5. package/content/Badge/BadgeView.scss +40 -30
  6. package/content/Card/CardView.js +34 -14
  7. package/content/Card/CardView.scss +126 -110
  8. package/content/Detail/DetailView.scss +1 -0
  9. package/form/Button/ButtonView.js +1 -0
  10. package/form/Button/ButtonView.scss +18 -8
  11. package/form/CheckboxField/CheckboxFieldView.js +6 -3
  12. package/form/CheckboxField/CheckboxFieldView.scss +66 -1
  13. package/form/DropDownField/DropDownFieldView.js +46 -47
  14. package/form/DropDownField/DropDownFieldView.scss +390 -183
  15. package/form/DropDownField/views/DropDownItem/DropDownItemView.d.ts +3 -0
  16. package/form/DropDownField/views/DropDownItem/DropDownItemView.js +80 -0
  17. package/form/DropDownField/views/DropDownItem/DropDownItemView.scss +217 -0
  18. package/form/DropDownField/views/DropDownItem/index.d.ts +2 -0
  19. package/form/DropDownField/views/DropDownItem/index.js +7 -0
  20. package/form/Form/FormView.js +3 -3
  21. package/form/Form/FormView.scss +10 -14
  22. package/form/InputField/InputFieldView.scss +0 -27
  23. package/form/NumberField/NumberFieldView.scss +14 -32
  24. package/form/PasswordField/PasswordFieldView.scss +3 -6
  25. package/form/RadioListField/RadioListFieldView.js +7 -4
  26. package/form/RadioListField/RadioListFieldView.scss +115 -19
  27. package/form/TextField/TextFieldView.scss +1 -3
  28. package/icons/index.js +2 -0
  29. package/icons/svgs/dots.svg +5 -0
  30. package/icons/svgs/search.svg +4 -0
  31. package/layout/Tooltip/TooltipView.js +6 -6
  32. package/layout/Tooltip/TooltipView.scss +45 -37
  33. package/package.json +3 -3
  34. package/scss/mixins/index.scss +1 -1
  35. package/scss/mixins/scroll.scss +31 -0
  36. package/scss/variables/common/colors.scss +1 -0
  37. package/scss/variables/index.scss +0 -1
  38. package/scss/mixins/card.scss +0 -26
  39. package/scss/variables/components/card.scss +0 -20
@@ -1,23 +1,17 @@
1
1
  :root {
2
- --radio-svg-default: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%23651FFF'/%3E%3C/svg%3E%0A");
3
- --radio-checked-hover-svg: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%23651FFF'/%3E%3C/svg%3E%0A");
4
- --radio-checked-active-svg: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%23DBCBFF'/%3E%3C/svg%3E%0A");
5
- --radio-checked-disabled-svg: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%23EEF1F2'/%3E%3C/svg%3E%0A");
2
+ --radio-hover-color: #651fff;
6
3
  }
7
4
 
8
5
  html[data-theme="dark"] {
9
- --radio-svg-default: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%238B57FF'/%3E%3C/svg%3E%0A");
10
- --radio-checked-hover-svg: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%236648A7'/%3E%3C/svg%3E%0A");
11
- --radio-checked-active-svg: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.110938' y='0.115161' width='12' height='12' rx='6' fill='%23BA9BFF'/%3E%3C/svg%3E%0A");
12
- --radio-checked-disabled-svg: url("data:image/svg+xml,%3Csvg width='12' height='12' viewBox='0 0 13 13' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.010938' y='0.115161' width='12' height='12' rx='6' fill='%235B5C6B'/%3E%3C/svg%3E%0A");
6
+ --radio-hover-color: #6648A7;
13
7
  }
14
8
 
15
- $radio-svg-default: var(--radio-svg-default);
16
- $radio-checked-hover-svg: var(--radio-checked-hover-svg);
17
- $radio-checked-active-svg: var(--radio-checked-active-svg);
18
- $radio-checked-disabled-svg: var(--radio-checked-disabled-svg);
9
+ $radio-hover-color: var(--radio-hover-color);
19
10
 
20
11
  .RadioListFieldView {
12
+ position: relative;
13
+ box-sizing: border-box;
14
+
21
15
  $root: &;
22
16
 
23
17
  font-family: $font-family-nunito;
@@ -26,8 +20,21 @@ $radio-checked-disabled-svg: var(--radio-checked-disabled-svg);
26
20
  font-weight: 400;
27
21
  font-size: $font-size-sm;
28
22
 
29
- &__item {
30
- width: fit-content;
23
+ &__ellipse {
24
+ position: absolute;
25
+ top: 50%;
26
+ left: 6px;
27
+ transform: translateY(-50%);
28
+ display: inline-block;
29
+ width: 12px;
30
+ height: 12px;
31
+ background-color: $primary;
32
+ border-radius: $radius-circle;
33
+ opacity: 0;
34
+ pointer-events: none;
35
+ }
36
+
37
+ &__label {
31
38
  position: relative;
32
39
  }
33
40
 
@@ -38,6 +45,7 @@ $radio-checked-disabled-svg: var(--radio-checked-disabled-svg);
38
45
  }
39
46
 
40
47
  &__input + &__label {
48
+ position: relative;
41
49
  display: inline-flex;
42
50
  align-items: center;
43
51
  user-select: none;
@@ -89,21 +97,35 @@ $radio-checked-disabled-svg: var(--radio-checked-disabled-svg);
89
97
  opacity: 1;
90
98
  }
91
99
 
100
+ &__input:not(:disabled):focus + &__label &__ellipse {
101
+ opacity: 1;
102
+ }
103
+
92
104
  &__input:checked + &__label::before {
93
- background-image: $radio-svg-default;
94
105
  border: 1px solid $primary;
95
106
  }
107
+ &__input:checked + &__label &__ellipse {
108
+ opacity: 1;
109
+ }
96
110
 
97
111
  &__input:not(:disabled):checked:hover + &__label::before {
98
112
  border-color: $primary-dark;
99
- background-image: $radio-checked-hover-svg;
113
+ }
114
+
115
+ &__input:not(:disabled):checked:hover + &__label &__ellipse {
116
+ opacity: 1;
117
+ background-color: $radio-hover-color;
100
118
  }
101
119
 
102
120
  &__input:not(:disabled):checked:active + &__label::before {
103
- background-image: $radio-checked-active-svg;
104
121
  border-color: $primary-light;
105
122
  }
106
123
 
124
+ &__input:not(:disabled):checked:active + &__label &__ellipse {
125
+ opacity: 1;
126
+ background-color: $primary-light;
127
+ }
128
+
107
129
  &__input:disabled + &__label {
108
130
  cursor: not-allowed;
109
131
  color: $placeholder-color;
@@ -119,17 +141,91 @@ $radio-checked-disabled-svg: var(--radio-checked-disabled-svg);
119
141
 
120
142
  background-color: transparent;
121
143
  border-color: $background-disabled-color;
144
+ }
122
145
 
123
- background-image: $radio-checked-disabled-svg;
146
+ &__input:disabled:checked + &__label &__ellipse {
147
+ background-color: $background-disabled-color;
124
148
  }
125
149
 
126
150
  &__item_hasError {
127
151
  #{$root}__input:not(:disabled):not(:checked) + #{$root}__label {
128
152
  color: $danger;
129
-
153
+
130
154
  &::before {
131
155
  border-color: $danger;
132
156
  }
133
157
  }
134
158
  }
159
+
160
+ &__item {
161
+ width: fit-content;
162
+ position: relative;
163
+
164
+ &_size {
165
+ &_lg {
166
+ #{$root}__label {
167
+ font-size: $font-size-lg;
168
+ line-height: 24px;
169
+
170
+ &::before {
171
+ width: 22px;
172
+ height: 22px;
173
+ }
174
+
175
+ &::after {
176
+ width: 24px;
177
+ height: 24px;
178
+ }
179
+ }
180
+ }
181
+
182
+ &_md {
183
+ #{$root}__label {
184
+ font-size: $font-size-base;
185
+ line-height: 22px;
186
+
187
+ &::before {
188
+ width: 18px;
189
+ height: 18px;
190
+ }
191
+
192
+ &::after {
193
+ width: 20px;
194
+ height: 20px;
195
+ transform: translate(-14.5%, -10.5%);
196
+ }
197
+ }
198
+
199
+ #{$root}__ellipse {
200
+ width: 10px;
201
+ height: 10px;
202
+ left: 5px;
203
+ }
204
+ }
205
+
206
+ &_sm {
207
+ #{$root}__label {
208
+ font-size: $font-size-sm;
209
+ line-height: 18px;
210
+
211
+ &::before {
212
+ width: 14px;
213
+ height: 14px;
214
+ }
215
+
216
+ &::after {
217
+ width: 16px;
218
+ height: 16px;
219
+ transform: translate(-16.5%, -12.5%);
220
+ }
221
+ }
222
+
223
+ #{$root}__ellipse {
224
+ width: 8px;
225
+ height: 8px;
226
+ left: 4px;
227
+ }
228
+ }
229
+ }
230
+ }
135
231
  }
@@ -20,7 +20,6 @@ $text-field-active-clear-color: var(--text-field-active-clear-color);
20
20
 
21
21
  position: relative;
22
22
  font-family: $font-family-nunito;
23
- width: fit-content;
24
23
 
25
24
  &_hasErrors {
26
25
  #{$root}__textarea {
@@ -68,7 +67,7 @@ $text-field-active-clear-color: var(--text-field-active-clear-color);
68
67
  z-index: 2;
69
68
  outline: none;
70
69
  color: $text-color;
71
- border-color: $border-color;
70
+ border: 1px solid $border-color;
72
71
 
73
72
  &::placeholder {
74
73
  color: $placeholder-color;
@@ -110,7 +109,6 @@ $text-field-active-clear-color: var(--text-field-active-clear-color);
110
109
  }
111
110
 
112
111
  &_size {
113
- width: 240px;
114
112
  &_lg {
115
113
  #{$root}__textarea {
116
114
  height: 130px;
package/icons/index.js CHANGED
@@ -267,6 +267,8 @@ exports["default"] = (function (customIcons) {
267
267
  'user',
268
268
  'visible-eye',
269
269
  'crossed-out-eye',
270
+ 'dots',
271
+ 'search',
270
272
  ];
271
273
  steroidsIcons.forEach(function (iconName) {
272
274
  icons[iconName] = require("./svgs/".concat(iconName, ".svg"));
@@ -0,0 +1,5 @@
1
+ <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <rect x="14.3535" y="2.58154" width="4" height="4" rx="2" transform="rotate(90 14.3535 2.58154)" fill="#323232"/>
3
+ <rect x="14.3535" y="10.5815" width="4" height="4" rx="2" transform="rotate(90 14.3535 10.5815)" fill="#323232"/>
4
+ <rect x="14.3535" y="18.5815" width="4" height="4" rx="2" transform="rotate(90 14.3535 18.5815)" fill="#323232"/>
5
+ </svg>
@@ -0,0 +1,4 @@
1
+ <svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <circle cx="11.3535" cy="11.7225" r="6" stroke="#323232" stroke-width="1.5"/>
3
+ <path d="M20.3535 20.7225L17.3535 17.7225" stroke="#323232" stroke-width="1.5" stroke-linecap="round"/>
4
+ </svg>
@@ -27,18 +27,18 @@ var React = __importStar(require("react"));
27
27
  var react_1 = require("react");
28
28
  var hooks_1 = require("@steroidsjs/core/hooks");
29
29
  function TooltipView(props) {
30
- var _a;
31
30
  var tooltipRef = (0, react_1.useRef)(null);
32
31
  var arrowRef = (0, react_1.useRef)(null);
33
32
  (0, react_1.useEffect)(function () {
34
33
  props.calculatePosition(tooltipRef.current.getBoundingClientRect(), arrowRef.current.getBoundingClientRect());
35
34
  }, [props.calculatePosition]);
36
35
  var bem = (0, hooks_1.useBem)('TooltipView');
37
- return (React.createElement("div", { ref: tooltipRef, className: bem(bem.block({
38
- show: props.isTooltipVisible
39
- }), 'tooltip', 'tooltip-position-' + props.position), style: props.style },
40
- React.createElement("div", { ref: arrowRef, className: bem.element('arrow', (_a = {}, _a['position-' + props.position] = true, _a)), style: props.arrowPosition }),
41
- React.createElement("div", { className: bem(bem.element('content'), 'tooltip-inner') },
36
+ return (React.createElement("div", { ref: tooltipRef, className: bem.block({
37
+ show: props.isTooltipVisible,
38
+ position: props.position
39
+ }), style: props.style },
40
+ React.createElement("div", { ref: arrowRef, className: bem.element('arrow', { position: props.position }), style: props.arrowPosition }),
41
+ React.createElement("div", { className: bem.element('content') },
42
42
  React.createElement("span", null, props.content))));
43
43
  }
44
44
  exports["default"] = TooltipView;
@@ -1,8 +1,7 @@
1
1
  @use 'sass:math';
2
2
 
3
- $tooltip-arrow-color: #000;
4
- $tooltip-arrow-width: 8px;
5
- $tooltip-arrow-height: 8px;
3
+ $tooltip-arrow-width: 10px;
4
+ $tooltip-arrow-height: 10px;
6
5
  $tooltip-arrow-border: math.div($tooltip-arrow-width, 2);
7
6
  $tooltip-gap: 12px;
8
7
 
@@ -10,10 +9,18 @@ $tooltip-arrow-offset-horizontal: 20px;
10
9
  $tooltip-arrow-offset-vertical-top: 15px;
11
10
  $tooltip-arrow-offset-vertical-bottom: 7px;
12
11
 
12
+ $tooltip-background-color: rgba(65, 65, 65, 0.95);
13
+
13
14
  .TooltipView {
14
15
  position: absolute;
15
16
  top: 0;
16
17
  left: 0;
18
+ max-width: 300px;
19
+ word-break: break-all;
20
+ padding: 8px 12px;
21
+ border-radius: 6px;
22
+ background: $tooltip-background-color;
23
+
17
24
  transform: translate(0,0);
18
25
  opacity: 0;
19
26
  transition: opacity .15s ease-in, transform .15s ease-in;
@@ -22,99 +29,100 @@ $tooltip-arrow-offset-vertical-bottom: 7px;
22
29
  &_show {
23
30
  opacity: 1;
24
31
  }
25
- &_show.tooltip-position-top, &_show.tooltip-position-topLeft, &_show.tooltip-position-topRight{
32
+
33
+ &_position{
34
+ &_top, &_topLeft, &_topRight {
26
35
  transform: translateY(-$tooltip-gap);
27
- }
28
- &_show.tooltip-position-bottom, &_show.tooltip-position-bottomLeft, &_show.tooltip-position-bottomRight{
29
- transform: translateY($tooltip-gap);
30
- }
31
- &_show.tooltip-position-left, &_show.tooltip-position-leftTop, &_show.tooltip-position-leftBottom{
32
- transform: translateX(-$tooltip-gap);
33
- }
34
- &_show.tooltip-position-right, &_show.tooltip-position-rightTop, &_show.tooltip-position-rightBottom{
35
- transform: translateX($tooltip-gap);
36
- }
36
+ }
37
+
38
+ &_bottom, &_bottomLeft, &_bottomRight {
39
+ transform: translateY($tooltip-gap);
40
+ }
41
+
42
+ &_left, &_leftTop, &_leftBottom {
43
+ transform: translateX(-$tooltip-gap);
44
+ }
37
45
 
46
+ &_right, &_rightTop, &_rightBottom {
47
+ transform: translateX($tooltip-gap);
48
+ }
49
+ }
38
50
 
39
51
  &__arrow{
40
52
  position: absolute;
41
-
53
+
42
54
  width: $tooltip-arrow-width;
43
55
  height: $tooltip-arrow-height;
44
56
 
45
57
  border-style: solid;
46
58
  border-width: math.div($tooltip-arrow-height, 2);
59
+ border-color: $tooltip-background-color;
47
60
  box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
48
61
 
49
-
50
- &_position-top, &_position-topLeft, &_position-topRight{
62
+ &_position_top, &_position_topLeft, &_position_topRight{
51
63
  bottom: -$tooltip-arrow-border;
52
64
  left: 50%;
53
-
54
65
  border-top-color: transparent;
55
66
  border-left-color: transparent;
56
- border-right-color: $tooltip-arrow-color;
57
- border-bottom-color: $tooltip-arrow-color;
58
67
  transform: translateX(-50%) rotate(45deg);
59
68
  }
60
- &_position-topLeft{
69
+ &_position_topLeft{
61
70
  left: $tooltip-arrow-offset-horizontal;
62
71
  }
63
- &_position-topRight{
72
+ &_position_topRight{
64
73
  left: unset;
65
74
  right: $tooltip-arrow-offset-horizontal;
66
75
  }
67
76
 
68
- &_position-bottom, &_position-bottomLeft, &_position-bottomRight{
77
+ &_position_bottom, &_position_bottomLeft, &_position_bottomRight{
69
78
  top: -$tooltip-arrow-border;
70
79
  left: 50%;
71
- border-top-color: $tooltip-arrow-color;
72
- border-left-color: $tooltip-arrow-color;
73
80
  border-right-color: transparent;
74
81
  border-bottom-color: transparent;
75
82
  transform: translateX(-50%) rotate(45deg);
76
83
  }
77
- &_position-bottomLeft{
84
+ &_position_bottomLeft{
78
85
  left: $tooltip-arrow-offset-horizontal;
79
86
  }
80
- &_position-bottomRight{
87
+ &_position_bottomRight{
81
88
  left: unset;
82
89
  right: $tooltip-arrow-offset-horizontal;
83
90
  }
84
91
 
85
- &_position-left, &_position-leftTop, &_position-leftBottom{
92
+ &_position_left, &_position_leftTop, &_position_leftBottom{
86
93
  right: -$tooltip-arrow-border;
87
94
  top: 50%;
88
- border-top-color: $tooltip-arrow-color;
89
95
  border-left-color: transparent;
90
- border-right-color: $tooltip-arrow-color;
91
96
  border-bottom-color: transparent;
92
97
  transform: translateY(-50%) rotate(45deg);
93
98
  }
94
- &_position-leftTop{
99
+ &_position_leftTop{
95
100
  top: $tooltip-arrow-offset-vertical-top;
96
101
  }
97
- &_position-leftBottom{
102
+ &_position_leftBottom{
98
103
  top: unset;
99
104
  bottom: $tooltip-arrow-offset-vertical-bottom;
100
105
  }
101
106
 
102
- &_position-right, &_position-rightTop, &_position-rightBottom{
107
+ &_position_right, &_position_rightTop, &_position_rightBottom{
103
108
  left: -$tooltip-arrow-border;
104
109
  top: 50%;
105
110
  border-top-color: transparent;
106
- border-left-color: $tooltip-arrow-color;
107
111
  border-right-color: transparent;
108
- border-bottom-color: $tooltip-arrow-color;
109
112
  transform: translateY(-50%) rotate(45deg);
110
113
  }
111
- &_position-rightTop{
114
+ &_position_rightTop{
112
115
  top: $tooltip-arrow-offset-vertical-top;
113
116
  }
114
- &_position-rightBottom{
117
+ &_position_rightBottom{
115
118
  top: unset;
116
119
  bottom: $tooltip-arrow-offset-vertical-bottom;
117
120
  }
118
121
  }
119
122
 
123
+ &__content{
124
+ color: $white;
125
+ font-size: 14px;
126
+ line-height: 24px;
127
+ }
120
128
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@steroidsjs/bootstrap",
3
- "version": "3.0.0-beta.29",
3
+ "version": "3.0.0-beta.30",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "Vladimir Kozhin <hello@kozhindev.com>",
@@ -35,7 +35,7 @@
35
35
  "react-use": "^17.4.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@steroidsjs/core": "^3.0 || >=3.0.0-beta.13",
38
+ "@steroidsjs/core": "^3.0 || >=3.0.0-beta.15",
39
39
  "@steroidsjs/eslint-config": "^2.1.4",
40
40
  "@types/enzyme": "^3.10.8",
41
41
  "@types/googlemaps": "^3.43.3",
@@ -53,6 +53,6 @@
53
53
  "typescript": "^4.9.5"
54
54
  },
55
55
  "peerDependencies": {
56
- "@steroidsjs/core": "^3.0 || >=3.0.0-beta.13"
56
+ "@steroidsjs/core": "^3.0 || >=3.0.0-beta.15"
57
57
  }
58
58
  }
@@ -1,3 +1,3 @@
1
1
  @import "button";
2
- @import "card";
3
2
  @import "typography";
3
+ @import "scroll";
@@ -0,0 +1,31 @@
1
+ @mixin custom-scroll($thumbColor, $backgroundColor) {
2
+ scrollbar-color: $thumbColor $backgroundColor;
3
+ scrollbar-width: thin;
4
+
5
+ &::-webkit-scrollbar {
6
+ width: 4px;
7
+ height: 4px;
8
+ border-radius: 3px;
9
+
10
+ &:hover {
11
+ cursor: pointer;
12
+ }
13
+ }
14
+
15
+ &::-webkit-scrollbar-track {
16
+ border-radius: 3px;
17
+ background-color: $backgroundColor;
18
+ }
19
+
20
+ &::-webkit-scrollbar-thumb {
21
+ border-radius: 3px;
22
+ background-color: $thumbColor;
23
+ }
24
+ }
25
+
26
+ @mixin scrollWrapper($maxHeight, $paddingRight: 0, $thumbColor, $backgroundColor) {
27
+ @include custom-scroll($thumbColor, $backgroundColor);
28
+ padding-right: $paddingRight;
29
+ max-height: $maxHeight;
30
+ overflow: auto;
31
+ }
@@ -98,6 +98,7 @@ $light-gray: var(--light-gray);
98
98
  $dark: var(--dark);
99
99
  $light: var(--light);
100
100
  $text-color: var(--text-color);
101
+ $text-color-revert: var(--text-color-revert);
101
102
  $background-color: var(--background-color);
102
103
  $is-dark: var(--is-dark);
103
104
  $border-color: var(--border-color);
@@ -7,7 +7,6 @@
7
7
 
8
8
  @import 'components/button';
9
9
  @import 'components/calendar';
10
- @import 'components/card';
11
10
  @import 'components/icon';
12
11
  @import 'components/input';
13
12
  @import 'components/ratefield';
@@ -1,26 +0,0 @@
1
- @mixin card-theme($root, $color) {
2
- background: map-get($color, color);
3
- color: map-get($color, text-color);
4
-
5
- #{$root}__header{
6
- background: map-get($color, color);
7
- border-bottom: 1px solid map-get($color, color-dark);
8
- }
9
- #{$root}__footer{
10
- background: map-get($color, color);
11
- border-top: 1px solid map-get($color, color-dark);
12
- }
13
- }
14
-
15
- @mixin card-border-theme($root, $color) {
16
- border: 1px solid map-get($color, color);
17
- #{$root}__content{
18
- color: map-get($color, color);
19
- }
20
- #{$root}__header{
21
- border-bottom: 1px solid map-get($color, color);
22
- }
23
- #{$root}__footer{
24
- border-top: 1px solid map-get($color, color);
25
- }
26
- }
@@ -1,20 +0,0 @@
1
- $card-header-font-size: 20px !default;
2
- $card-header-line-height: 24px !default;
3
-
4
- $card-title-font-size: 20px !default;
5
- $card-title-line-height: 24px !default;
6
-
7
- $card-font-size: 14px !default;
8
-
9
- $card-children-font-size: 16px !default;
10
- $card-children-line-height: 28px !default;
11
-
12
- $card-horizontal-header-font-size: 28px !default;
13
- $card-horizontal-font-size: 16px !default;
14
-
15
- $card-link-font-size: 16px !default;
16
-
17
- $card-border-radius: 3px !default;
18
- $card-button-border-radius: 4px !default;
19
-
20
- $card-header-background: $grey-lighter !default;