@progress/kendo-theme-bootstrap 5.0.0-beta.2 → 5.0.0-beta.6

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 (51) hide show
  1. package/README.md +5 -8
  2. package/dist/all.css +2503 -2501
  3. package/dist/all.scss +3564 -3383
  4. package/dist/bootstrap-dataviz-v4.scss +8 -0
  5. package/dist/bootstrap-main-dark.scss +6 -6
  6. package/dist/bootstrap-main.scss +6 -6
  7. package/lib/swatches/bootstrap-dataviz-v4.json +51 -0
  8. package/lib/swatches/bootstrap-main-dark.json +6 -6
  9. package/lib/swatches/bootstrap-main.json +6 -6
  10. package/package.json +3 -3
  11. package/scss/appbar/_variables.scss +1 -1
  12. package/scss/autocomplete/_variables.scss +0 -19
  13. package/scss/button/_layout.scss +0 -8
  14. package/scss/button/_theme.scss +0 -81
  15. package/scss/button/_variables.scss +48 -20
  16. package/scss/chat/_variables.scss +0 -7
  17. package/scss/checkbox/_index.scss +2 -1
  18. package/scss/checkbox/_variables.scss +59 -68
  19. package/scss/chip/_variables.scss +32 -17
  20. package/scss/coloreditor/_variables.scss +3 -3
  21. package/scss/combobox/_variables.scss +1 -31
  22. package/scss/dataviz/_variables.scss +5 -5
  23. package/scss/fab/_theme.scss +51 -56
  24. package/scss/fab/_variables.scss +128 -72
  25. package/scss/fab/index.md +0 -0
  26. package/scss/grid/_theme.scss +0 -6
  27. package/scss/grid/_variables.scss +7 -7
  28. package/scss/imageeditor/_variables.scss +1 -0
  29. package/scss/index.scss +1 -0
  30. package/scss/input/_variables.scss +31 -7
  31. package/scss/list/_index.scss +1 -0
  32. package/scss/list/_theme.scss +0 -20
  33. package/scss/list/_variables.scss +18 -18
  34. package/scss/listbox/_variables.scss +1 -1
  35. package/scss/menu/_theme.scss +0 -10
  36. package/scss/menu/_variables.scss +56 -46
  37. package/scss/orgchart/_variables.scss +2 -2
  38. package/scss/pdf-viewer/_variables.scss +2 -5
  39. package/scss/pivotgrid/_theme.scss +0 -115
  40. package/scss/radio/_index.scss +1 -1
  41. package/scss/radio/_variables.scss +69 -88
  42. package/scss/switch/_variables.scss +3 -6
  43. package/scss/table/_variables.scss +13 -13
  44. package/scss/toolbar/_index.scss +1 -0
  45. package/scss/toolbar/_variables.scss +2 -0
  46. package/scss/treeview/_layout.scss +6 -14
  47. package/scss/treeview/_variables.scss +65 -82
  48. package/scss/virtual-scroller/_index.scss +10 -0
  49. package/scss/virtual-scroller/_layout.scss +1 -0
  50. package/scss/virtual-scroller/_theme.scss +1 -0
  51. package/scss/virtual-scroller/_variables.scss +1 -0
@@ -1,124 +1,132 @@
1
1
  // Checkbox
2
2
 
3
- /// The sizes of checkbox.
3
+ /// Border width of checkbox.
4
4
  /// @group checkbox
5
+ $kendo-checkbox-border-width: 1px !default;
6
+
7
+ // Checkbox sizes
5
8
  $kendo-checkbox-sizes: (
6
- sm: map-get( $spacing, 3 ),
7
- md: map-get( $spacing, 4 ),
8
- lg: map-get( $spacing, 6 )
9
+ sm: (
10
+ size: map-get( $spacing, 3 ),
11
+ glyph-size: ( map-get( $spacing, 3 ) - map-get( $spacing, thin ) ),
12
+ ripple-size: map-get( $spacing, 3 ) * 3
13
+ ),
14
+ md: (
15
+ size: map-get( $spacing, 4 ),
16
+ glyph-size: ( map-get( $spacing, 4 ) - map-get( $spacing, thin ) ),
17
+ ripple-size: map-get( $spacing, 4 ) * 3
18
+ ),
19
+ lg: (
20
+ size: map-get( $spacing, 5 ),
21
+ glyph-size: ( map-get( $spacing, 5 ) - map-get( $spacing, thin ) ),
22
+ ripple-size: map-get( $spacing, 5 ) * 3
23
+ )
9
24
  ) !default;
10
25
 
11
- /// The border width of checkbox.
12
- /// @group checkbox
13
- $kendo-checkbox-border-width: 1px !default;
14
- /// The line height of checkbox.
15
- /// @group checkbox
16
- $kendo-checkbox-line-height: calc( #{map-get( $kendo-checkbox-sizes, "md" )} + #{$kendo-checkbox-border-width} ) !default;
17
-
18
- /// The background of checkbox.
26
+ /// Background color of checkbox.
19
27
  /// @group checkbox
20
28
  $kendo-checkbox-bg: $component-bg !default;
21
- /// The background of checkbox.
29
+ /// Color of checkbox.
22
30
  /// @group checkbox
23
31
  $kendo-checkbox-text: null !default;
24
- /// The border of checkbox.
32
+ /// Border color of checkbox.
25
33
  /// @group checkbox
26
34
  $kendo-checkbox-border: contrast-wcag( $kendo-checkbox-bg, $gray-400, $gray-600 ) !default;
27
35
 
28
- /// The background of hovered checkbox.
36
+ /// Background color of hovered checkbox.
29
37
  /// @group checkbox
30
38
  $kendo-checkbox-hover-bg: null !default;
31
- /// The text of hovered checkbox.
39
+ /// Color of hovered checkbox.
32
40
  /// @group checkbox
33
41
  $kendo-checkbox-hover-text: null !default;
34
- /// The border of hovered checkbox.
42
+ /// Border color of hovered checkbox.
35
43
  /// @group checkbox
36
44
  $kendo-checkbox-hover-border: null !default;
37
45
 
38
- /// The background of checked checkbox.
46
+ /// Background color of checked checkbox.
39
47
  /// @group checkbox
40
48
  $kendo-checkbox-checked-bg: $primary !default;
41
- /// The text of checked checkbox.
49
+ /// Color of checked checkbox.
42
50
  /// @group checkbox
43
51
  $kendo-checkbox-checked-text: contrast-wcag( $kendo-checkbox-checked-bg ) !default;
44
- /// The border of checked checkbox.
52
+ /// Border color of checked checkbox.
45
53
  /// @group checkbox
46
54
  $kendo-checkbox-checked-border: $kendo-checkbox-checked-bg !default;
47
55
 
48
- /// The background of indeterminate checkbox.
56
+ /// Background color of indeterminate checkbox.
49
57
  /// @group checkbox
50
58
  $kendo-checkbox-indeterminate-bg: $kendo-checkbox-checked-bg !default;
51
- /// The text of indeterminate checkbox.
59
+ /// Color of indeterminate checkbox.
52
60
  /// @group checkbox
53
61
  $kendo-checkbox-indeterminate-text: $kendo-checkbox-checked-text !default;
54
- /// The border of indeterminate checkbox.
62
+ /// Border color of indeterminate checkbox.
55
63
  /// @group checkbox
56
64
  $kendo-checkbox-indeterminate-border: $kendo-checkbox-checked-border !default;
57
65
 
58
- /// The border of focused checkbox.
66
+ /// Border color of focused checkbox.
59
67
  /// @group checkbox
60
68
  $kendo-checkbox-focus-border: try-tint( $primary, 50% ) !default;
61
- /// The shadow of focused checkbox.
69
+ /// Box shadow of focused checkbox.
62
70
  /// @group checkbox
63
71
  $kendo-checkbox-focus-shadow: 0 0 0 .25rem rgba( $primary, .25 ) !default;
64
- /// The border of focused and checked checkbox.
72
+ /// Border color of focused and checked checkbox.
65
73
  /// @group checkbox
66
74
  $kendo-checkbox-focus-checked-border: $kendo-checkbox-checked-border !default;
67
- /// The shadow of focused and checked checkbox.
75
+ /// Box shadow of focused and checked checkbox.
68
76
  /// @group checkbox
69
77
  $kendo-checkbox-focus-checked-shadow: $kendo-checkbox-focus-shadow !default;
70
78
 
71
- /// The background of disabled checkbox.
79
+ /// Background color of disabled checkbox.
72
80
  /// @group checkbox
73
81
  $kendo-checkbox-disabled-bg: null !default;
74
- /// The text of disabled checkbox.
82
+ /// Color of disabled checkbox.
75
83
  /// @group checkbox
76
84
  $kendo-checkbox-disabled-text: null !default;
77
- /// The border of disabled checkbox.
85
+ /// Border color of disabled checkbox.
78
86
  /// @group checkbox
79
87
  $kendo-checkbox-disabled-border: null !default;
80
88
 
81
- /// The background of disabled and checked checkbox.
89
+ /// Background color of disabled and checked checkbox.
82
90
  /// @group checkbox
83
91
  $kendo-checkbox-disabled-checked-bg: null !default;
84
- /// The text of disabled and checked checkbox.
92
+ /// Color of disabled and checked checkbox.
85
93
  /// @group checkbox
86
94
  $kendo-checkbox-disabled-checked-text: null !default;
87
- /// The border of disabled and checked checkbox.
95
+ /// Color of disabled and checked checkbox.
88
96
  /// @group checkbox
89
97
  $kendo-checkbox-disabled-checked-border: null !default;
90
98
 
91
- /// The background of invalid checkbox.
99
+ /// Background color of invalid checkbox.
92
100
  /// @group checkbox
93
101
  $kendo-checkbox-invalid-bg: null !default;
94
- /// The text of invalid checkbox.
102
+ /// Color of invalid checkbox.
95
103
  /// @group checkbox
96
104
  $kendo-checkbox-invalid-text: $invalid-text !default;
97
- /// The border of invalid checkbox.
105
+ /// Border color of invalid checkbox.
98
106
  /// @group checkbox
99
107
  $kendo-checkbox-invalid-border: $invalid-border !default;
100
108
 
101
109
 
102
110
  // Checkbox indicator
103
111
 
104
- /// The icon type of checked checkbox.
112
+ /// Type of checkbox indicator.
105
113
  /// @group checkbox
106
- $kendo-checkbox-icon-type: image !default;
114
+ $kendo-checkbox-indicator-type: image !default;
107
115
 
108
- /// The glyph font family of checkbox.
116
+ /// Glyph font family of checkbox indicator.
109
117
  /// @group checkbox
110
118
  $kendo-checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
111
- /// The glyph of checked checkbox.
119
+ /// Glyph of checkbox indicator.
112
120
  /// @group checkbox
113
121
  $kendo-checkbox-checked-glyph: "\e118" !default;
114
- /// The glyph of indeterminate checkbox.
122
+ /// Glyph of indeterminate checkbox indicator.
115
123
  /// @group checkbox
116
124
  $kendo-checkbox-indeterminate-glyph: "\e121" !default;
117
125
 
118
- /// The image of checked checkbox.
126
+ /// Image of checked checkbox indicator.
119
127
  /// @group checkbox
120
128
  $kendo-checkbox-checked-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$kendo-checkbox-checked-text}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/></svg>") ) !default;
121
- /// The image of indeterminate checkbox.
129
+ /// Image of checked checkbox indicator.
122
130
  /// @group checkbox
123
131
  $kendo-checkbox-indeterminate-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path fill='none' stroke='#{$kendo-checkbox-indeterminate-text}' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/></svg>") ) !default;
124
132
 
@@ -132,39 +140,22 @@ $kendo-checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
132
140
 
133
141
  // Checkbox list
134
142
 
135
- /// The list margin checkbox.
143
+ /// Spacing between items of horizontal checkbox list.
136
144
  /// @group checkbox
137
- $kendo-checkbox-list-margin: 0px !default;
138
- /// The list padding checkbox.
139
- /// @group checkbox
140
- $kendo-checkbox-list-padding: 0px !default;
141
- /// The horizontal list item padding of checkbox.
145
+ $kendo-checkbox-list-spacing: map-get( $spacing, 4 ) !default;
146
+ /// Horizontal padding of checkbox list items.
142
147
  /// @group checkbox
143
148
  $kendo-checkbox-list-item-padding-x: 0px !default;
144
- /// The vertical list item padding of checkbox.
149
+ /// Vertical padding of checkbox list items.
145
150
  /// @group checkbox
146
151
  $kendo-checkbox-list-item-padding-y: $kendo-list-item-padding-y-md !default;
147
- /// The horizontal margin of list item of checkbox.
148
- /// @group checkbox
149
- $kendo-checkbox-list-horizontal-item-margin-x: 32px !default;
150
152
 
151
153
 
152
154
  // Checkbox ripple
153
155
 
154
- /// The ripple size of checkbox.
156
+ /// Background color of checkbox ripple.
155
157
  /// @group checkbox
156
- $kendo-checkbox-ripple-size: (
157
- sm: (map-get( $kendo-checkbox-sizes, "sm" ) * 3),
158
- md: (map-get( $kendo-checkbox-sizes, "md" ) * 3),
159
- lg: (map-get( $kendo-checkbox-sizes, "lg" ) * 3)
160
- ) !default;
161
- /// The ripple margin of checkbox.
162
- /// @group checkbox
163
- $kendo-checkbox-ripple-margin: (
164
- sm: calc(-1 * (#{map-get( $kendo-checkbox-sizes, "sm" )} + #{$kendo-checkbox-border-width})),
165
- md: calc(-1 * (#{map-get( $kendo-checkbox-sizes, "md" )} + #{$kendo-checkbox-border-width})),
166
- lg: calc(-1 * (#{map-get( $kendo-checkbox-sizes, "lg" )} + #{$kendo-checkbox-border-width}))
167
- ) !default;
168
- /// The ripple opacity of checkbox.
158
+ $kendo-checkbox-ripple-bg: $kendo-checkbox-checked-bg !default;
159
+ /// Opacity of checkbox ripple.
169
160
  /// @group checkbox
170
- $kendo-checkbox-ripple-opacity: .3 !default;
161
+ $kendo-checkbox-ripple-opacity: .25 !default;
@@ -9,28 +9,28 @@ $kendo-chip-spacing: map-get( $spacing, 2 );
9
9
 
10
10
  /// Horizontal padding of the chip.
11
11
  /// @group chip
12
- $kendo-chip-padding-x: $padding-x-sm !default;
13
- $kendo-chip-padding-x-sm: $kendo-chip-padding-x / 2 !default;
14
- $kendo-chip-padding-x-md: ($kendo-chip-padding-x - map-get( $spacing, "hair" )) !default;
15
- $kendo-chip-padding-x-lg: $kendo-chip-padding-x * 1.25 !default;
12
+ $kendo-chip-padding-x: map-get( $spacing, 1 ) !default;
13
+ $kendo-chip-padding-x-sm: map-get( $spacing, 1 ) !default;
14
+ $kendo-chip-padding-x-md: map-get( $spacing, 1 ) !default;
15
+ $kendo-chip-padding-x-lg: map-get( $spacing, 1 ) !default;
16
16
 
17
17
  /// Vertical padding of the chip.
18
18
  /// @group chip
19
- $kendo-chip-padding-y: $kendo-chip-padding-x !default;
20
- $kendo-chip-padding-y-sm: $kendo-chip-padding-x-sm !default;
21
- $kendo-chip-padding-y-md: $kendo-chip-padding-x-md !default;
22
- $kendo-chip-padding-y-lg: $kendo-chip-padding-x-lg !default;
19
+ $kendo-chip-padding-y: map-get( $spacing, 1 ) !default;
20
+ $kendo-chip-padding-y-sm: map-get( $spacing, 1 ) - map-get( $spacing, thin ) !default;
21
+ $kendo-chip-padding-y-md: map-get( $spacing, 1 ) !default;
22
+ $kendo-chip-padding-y-lg: map-get( $spacing, 1 ) + map-get( $spacing, thin ) !default;
23
23
 
24
24
  /// Font sizes of the chip.
25
25
  /// @group chip
26
- $kendo-chip-font-size: $font-size !default;
27
- $kendo-chip-font-size-sm: $font-size-sm !default;
28
- $kendo-chip-font-size-md: $font-size !default;
29
- $kendo-chip-font-size-lg: $font-size-lg !default;
26
+ $kendo-chip-font-size: $font-size-md !default;
27
+ $kendo-chip-font-size-sm: $font-size-md !default;
28
+ $kendo-chip-font-size-md: $font-size-md !default;
29
+ $kendo-chip-font-size-lg: $font-size-md !default;
30
30
 
31
31
  /// Line heights of the chip that are connected to the $font-size.
32
32
  /// @group chip
33
- $kendo-chip-line-height: normal !default;
33
+ $kendo-chip-line-height: 1.375 !default;
34
34
  $kendo-chip-line-height-sm: $kendo-chip-line-height !default;
35
35
  $kendo-chip-line-height-md: $kendo-chip-line-height !default;
36
36
  $kendo-chip-line-height-lg: $kendo-chip-line-height !default;
@@ -38,9 +38,24 @@ $kendo-chip-line-height-lg: $kendo-chip-line-height !default;
38
38
  /// Sizes map for the chip.
39
39
  /// @group chip
40
40
  $kendo-chip-sizes: (
41
- sm: ( font-size: $kendo-chip-font-size-sm, line-height: $kendo-chip-line-height-sm, padding: $kendo-chip-padding-x-sm ),
42
- md: ( font-size: $kendo-chip-font-size-md, line-height: $kendo-chip-line-height-md, padding: $kendo-chip-padding-x-md ),
43
- lg: ( font-size: $kendo-chip-font-size-lg, line-height: $kendo-chip-line-height-lg, padding: $kendo-chip-padding-x-lg )
41
+ sm: (
42
+ padding-x: $kendo-chip-padding-x-sm,
43
+ padding-y: $kendo-chip-padding-y-sm,
44
+ font-size: $kendo-chip-font-size-sm,
45
+ line-height: $kendo-chip-line-height-sm
46
+ ),
47
+ md: (
48
+ padding-x: $kendo-chip-padding-x-md,
49
+ padding-y: $kendo-chip-padding-y-md,
50
+ font-size: $kendo-chip-font-size-md,
51
+ line-height: $kendo-chip-line-height-md
52
+ ),
53
+ lg: (
54
+ padding-x: $kendo-chip-padding-x-lg,
55
+ padding-y: $kendo-chip-padding-y-lg,
56
+ font-size: $kendo-chip-font-size-lg,
57
+ line-height: $kendo-chip-line-height-lg
58
+ )
44
59
  ) !default;
45
60
 
46
61
  /// The base background color of the chip.
@@ -121,7 +136,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
121
136
  // Chip List
122
137
 
123
138
  /// The sizes of the chip list.
124
- /// @group chip-list
139
+ /// @group chip
125
140
  $kendo-chip-list-sizes: (
126
141
  sm: map-get( $spacing, 1 ),
127
142
  md: map-get( $spacing, 2 ),
@@ -18,9 +18,9 @@ $coloreditor-header-padding-y: $coloreditor-spacer !default;
18
18
  $coloreditor-header-padding-x: $coloreditor-header-padding-y !default;
19
19
  $coloreditor-header-actions-gap: ( $coloreditor-spacer / 2 ) !default;
20
20
 
21
- $coloreditor-preview-gap: 2px !default;
22
- $coloreditor-color-preview-width: 34px !default;
23
- $coloreditor-color-preview-height: 14px !default;
21
+ $coloreditor-preview-gap: map-get( $spacing, 1 ) !default;
22
+ $coloreditor-color-preview-width: 32px !default;
23
+ $coloreditor-color-preview-height: 12px !default;
24
24
 
25
25
  $coloreditor-views-padding-y: $coloreditor-spacer !default;
26
26
  $coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
@@ -1,31 +1 @@
1
- // Comboboxes
2
- $combobox-select-padding-x: $kendo-button-padding-y !default;
3
- $combobox-select-padding-y: $kendo-button-padding-y !default;
4
-
5
- $combobox-bg: $kendo-input-bg !default;
6
- $combobox-text: $kendo-input-text !default;
7
- $combobox-border: $kendo-input-border !default;
8
-
9
- $combobox-hovered-bg: $kendo-input-hover-bg !default;
10
- $combobox-hovered-text: $kendo-input-hover-text !default;
11
- $combobox-hovered-border: $kendo-input-hover-border !default;
12
-
13
- $combobox-focused-bg: $kendo-input-focus-bg !default;
14
- $combobox-focused-text: $kendo-input-focus-text !default;
15
- $combobox-focused-border: $kendo-input-focus-border !default;
16
- $combobox-focused-shadow: $kendo-input-focus-shadow !default;
17
-
18
- $combobox-select-bg: $kendo-button-bg !default;
19
- $combobox-select-text: $kendo-button-text !default;
20
- $combobox-select-border: $kendo-button-border !default;
21
- $combobox-select-gradient: $kendo-button-gradient !default;
22
-
23
- $combobox-select-hovered-bg: $kendo-button-hover-bg !default;
24
- $combobox-select-hovered-text: $kendo-button-hover-text !default;
25
- $combobox-select-hovered-border: $kendo-button-hover-border !default;
26
- $combobox-select-hovered-gradient: $kendo-button-hover-gradient !default;
27
-
28
- $combobox-select-pressed-bg: $kendo-button-active-bg !default;
29
- $combobox-select-pressed-text: $kendo-button-active-text !default;
30
- $combobox-select-pressed-border: $kendo-button-active-border !default;
31
- $combobox-select-pressed-gradient: $kendo-button-active-gradient !default;
1
+ // Combobox
@@ -1,7 +1,7 @@
1
1
  // Chart
2
2
  /// The first base series color and its light and dark shades.
3
3
  /// @group charts
4
- $series-a: $teal !default;
4
+ $series-a: $blue !default;
5
5
  $series-a-dark: mix(black, $series-a, 25%) !default;
6
6
  $series-a-darker: mix(black, $series-a, 50%) !default;
7
7
  $series-a-light: mix(white, $series-a, 25%) !default;
@@ -9,7 +9,7 @@ $series-a-lighter: mix(white, $series-a, 50%) !default;
9
9
 
10
10
  /// The second base series color and its light and dark shades.
11
11
  /// @group charts
12
- $series-b: $blue !default;
12
+ $series-b: $purple !default;
13
13
  $series-b-dark: mix(black, $series-b, 25%) !default;
14
14
  $series-b-darker: mix(black, $series-b, 50%) !default;
15
15
  $series-b-light: mix(white, $series-b, 25%) !default;
@@ -17,7 +17,7 @@ $series-b-lighter: mix(white, $series-b, 50%) !default;
17
17
 
18
18
  /// The third base series color and its light and dark shades.
19
19
  /// @group charts
20
- $series-c: $purple !default;
20
+ $series-c: $teal !default;
21
21
  $series-c-dark: mix(black, $series-c, 25%) !default;
22
22
  $series-c-darker: mix(black, $series-c, 50%) !default;
23
23
  $series-c-light: mix(white, $series-c, 25%) !default;
@@ -25,7 +25,7 @@ $series-c-lighter: mix(white, $series-c, 50%) !default;
25
25
 
26
26
  /// The fourth base series color and its light and dark shades.
27
27
  /// @group charts
28
- $series-d: $red !default;
28
+ $series-d: $green !default;
29
29
  $series-d-dark: mix(black, $series-d, 25%) !default;
30
30
  $series-d-darker: mix(black, $series-d, 50%) !default;
31
31
  $series-d-light: mix(white, $series-d, 25%) !default;
@@ -41,7 +41,7 @@ $series-e-lighter: mix(white, $series-e, 50%) !default;
41
41
 
42
42
  /// The sixth base series color and its light and dark shades.
43
43
  /// @group charts
44
- $series-f: $green !default;
44
+ $series-f: $red !default;
45
45
  $series-f-dark: mix(black, $series-f, 25%) !default;
46
46
  $series-f-darker: mix(black, $series-f, 50%) !default;
47
47
  $series-f-light: mix(white, $series-f, 25%) !default;
@@ -1,11 +1,11 @@
1
1
  @include exports( "fab/theme/bootstrap" ) {
2
2
 
3
3
  // Normal state
4
- @each $name, $color in $fab-theme-colors {
5
- .k-fab-#{$name} {
6
- @include box-shadow($fab-shadow);
7
- outline: $fab-border-width solid $color;
8
- outline-offset: -$fab-border-width;
4
+ @each $name, $color in $kendo-fab-theme-colors {
5
+ .k-fab-solid-#{$name} {
6
+ @include box-shadow($kendo-fab-shadow);
7
+ outline: $kendo-fab-border-width solid $color;
8
+ outline-offset: -$kendo-fab-border-width;
9
9
  border-color: $color;
10
10
  color: contrast-wcag( $color );
11
11
  background-color: $color;
@@ -13,10 +13,9 @@
13
13
  }
14
14
 
15
15
  // Hover state
16
- @each $name, $color in $fab-theme-colors {
17
- .k-state-hover.k-fab-#{$name},
18
- .k-state-hovered.k-fab-#{$name},
19
- .k-fab-#{$name}:hover {
16
+ @each $name, $color in $kendo-fab-theme-colors {
17
+ .k-hover.k-fab-solid-#{$name},
18
+ .k-fab-solid-#{$name}:hover {
20
19
  border-color: try-darken( $color, 10% );
21
20
  color: contrast-wcag( try-darken( $color, 7.5% ) );
22
21
  background-color: try-darken( $color, 7.5% );
@@ -24,10 +23,9 @@
24
23
  }
25
24
 
26
25
  // Focus state
27
- @each $name, $color in $fab-theme-colors {
28
- .k-fab-#{$name}.k-state-focus,
29
- .k-fab-#{$name}.k-state-focused,
30
- .k-fab-#{$name}:focus {
26
+ @each $name, $color in $kendo-fab-theme-colors {
27
+ .k-fab-solid-#{$name}.k-focus,
28
+ .k-fab-solid-#{$name}:focus {
31
29
  outline-style: solid;
32
30
  outline-width: 3px;
33
31
  outline-color: rgba( $color, .5 );
@@ -35,11 +33,11 @@
35
33
  }
36
34
 
37
35
  // Active state
38
- @each $name, $color in $fab-theme-colors {
39
- .k-state-active.k-fab-#{$name},
40
- .k-state-selected.k-fab-#{$name},
41
- .k-fab-#{$name}:active {
42
- @include box-shadow($fab-active-shadow);
36
+ @each $name, $color in $kendo-fab-theme-colors {
37
+ .k-active.k-fab-solid-#{$name},
38
+ .k-selected.k-fab-solid-#{$name},
39
+ .k-fab-solid-#{$name}:active {
40
+ @include box-shadow($kendo-fab-active-shadow);
43
41
  border-color: try-darken( $color, 12.5% );
44
42
  color: contrast-wcag( try-darken( $color, 10% ) );
45
43
  background-color: try-darken( $color, 10% );
@@ -47,10 +45,10 @@
47
45
  }
48
46
 
49
47
  // Disabled state
50
- @each $name, $color in $fab-theme-colors {
51
- .k-state-disabled.k-fab-#{$name},
52
- .k-fab-#{$name}:disabled {
53
- @include box-shadow($fab-disabled-shadow);
48
+ @each $name, $color in $kendo-fab-theme-colors {
49
+ .k-disabled.k-fab-solid-#{$name},
50
+ .k-fab-solid-#{$name}:disabled {
51
+ @include box-shadow($kendo-fab-disabled-shadow);
54
52
  background-color: try-tint( $color, 4.5 );
55
53
  color: try-tint( contrast-wcag( $color ), 5 );
56
54
  opacity: 1;
@@ -60,68 +58,65 @@
60
58
  // Items
61
59
  .k-fab-item-text {
62
60
  @include fill(
63
- $fab-item-text,
64
- $fab-item-bg,
65
- $fab-item-border
61
+ $kendo-fab-item-text,
62
+ $kendo-fab-item-bg,
63
+ $kendo-fab-item-border
66
64
  );
67
- @include box-shadow($fab-item-shadow);
65
+ @include box-shadow($kendo-fab-item-shadow);
68
66
  }
69
67
  .k-fab-item-icon {
70
68
  @include fill(
71
- $fab-item-icon-text,
72
- $fab-item-icon-bg,
73
- $fab-item-icon-border
69
+ $kendo-fab-item-icon-text,
70
+ $kendo-fab-item-icon-bg,
71
+ $kendo-fab-item-icon-border
74
72
  );
75
- @include box-shadow($fab-item-shadow);
76
- outline: $fab-border-width solid $kendo-button-bg;
77
- outline-offset: -$fab-border-width;
73
+ @include box-shadow($kendo-fab-item-shadow);
74
+ outline: $kendo-fab-border-width solid $kendo-button-bg;
75
+ outline-offset: -$kendo-fab-border-width;
78
76
  }
79
77
 
80
78
  // Hover state
81
- .k-fab-item.k-state-hover .k-fab-item-icon,
82
- .k-fab-item.k-state-hovered .k-fab-item-icon,
79
+ .k-fab-item.k-hover .k-fab-item-icon,
83
80
  .k-fab-item:hover .k-fab-item-icon {
84
- @include box-shadow($fab-item-shadow);
85
- outline: $fab-border-width solid try-darken( $fab-item-icon-border, 10% );
86
- outline-offset: -$fab-border-width;
87
- border-color: try-darken( $fab-item-icon-border, 10% );
88
- color: contrast-wcag( try-darken( $fab-item-icon-bg, 7.5% ) );
89
- background-color: try-darken( $fab-item-icon-bg, 7.5% );
81
+ @include box-shadow($kendo-fab-item-shadow);
82
+ outline: $kendo-fab-border-width solid try-darken( $kendo-fab-item-icon-border, 10% );
83
+ outline-offset: -$kendo-fab-border-width;
84
+ border-color: try-darken( $kendo-fab-item-icon-border, 10% );
85
+ color: contrast-wcag( try-darken( $kendo-fab-item-icon-bg, 7.5% ) );
86
+ background-color: try-darken( $kendo-fab-item-icon-bg, 7.5% );
90
87
  }
91
88
 
92
89
  // Focus state
93
90
  .k-fab-item:focus .k-fab-item-text,
94
91
  .k-fab-item:focus .k-fab-item-icon,
95
- .k-fab-item.k-state-focus .k-fab-item-text,
96
- .k-fab-item.k-state-focus .k-fab-item-icon,
97
- .k-fab-item.k-state-focused .k-fab-item-text,
98
- .k-fab-item.k-state-focused .k-fab-item-icon {
92
+ .k-fab-item.k-focus .k-fab-item-text,
93
+ .k-fab-item.k-focus .k-fab-item-icon {
99
94
  outline-style: solid;
100
95
  outline-width: 3px;
101
- outline-color: rgba( $fab-item-icon-border, .5 );
96
+ outline-color: rgba( $kendo-fab-item-icon-border, .5 );
102
97
  }
103
98
 
104
99
  // Active state
105
- .k-fab-item.k-state-active .k-fab-item-icon,
100
+ .k-fab-item.k-active .k-fab-item-icon,
106
101
  .k-fab-item:active .k-fab-item-icon {
107
- @include box-shadow($fab-item-active-shadow);
108
- outline: $fab-border-width solid try-darken( $fab-item-icon-border, 12.5% );
109
- outline-offset: -$fab-border-width;
110
- border-color: try-darken( $fab-item-icon-border, 12.5% );
111
- color: contrast-wcag( try-darken( $fab-item-icon-bg, 10% ) );
112
- background-color: try-darken( $fab-item-icon-bg, 10% );
102
+ @include box-shadow($kendo-fab-item-active-shadow);
103
+ outline: $kendo-fab-border-width solid try-darken( $kendo-fab-item-icon-border, 12.5% );
104
+ outline-offset: -$kendo-fab-border-width;
105
+ border-color: try-darken( $kendo-fab-item-icon-border, 12.5% );
106
+ color: contrast-wcag( try-darken( $kendo-fab-item-icon-bg, 10% ) );
107
+ background-color: try-darken( $kendo-fab-item-icon-bg, 10% );
113
108
  }
114
109
 
115
110
  // Disabled state
116
- .k-fab-item.k-state-disabled,
111
+ .k-fab-item.k-disabled,
117
112
  .k-fab-item:disabled {
118
113
  opacity: 1;
119
114
 
120
115
  .k-fab-item-text,
121
116
  .k-fab-item-icon {
122
- @include box-shadow($fab-item-disabled-shadow);
123
- background-color: try-tint( $fab-item-bg, 8 );
124
- color: try-tint( $fab-item-text, 8 );
117
+ @include box-shadow($kendo-fab-item-disabled-shadow);
118
+ background-color: try-tint( $kendo-fab-item-bg, 8 );
119
+ color: try-tint( $kendo-fab-item-text, 8 );
125
120
  }
126
121
  }
127
122