@progress/kendo-theme-bootstrap 5.0.0-beta.0 → 5.0.0-beta.4
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.
- package/README.md +5 -8
- package/dist/all.css +4015 -4060
- package/dist/all.scss +5849 -5376
- package/dist/bootstrap-dataviz-v4.scss +8 -0
- package/dist/bootstrap-main.scss +6 -6
- package/lib/swatches/bootstrap-dataviz-v4.json +51 -0
- package/lib/swatches/bootstrap-main.json +6 -6
- package/package.json +3 -3
- package/scss/appbar/_variables.scss +1 -1
- package/scss/autocomplete/_variables.scss +0 -19
- package/scss/avatar/index.md +0 -0
- package/scss/button/_index.scss +1 -1
- package/scss/button/_layout.scss +0 -8
- package/scss/button/_theme.scss +0 -81
- package/scss/button/_variables.scss +48 -20
- package/scss/button/index.md +0 -0
- package/scss/chat/_variables.scss +0 -7
- package/scss/checkbox/_index.scss +2 -1
- package/scss/checkbox/_variables.scss +59 -68
- package/scss/checkbox/index.md +0 -0
- package/scss/chip/_index.scss +1 -0
- package/scss/chip/_variables.scss +12 -12
- package/scss/chip/index.md +0 -0
- package/scss/color-preview/_variables.scss +1 -0
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorpicker/_index.scss +1 -2
- package/scss/colorpicker/_variables.scss +1 -20
- package/scss/combobox/_variables.scss +1 -31
- package/scss/dateinput/_index.scss +0 -4
- package/scss/dateinput/_variables.scss +1 -1
- package/scss/datepicker/_index.scss +1 -3
- package/scss/datetimepicker/_index.scss +5 -3
- package/scss/datetimepicker/_variables.scss +2 -1
- package/scss/dropdowngrid/index.md +0 -0
- package/scss/fab/_theme.scss +51 -56
- package/scss/fab/_variables.scss +128 -72
- package/scss/fab/index.md +0 -0
- package/scss/filter/_index.scss +1 -1
- package/scss/gantt/_index.scss +1 -1
- package/scss/grid/_index.scss +1 -1
- package/scss/grid/_theme.scss +0 -6
- package/scss/grid/_variables.scss +8 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/index.scss +2 -1
- package/scss/input/_index.scss +1 -1
- package/scss/input/_variables.scss +18 -28
- package/scss/list/_index.scss +1 -0
- package/scss/list/_theme.scss +0 -20
- package/scss/list/_variables.scss +213 -46
- package/scss/list/index.md +0 -0
- package/scss/listbox/_index.scss +1 -0
- package/scss/listbox/_variables.scss +1 -1
- package/scss/menu/_index.scss +1 -0
- package/scss/menu/_theme.scss +0 -10
- package/scss/menu/_variables.scss +60 -50
- package/scss/multiselect/_index.scss +1 -1
- package/scss/orgchart/_variables.scss +2 -2
- package/scss/panelbar/_variables.scss +5 -0
- package/scss/pdf-viewer/_variables.scss +2 -5
- package/scss/pivotgrid/_variables.scss +0 -3
- package/scss/popup/_index.scss +0 -1
- package/scss/popup/_layout.scss +5 -8
- package/scss/popup/_variables.scss +2 -2
- package/scss/radio/_index.scss +1 -1
- package/scss/radio/_variables.scss +69 -88
- package/scss/radio/index.md +0 -0
- package/scss/scheduler/_index.scss +1 -1
- package/scss/spreadsheet/_index.scss +1 -1
- package/scss/switch/index.md +0 -0
- package/scss/table/_theme.scss +0 -8
- package/scss/table/_variables.scss +101 -32
- package/scss/taskboard/_variables.scss +0 -2
- package/scss/timepicker/_index.scss +3 -3
- package/scss/timepicker/_variables.scss +1 -1
- package/scss/{datetime → timeselector}/_index.scss +2 -5
- package/scss/timeselector/_layout.scss +1 -0
- package/scss/timeselector/_theme.scss +1 -0
- package/scss/timeselector/_variables.scss +32 -0
- package/scss/toolbar/_variables.scss +2 -0
- package/scss/treeview/_layout.scss +5 -15
- package/scss/treeview/_variables.scss +125 -46
- package/scss/utils/_border.scss +1 -2
- package/scss/virtual-scroller/_index.scss +10 -0
- package/scss/virtual-scroller/_layout.scss +1 -0
- package/scss/virtual-scroller/_theme.scss +1 -0
- package/scss/virtual-scroller/_variables.scss +1 -0
- package/scss/datetime/_layout.scss +0 -25
- package/scss/datetime/_theme.scss +0 -14
- package/scss/datetime/_variables.scss +0 -53
package/scss/chip/_index.scss
CHANGED
|
@@ -43,50 +43,50 @@ $kendo-chip-sizes: (
|
|
|
43
43
|
lg: ( font-size: $kendo-chip-font-size-lg, line-height: $kendo-chip-line-height-lg, padding: $kendo-chip-padding-x-lg )
|
|
44
44
|
) !default;
|
|
45
45
|
|
|
46
|
+
/// The base background color of the chip.
|
|
47
|
+
/// @group chip
|
|
48
|
+
$kendo-chip-base-bg: if( $dark-theme, contrast-wcag($kendo-button-text), $kendo-button-text ) !default;
|
|
49
|
+
|
|
46
50
|
/// Theme colors map for the chip.
|
|
47
51
|
/// @group chip
|
|
48
52
|
$kendo-chip-theme-colors: (
|
|
49
|
-
"base": $base-
|
|
53
|
+
"base": $kendo-chip-base-bg,
|
|
50
54
|
"error": map-get( $theme-colors, "error" ),
|
|
51
55
|
"info": map-get( $theme-colors, "info" ),
|
|
52
56
|
"warning": map-get( $theme-colors, "warning" ),
|
|
53
57
|
"success": map-get( $theme-colors, "success" )
|
|
54
58
|
) !default;
|
|
55
59
|
|
|
56
|
-
/// The base background color of the chip.
|
|
57
|
-
/// @group chip
|
|
58
|
-
$kendo-chip-base-bg: $base-text !default;
|
|
59
|
-
|
|
60
60
|
/// The base background color of solid chip.
|
|
61
61
|
/// @group chip
|
|
62
|
-
$kendo-chip-solid-bg:
|
|
62
|
+
$kendo-chip-solid-bg: try-tint( $kendo-chip-base-bg, 92% ) !default;
|
|
63
63
|
/// The base text color of solid chip.
|
|
64
64
|
/// @group chip
|
|
65
65
|
$kendo-chip-solid-text: $kendo-chip-base-bg !default;
|
|
66
66
|
/// The base border color of solid chip.
|
|
67
67
|
/// @group chip
|
|
68
|
-
$kendo-chip-solid-border:
|
|
68
|
+
$kendo-chip-solid-border: try-tint( $kendo-chip-base-bg, 70% ) !default;
|
|
69
69
|
/// The base shadow of solid chip.
|
|
70
70
|
/// @group chip
|
|
71
|
-
$kendo-chip-solid-shadow: 0 0 0 2px rgba( $kendo-chip-
|
|
71
|
+
$kendo-chip-solid-shadow: 0 0 0 2px rgba( $kendo-chip-base-bg, .16 ) !default;
|
|
72
72
|
|
|
73
73
|
/// The base background color of focused solid chip.
|
|
74
74
|
/// @group chip
|
|
75
|
-
$kendo-chip-solid-focus-bg:
|
|
75
|
+
$kendo-chip-solid-focus-bg: try-tint( $kendo-chip-base-bg, 92% ) !default;
|
|
76
76
|
/// The base text color of focused solid chip.
|
|
77
77
|
/// @group chip
|
|
78
78
|
$kendo-chip-solid-focus-text: null !default;
|
|
79
79
|
|
|
80
80
|
/// The base background color of hovered solid chip.
|
|
81
81
|
/// @group chip
|
|
82
|
-
$kendo-chip-solid-hover-bg:
|
|
82
|
+
$kendo-chip-solid-hover-bg: try-tint( $kendo-chip-base-bg, 84% ) !default;
|
|
83
83
|
/// The base text color of hovered solid chip.
|
|
84
84
|
/// @group chip
|
|
85
85
|
$kendo-chip-solid-hover-text: null !default;
|
|
86
86
|
|
|
87
87
|
/// The base background color of selected solid chip.
|
|
88
88
|
/// @group chip
|
|
89
|
-
$kendo-chip-solid-selected-bg:
|
|
89
|
+
$kendo-chip-solid-selected-bg: try-tint( $kendo-chip-base-bg, 76% ) !default;
|
|
90
90
|
/// The base text color of selected solid chip.
|
|
91
91
|
/// @group chip
|
|
92
92
|
$kendo-chip-solid-selected-text: null !default;
|
|
@@ -121,7 +121,7 @@ $kendo-chip-outline-selected-text: $kendo-chip-outline-hover-text !default;
|
|
|
121
121
|
// Chip List
|
|
122
122
|
|
|
123
123
|
/// The sizes of the chip list.
|
|
124
|
-
/// @group chip
|
|
124
|
+
/// @group chip
|
|
125
125
|
$kendo-chip-list-sizes: (
|
|
126
126
|
sm: map-get( $spacing, 1 ),
|
|
127
127
|
md: map-get( $spacing, 2 ),
|
|
File without changes
|
|
@@ -11,3 +11,4 @@ $color-preview-no-color-text: $error !default;
|
|
|
11
11
|
$color-preview-no-color-border: null !default;
|
|
12
12
|
|
|
13
13
|
$color-preview-no-color-image: escape-svg( url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='20' height='20' version='1.1'><line x1='0' x2='20' y1='0' y2='20' stroke='#{$color-preview-no-color-text}' stroke-width='1'/></svg>") ) !default;
|
|
14
|
+
$color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC") !default;
|
|
@@ -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:
|
|
22
|
-
$coloreditor-color-preview-width:
|
|
23
|
-
$coloreditor-color-preview-height:
|
|
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,20 +1 @@
|
|
|
1
|
-
//
|
|
2
|
-
$colorpicker-font-family: $font-family !default;
|
|
3
|
-
$colorpicker-font-size: $font-size !default;
|
|
4
|
-
$colorpicker-line-height: $line-height !default;
|
|
5
|
-
|
|
6
|
-
$colorpicker-bg: $kendo-button-bg !default;
|
|
7
|
-
$colorpicker-text: $kendo-button-text !default;
|
|
8
|
-
$colorpicker-border: $kendo-button-border !default;
|
|
9
|
-
$colorpicker-gradient: $kendo-button-gradient !default;
|
|
10
|
-
|
|
11
|
-
$colorpicker-hovered-bg: $kendo-button-hover-bg !default;
|
|
12
|
-
$colorpicker-hovered-text: $kendo-button-hover-text !default;
|
|
13
|
-
$colorpicker-hovered-border: $kendo-button-hover-border !default;
|
|
14
|
-
$colorpicker-hovered-gradient: $kendo-button-hover-gradient !default;
|
|
15
|
-
|
|
16
|
-
$colorpicker-focused-bg: $kendo-button-active-bg !default;
|
|
17
|
-
$colorpicker-focused-text: $kendo-button-active-text !default;
|
|
18
|
-
$colorpicker-focused-border: $kendo-button-active-border !default;
|
|
19
|
-
$colorpicker-focused-gradient: $kendo-button-active-gradient !default;
|
|
20
|
-
$colorpicker-focused-shadow: $kendo-button-focus-shadow !default;
|
|
1
|
+
// Color picker
|
|
@@ -1,31 +1 @@
|
|
|
1
|
-
//
|
|
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 +1 @@
|
|
|
1
|
-
//
|
|
1
|
+
// Date input
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
// Dependencies
|
|
5
|
-
@import "../common/_index.scss";
|
|
6
5
|
@import "../input/_index.scss";
|
|
7
|
-
@import "../floating-label/_index.scss";
|
|
8
6
|
@import "../popup/_index.scss";
|
|
9
|
-
@import "../
|
|
7
|
+
@import "../calendar/_index.scss";
|
|
10
8
|
|
|
11
9
|
|
|
12
10
|
// Component
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
// Dependencies
|
|
5
|
-
@import "../common/_index.scss";
|
|
6
5
|
@import "../input/_index.scss";
|
|
7
|
-
@import "../
|
|
6
|
+
@import "../button/_index.scss";
|
|
8
7
|
@import "../popup/_index.scss";
|
|
9
|
-
@import "../
|
|
8
|
+
@import "../list/_index.scss";
|
|
9
|
+
@import "../calendar/_index.scss";
|
|
10
|
+
@import "../timeselector/_index.scss";
|
|
11
|
+
@import "../action-buttons/_index.scss";
|
|
10
12
|
|
|
11
13
|
|
|
12
14
|
// Component
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
//
|
|
1
|
+
// DateTime
|
|
2
|
+
$datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-padding-x * 2}) !default;
|
|
File without changes
|
package/scss/fab/_theme.scss
CHANGED
|
@@ -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-
|
|
18
|
-
.k-
|
|
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-
|
|
29
|
-
.k-fab-#{$name}
|
|
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-
|
|
40
|
-
.k-
|
|
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-
|
|
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-
|
|
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-
|
|
96
|
-
.k-fab-item.k-
|
|
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-
|
|
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-
|
|
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
|
|
package/scss/fab/_variables.scss
CHANGED
|
@@ -1,74 +1,130 @@
|
|
|
1
1
|
// Floating Action Button
|
|
2
|
-
$fab-padding-x: $padding-x !default;
|
|
3
|
-
$fab-padding-y: $fab-padding-x !default;
|
|
4
|
-
$fab-border-width: 1px !default;
|
|
5
|
-
$fab-border-radius: $border-radius / 2 !default;
|
|
6
|
-
$fab-font-family: $font-family !default;
|
|
7
|
-
$fab-font-size: $font-size !default;
|
|
8
|
-
$fab-line-height: $line-height !default;
|
|
9
2
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
$fab-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
$fab-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
$fab-
|
|
29
|
-
$fab-
|
|
30
|
-
$fab-
|
|
31
|
-
$fab-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
$fab-
|
|
36
|
-
$fab-
|
|
37
|
-
$fab-
|
|
38
|
-
$fab-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
$fab-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
$fab-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
$fab-item-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
$fab-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
$fab-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
$fab-
|
|
3
|
+
/// Width of the border around the FAB.
|
|
4
|
+
/// @group floating-action-button
|
|
5
|
+
$kendo-fab-border-width: 1px !default;
|
|
6
|
+
/// Border radius of the FAB.
|
|
7
|
+
/// @group floating-action-button
|
|
8
|
+
$kendo-fab-border-radius: $border-radius / 2 !default;
|
|
9
|
+
/// Font family of the FAB.
|
|
10
|
+
/// @group floating-action-button
|
|
11
|
+
$kendo-fab-font-family: $font-family !default;
|
|
12
|
+
/// Font size of the FAB.
|
|
13
|
+
/// @group floating-action-button
|
|
14
|
+
$kendo-fab-font-size: $font-size !default;
|
|
15
|
+
/// Line height of the FAB.
|
|
16
|
+
/// @group floating-action-button
|
|
17
|
+
$kendo-fab-line-height: $line-height !default;
|
|
18
|
+
|
|
19
|
+
/// Horizontal padding of the FAB.
|
|
20
|
+
/// @group floating-action-button
|
|
21
|
+
$kendo-fab-padding-x: $padding-x !default;
|
|
22
|
+
$kendo-fab-padding-x-sm: ( $kendo-fab-padding-x / 2 ) !default;
|
|
23
|
+
$kendo-fab-padding-x-md: $kendo-fab-padding-x !default;
|
|
24
|
+
$kendo-fab-padding-x-lg: ( $kendo-fab-padding-x * 1.5 ) !default;
|
|
25
|
+
|
|
26
|
+
/// Vertical padding of the FAB.
|
|
27
|
+
/// @group floating-action-button
|
|
28
|
+
$kendo-fab-padding-y: $kendo-fab-padding-x !default;
|
|
29
|
+
$kendo-fab-padding-y-sm: ( $kendo-fab-padding-y / 2 ) !default;
|
|
30
|
+
$kendo-fab-padding-y-md: $kendo-fab-padding-y !default;
|
|
31
|
+
$kendo-fab-padding-y-lg: ( $kendo-fab-padding-y * 1.5 ) !default;
|
|
32
|
+
|
|
33
|
+
/// FAB icon width.
|
|
34
|
+
/// @group floating-action-button
|
|
35
|
+
$kendo-fab-icon-width: 24px !default;
|
|
36
|
+
/// FAB icon height.
|
|
37
|
+
/// @group floating-action-button
|
|
38
|
+
$kendo-fab-icon-height: $kendo-fab-icon-width !default;
|
|
39
|
+
/// FAB icon spacing.
|
|
40
|
+
/// @group floating-action-button
|
|
41
|
+
$kendo-fab-icon-spacing: map-get( $spacing, 1 ) / 2 !default;
|
|
42
|
+
|
|
43
|
+
/// FAB items horizontal padding.
|
|
44
|
+
/// @group floating-action-button
|
|
45
|
+
$kendo-fab-items-padding-x: 0px !default;
|
|
46
|
+
/// FAB items vertical padding.
|
|
47
|
+
/// @group floating-action-button
|
|
48
|
+
$kendo-fab-items-padding-y: map-get( $spacing, 4 ) !default;
|
|
49
|
+
|
|
50
|
+
/// FAB item text horizontal padding.
|
|
51
|
+
/// @group floating-action-button
|
|
52
|
+
$kendo-fab-item-text-padding-x: map-get( $spacing, 1 ) !default;
|
|
53
|
+
/// FAB item text vertical padding.
|
|
54
|
+
/// @group floating-action-button
|
|
55
|
+
$kendo-fab-item-text-padding-y: $kendo-fab-item-text-padding-x !default;
|
|
56
|
+
/// Width of the FAB item text border.
|
|
57
|
+
/// @group floating-action-button
|
|
58
|
+
$kendo-fab-item-text-border-width: 1px !default;
|
|
59
|
+
/// Border radius of the FAB item text.
|
|
60
|
+
/// @group floating-action-button
|
|
61
|
+
$kendo-fab-item-text-border-radius: 4px !default;
|
|
62
|
+
/// Font size of the FAB item text.
|
|
63
|
+
/// @group floating-action-button
|
|
64
|
+
$kendo-fab-item-text-font-size: $font-size-xs !default;
|
|
65
|
+
/// Line height of the FAB item text.
|
|
66
|
+
/// @group floating-action-button
|
|
67
|
+
$kendo-fab-item-text-line-height: 14px !default;
|
|
68
|
+
|
|
69
|
+
/// FAB item icon horizontal padding.
|
|
70
|
+
/// @group floating-action-button
|
|
71
|
+
$kendo-fab-item-icon-padding-x: map-get( $spacing, 2 ) !default;
|
|
72
|
+
/// FAB item icon vertical padding.
|
|
73
|
+
/// @group floating-action-button
|
|
74
|
+
$kendo-fab-item-icon-padding-y: $kendo-fab-item-icon-padding-x !default;
|
|
75
|
+
/// Width of the FAB item icon border.
|
|
76
|
+
/// @group floating-action-button
|
|
77
|
+
$kendo-fab-item-icon-border-width: 0 !default;
|
|
78
|
+
/// Border radius of the FAB item icon.
|
|
79
|
+
/// @group floating-action-button
|
|
80
|
+
$kendo-fab-item-icon-border-radius: 50% !default;
|
|
81
|
+
/// Width of the FAB item icon.
|
|
82
|
+
/// @group floating-action-button
|
|
83
|
+
$kendo-fab-item-icon-width: 24px !default;
|
|
84
|
+
/// height of the FAB item icon.
|
|
85
|
+
/// @group floating-action-button
|
|
86
|
+
$kendo-fab-item-icon-height: $kendo-fab-item-icon-width !default;
|
|
87
|
+
|
|
88
|
+
/// Theme colors map for the FAB.
|
|
89
|
+
/// @group floating-action-button
|
|
90
|
+
$kendo-fab-theme-colors: $theme-colors !default;
|
|
91
|
+
|
|
92
|
+
/// The base shadow of the FAB.
|
|
93
|
+
/// @group floating-action-button
|
|
94
|
+
$kendo-fab-shadow: 0px 6px 10px rgba(0, 0, 0, .14), 0px 1px 18px rgba(0, 0, 0, .12), 0px 3px 5px rgba(0, 0, 0, .2) !default;
|
|
95
|
+
/// The disabled shadow of the FAB.
|
|
96
|
+
/// @group floating-action-button
|
|
97
|
+
$kendo-fab-disabled-shadow: 0px 6px 10px try-tint( rgba(0, 0, 0, .14), .5 ), 0px 1px 18px try-tint( rgba(0, 0, 0, .12), .5 ), 0px 3px 5px try-tint( rgba(0, 0, 0, .2), .5 ) !default;
|
|
98
|
+
/// The active shadow of the FAB.
|
|
99
|
+
/// @group floating-action-button
|
|
100
|
+
$kendo-fab-active-shadow: null !default;
|
|
101
|
+
|
|
102
|
+
/// The base text color of the FAB item.
|
|
103
|
+
/// @group floating-action-button
|
|
104
|
+
$kendo-fab-item-text: $component-text !default;
|
|
105
|
+
/// The base background color of the FAB item.
|
|
106
|
+
/// @group floating-action-button
|
|
107
|
+
$kendo-fab-item-bg: $component-bg !default;
|
|
108
|
+
/// The base border color of the FAB item.
|
|
109
|
+
/// @group floating-action-button
|
|
110
|
+
$kendo-fab-item-border: $component-border !default;
|
|
111
|
+
|
|
112
|
+
/// The base text color of the FAB item icon.
|
|
113
|
+
/// @group floating-action-button
|
|
114
|
+
$kendo-fab-item-icon-text: $kendo-button-text !default;
|
|
115
|
+
/// The base background color of the FAB item icon.
|
|
116
|
+
/// @group floating-action-button
|
|
117
|
+
$kendo-fab-item-icon-bg: $kendo-button-bg !default;
|
|
118
|
+
/// The base border color of the FAB item icon.
|
|
119
|
+
/// @group floating-action-button
|
|
120
|
+
$kendo-fab-item-icon-border: $kendo-button-border !default;
|
|
121
|
+
|
|
122
|
+
/// The base shadow of the FAB item.
|
|
123
|
+
/// @group floating-action-button
|
|
124
|
+
$kendo-fab-item-shadow: $kendo-fab-shadow !default;
|
|
125
|
+
/// The disabled shadow of the FAB item.
|
|
126
|
+
/// @group floating-action-button
|
|
127
|
+
$kendo-fab-item-disabled-shadow: $kendo-fab-disabled-shadow !default;
|
|
128
|
+
/// The active shadow of the FAB item.
|
|
129
|
+
/// @group floating-action-button
|
|
130
|
+
$kendo-fab-item-active-shadow: $kendo-fab-active-shadow !default;
|
|
File without changes
|
package/scss/filter/_index.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@import "../button/_index.scss";
|
|
7
7
|
@import "../input/_index.scss";
|
|
8
8
|
@import "../checkbox/_index.scss";
|
|
9
|
-
@import "../
|
|
9
|
+
@import "../datetimepicker/_index.scss";
|
|
10
10
|
@import "../dropdownlist/_index.scss";
|
|
11
11
|
@import "../numerictextbox/_index.scss";
|
|
12
12
|
@import "../toolbar/_index.scss";
|
package/scss/gantt/_index.scss
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
@import "../button/_index.scss";
|
|
7
7
|
@import "../input/_index.scss";
|
|
8
8
|
@import "../validator/_index.scss";
|
|
9
|
-
@import "../
|
|
9
|
+
@import "../datetimepicker/_index.scss";
|
|
10
10
|
@import "../numerictextbox/_index.scss";
|
|
11
11
|
@import "../window/_index.scss";
|
|
12
12
|
@import "../splitter/_index.scss";
|
package/scss/grid/_index.scss
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
@import "../radio/_index.scss";
|
|
15
15
|
@import "../validator/_index.scss";
|
|
16
16
|
@import "../autocomplete/_index.scss";
|
|
17
|
-
@import "../
|
|
17
|
+
@import "../datetimepicker/_index.scss";
|
|
18
18
|
@import "../dropdownlist/_index.scss";
|
|
19
19
|
@import "../numerictextbox/_index.scss";
|
|
20
20
|
@import "../menu/_index.scss";
|