@progress/kendo-theme-default 4.43.1-dev.3 → 4.43.1-dev.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 +567 -591
- package/dist/all.scss +849 -899
- package/package.json +2 -2
- package/scss/appbar/_layout.scss +13 -0
- package/scss/autocomplete/_layout.scss +4 -4
- package/scss/button/_layout.scss +1 -7
- package/scss/checkbox/_index.scss +1 -0
- package/scss/checkbox/_layout.scss +2 -1
- package/scss/color-preview/_layout.scss +49 -7
- package/scss/color-preview/_theme.scss +0 -14
- package/scss/coloreditor/_layout.scss +5 -1
- package/scss/coloreditor/_variables.scss +3 -3
- package/scss/colorpicker/_layout.scss +6 -0
- package/scss/combobox/_layout.scss +22 -29
- package/scss/combobox/_theme.scss +59 -99
- package/scss/combobox/_variables.scss +1 -32
- package/scss/dropdowngrid/_layout.scss +1 -0
- package/scss/dropdownlist/_layout.scss +37 -55
- package/scss/dropdownlist/_theme.scss +33 -75
- package/scss/editor/_layout.scss +9 -16
- package/scss/fab/index.md +0 -0
- package/scss/forms/_layout.scss +0 -4
- package/scss/grid/_variables.scss +6 -6
- package/scss/imageeditor/_layout.scss +4 -8
- package/scss/imageeditor/_variables.scss +1 -0
- package/scss/input/_variables.scss +1 -1
- package/scss/list/_index.scss +1 -0
- package/scss/list/_layout.scss +15 -3
- package/scss/list/_variables.scss +4 -0
- package/scss/map/_layout.scss +4 -7
- package/scss/maskedtextbox/_layout.scss +17 -31
- package/scss/maskedtextbox/_theme.scss +44 -14
- package/scss/mediaplayer/_layout.scss +5 -0
- package/scss/radio/_index.scss +1 -0
- package/scss/radio/_layout.scss +2 -1
- package/scss/scheduler/_layout.scss +1 -1
- package/scss/spreadsheet/_layout.scss +4 -8
- package/scss/toolbar/_layout.scss +15 -0
package/dist/all.scss
CHANGED
|
@@ -5919,11 +5919,22 @@ $message-box-link-text-decoration: underline !default;
|
|
|
5919
5919
|
// #region @import "../common/_index.scss"; -> packages/default/scss/common/_index.scss
|
|
5920
5920
|
// File already imported_once. Skipping output.
|
|
5921
5921
|
// #endregion
|
|
5922
|
+
// #region @import "../checkbox/_index.scss"; -> packages/default/scss/checkbox/_index.scss
|
|
5923
|
+
// #region @import "../core/_index.scss"; -> packages/default/scss/core/_index.scss
|
|
5924
|
+
// File already imported_once. Skipping output.
|
|
5925
|
+
// #endregion
|
|
5922
5926
|
|
|
5923
5927
|
|
|
5924
|
-
//
|
|
5925
|
-
// #region @import "_variables.scss"; -> packages/default/scss/
|
|
5928
|
+
// Dependencies
|
|
5929
|
+
// #region @import "../typography/_variables.scss"; -> packages/default/scss/typography/_variables.scss
|
|
5930
|
+
// File already imported_once. Skipping output.
|
|
5931
|
+
// #endregion
|
|
5932
|
+
// #region @import "../list/_variables.scss"; -> packages/default/scss/list/_variables.scss
|
|
5926
5933
|
// List
|
|
5934
|
+
$list-font-size: $font-size !default;
|
|
5935
|
+
$list-line-height: $line-height !default;
|
|
5936
|
+
$list-line-height-em: $line-height-em !default;
|
|
5937
|
+
|
|
5927
5938
|
$list-item-padding-x: $padding-x !default;
|
|
5928
5939
|
$list-item-padding-y: $padding-y !default;
|
|
5929
5940
|
|
|
@@ -5942,9 +5953,486 @@ $list-container-shadow: 0 5px 10px 0 rgba(0, 0, 0, .06) !default;
|
|
|
5942
5953
|
$list-container-no-data-text: $subtle-text !default;
|
|
5943
5954
|
|
|
5944
5955
|
// #endregion
|
|
5956
|
+
|
|
5957
|
+
|
|
5958
|
+
// Component
|
|
5959
|
+
// #region @import "_variables.scss"; -> packages/default/scss/checkbox/_variables.scss
|
|
5960
|
+
// Checkbox
|
|
5961
|
+
$checkbox-size: map-get( $spacing, 4 ) !default;
|
|
5962
|
+
$checkbox-radius: map-get( $spacing, thin ) !default;
|
|
5963
|
+
$checkbox-border-width: 1px !default;
|
|
5964
|
+
$checkbox-line-height: calc( #{$checkbox-size} + #{$checkbox-border-width} ) !default;
|
|
5965
|
+
|
|
5966
|
+
$checkbox-bg: $white !default;
|
|
5967
|
+
$checkbox-text: transparent !default;
|
|
5968
|
+
$checkbox-border: $base-border !default;
|
|
5969
|
+
|
|
5970
|
+
$checkbox-hovered-bg: null !default;
|
|
5971
|
+
$checkbox-hovered-text: null !default;
|
|
5972
|
+
$checkbox-hovered-border: null !default;
|
|
5973
|
+
|
|
5974
|
+
$checkbox-checked-bg: $primary !default;
|
|
5975
|
+
$checkbox-checked-text: contrast-wcag( $checkbox-checked-bg ) !default;
|
|
5976
|
+
$checkbox-checked-border: $checkbox-checked-bg !default;
|
|
5977
|
+
|
|
5978
|
+
$checkbox-indeterminate-bg: $checkbox-bg !default;
|
|
5979
|
+
$checkbox-indeterminate-text: $checkbox-checked-bg !default;
|
|
5980
|
+
$checkbox-indeterminate-border: $checkbox-border !default;
|
|
5981
|
+
|
|
5982
|
+
$checkbox-focused-border: null !default;
|
|
5983
|
+
$checkbox-focused-shadow: 0 0 0 2px rgba(0, 0, 0, .06) !default;
|
|
5984
|
+
$checkbox-focused-checked-border: null !default;
|
|
5985
|
+
$checkbox-focused-checked-shadow: 0 0 0 2px rgba( $primary, .3 ) !default;
|
|
5986
|
+
|
|
5987
|
+
$checkbox-disabled-bg: null !default;
|
|
5988
|
+
$checkbox-disabled-text: null !default;
|
|
5989
|
+
$checkbox-disabled-border: null !default;
|
|
5990
|
+
|
|
5991
|
+
$checkbox-disabled-checked-bg: null !default;
|
|
5992
|
+
$checkbox-disabled-checked-text: null !default;
|
|
5993
|
+
$checkbox-disabled-checked-border: null !default;
|
|
5994
|
+
|
|
5995
|
+
$checkbox-invalid-bg: null !default;
|
|
5996
|
+
$checkbox-invalid-text: $invalid-text !default;
|
|
5997
|
+
$checkbox-invalid-border: $invalid-border !default;
|
|
5998
|
+
|
|
5999
|
+
|
|
6000
|
+
// Checkbox indicator
|
|
6001
|
+
$checkbox-icon-type: glyph !default;
|
|
6002
|
+
|
|
6003
|
+
$checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
6004
|
+
$checkbox-glyph-size: 12px !default;
|
|
6005
|
+
$checkbox-checked-glyph: "\e118" !default;
|
|
6006
|
+
$checkbox-indeterminate-glyph: "\e121" !default;
|
|
6007
|
+
|
|
6008
|
+
$checkbox-checked-image: null !default;
|
|
6009
|
+
$checkbox-indeterminate-image: null !default;
|
|
6010
|
+
|
|
6011
|
+
$checkbox-marker-checked-width: ( $checkbox-size / 2 ) !default;
|
|
6012
|
+
$checkbox-marker-checked-height: ( $checkbox-size / 2 ) !default;
|
|
6013
|
+
$checkbox-marker-indeterminate-width: ( $checkbox-size / 2 ) !default;
|
|
6014
|
+
$checkbox-marker-indeterminate-height: ( $checkbox-size / 2 ) !default;
|
|
6015
|
+
|
|
6016
|
+
|
|
6017
|
+
// Checkbox label
|
|
6018
|
+
$checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
|
|
6019
|
+
|
|
6020
|
+
|
|
6021
|
+
// Checkbox list
|
|
6022
|
+
$checkbox-list-margin: 0px !default;
|
|
6023
|
+
$checkbox-list-padding: 0px !default;
|
|
6024
|
+
$checkbox-list-item-padding-x: 0px !default;
|
|
6025
|
+
$checkbox-list-item-padding-y: $list-item-padding-y !default;
|
|
6026
|
+
$checkbox-list-horizontal-item-margin-x: 32px !default;
|
|
6027
|
+
|
|
6028
|
+
|
|
6029
|
+
// Checkbox ripple
|
|
6030
|
+
$checkbox-ripple-size: $checkbox-size * 3 !default;
|
|
6031
|
+
$checkbox-ripple-margin: calc(-1 * (#{$checkbox-size} + 2 * #{$checkbox-border-width})) !default;
|
|
6032
|
+
$checkbox-ripple-opacity: .3 !default;
|
|
6033
|
+
|
|
6034
|
+
// #endregion
|
|
6035
|
+
// #region @import "_layout.scss"; -> packages/default/scss/checkbox/_layout.scss
|
|
6036
|
+
@include exports( "checkbox/layout" ) {
|
|
6037
|
+
|
|
6038
|
+
// Checkbox
|
|
6039
|
+
.k-checkbox {
|
|
6040
|
+
@include border-radius( $checkbox-radius );
|
|
6041
|
+
margin: 0;
|
|
6042
|
+
padding: 0;
|
|
6043
|
+
width: $checkbox-size;
|
|
6044
|
+
height: $checkbox-size;
|
|
6045
|
+
line-height: initial;
|
|
6046
|
+
border-width: $checkbox-border-width;
|
|
6047
|
+
border-style: solid;
|
|
6048
|
+
outline: 0;
|
|
6049
|
+
box-sizing: border-box;
|
|
6050
|
+
background-position: center;
|
|
6051
|
+
background-repeat: no-repeat;
|
|
6052
|
+
background-size: contain;
|
|
6053
|
+
display: inline-block;
|
|
6054
|
+
flex: none;
|
|
6055
|
+
vertical-align: middle;
|
|
6056
|
+
position: relative;
|
|
6057
|
+
cursor: pointer;
|
|
6058
|
+
-webkit-appearance: none;
|
|
6059
|
+
}
|
|
6060
|
+
|
|
6061
|
+
// Checkbox indicator
|
|
6062
|
+
.k-checkbox::before {
|
|
6063
|
+
@if $checkbox-icon-type == "glyph" {
|
|
6064
|
+
content: $checkbox-checked-glyph;
|
|
6065
|
+
width: $checkbox-glyph-size;
|
|
6066
|
+
height: $checkbox-glyph-size;
|
|
6067
|
+
font-size: $checkbox-glyph-size;
|
|
6068
|
+
font-family: $checkbox-glyph-font-family;
|
|
6069
|
+
line-height: 1;
|
|
6070
|
+
transform: scale(0) translate(-50%, -50%);
|
|
6071
|
+
overflow: hidden;
|
|
6072
|
+
position: absolute;
|
|
6073
|
+
top: 50%;
|
|
6074
|
+
left: 50%;
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6077
|
+
@if $checkbox-icon-type == "marker" {
|
|
6078
|
+
content: "";
|
|
6079
|
+
width: $checkbox-marker-checked-width;
|
|
6080
|
+
height: $checkbox-marker-checked-height;
|
|
6081
|
+
background-color: currentColor;
|
|
6082
|
+
transform: scale(0) translate(-50%, -50%);
|
|
6083
|
+
overflow: hidden;
|
|
6084
|
+
position: absolute;
|
|
6085
|
+
top: 50%;
|
|
6086
|
+
left: 50%;
|
|
6087
|
+
}
|
|
6088
|
+
}
|
|
6089
|
+
|
|
6090
|
+
|
|
6091
|
+
// Checked state
|
|
6092
|
+
.k-checkbox:checked,
|
|
6093
|
+
.k-checkbox.k-checked {
|
|
6094
|
+
@if $checkbox-icon-type == "image" {
|
|
6095
|
+
background-image: $checkbox-checked-image;
|
|
6096
|
+
}
|
|
6097
|
+
|
|
6098
|
+
@if $checkbox-icon-type == "glyph" {
|
|
6099
|
+
&::before {
|
|
6100
|
+
transform: scale(1) translate(-50%, -50%);
|
|
6101
|
+
}
|
|
6102
|
+
}
|
|
6103
|
+
|
|
6104
|
+
@if $checkbox-icon-type == "marker" {
|
|
6105
|
+
&::before {
|
|
6106
|
+
transform: scale(1) translate(-50%, -50%);
|
|
6107
|
+
}
|
|
6108
|
+
}
|
|
6109
|
+
}
|
|
6110
|
+
|
|
6111
|
+
|
|
6112
|
+
// Indeterminate state
|
|
6113
|
+
.k-checkbox:indeterminate,
|
|
6114
|
+
.k-checkbox.k-indeterminate,
|
|
6115
|
+
.k-checkbox.k-state-indeterminate {
|
|
6116
|
+
@if $checkbox-icon-type == "image" {
|
|
6117
|
+
background-image: $checkbox-indeterminate-image;
|
|
6118
|
+
}
|
|
6119
|
+
|
|
6120
|
+
@if $checkbox-icon-type == "glyph" {
|
|
6121
|
+
&::before {
|
|
6122
|
+
content: $checkbox-indeterminate-glyph;
|
|
6123
|
+
transform: scale(1) translate(-50%, -50%);
|
|
6124
|
+
}
|
|
6125
|
+
}
|
|
6126
|
+
|
|
6127
|
+
@if $checkbox-icon-type == "marker" {
|
|
6128
|
+
&::before {
|
|
6129
|
+
width: $checkbox-maker-indeterminate-width;
|
|
6130
|
+
height: $checkbox-marker-indeterminate-height;
|
|
6131
|
+
transform: scale(1) translate(-50%, -50%);
|
|
6132
|
+
}
|
|
6133
|
+
}
|
|
6134
|
+
}
|
|
6135
|
+
|
|
6136
|
+
|
|
6137
|
+
// Disabled state
|
|
6138
|
+
.k-checkbox:disabled,
|
|
6139
|
+
.k-checkbox.k-disabled,
|
|
6140
|
+
.k-checkbox:disabled + .k-checkbox-label,
|
|
6141
|
+
.k-checkbox.k-disabled + .k-checkbox-label {
|
|
6142
|
+
@include disabled( $disabled-styling );
|
|
6143
|
+
}
|
|
6144
|
+
|
|
6145
|
+
// Checkbox label
|
|
6146
|
+
.k-checkbox-label {
|
|
6147
|
+
margin: 0;
|
|
6148
|
+
padding: 0;
|
|
6149
|
+
line-height: $checkbox-line-height;
|
|
6150
|
+
display: inline-flex;
|
|
6151
|
+
align-items: flex-start;
|
|
6152
|
+
vertical-align: middle;
|
|
6153
|
+
position: relative;
|
|
6154
|
+
cursor: pointer;
|
|
6155
|
+
|
|
6156
|
+
.k-label {
|
|
6157
|
+
cursor: pointer;
|
|
6158
|
+
}
|
|
6159
|
+
|
|
6160
|
+
.k-ripple {
|
|
6161
|
+
top: $checkbox-size / 2;
|
|
6162
|
+
left: $checkbox-size / 2;
|
|
6163
|
+
right: auto;
|
|
6164
|
+
bottom: auto;
|
|
6165
|
+
width: $checkbox-size * 5 / 2;
|
|
6166
|
+
height: $checkbox-size * 5 / 2;
|
|
6167
|
+
transform: translate(-50%, -50%);
|
|
6168
|
+
border-radius: 50%;
|
|
6169
|
+
|
|
6170
|
+
// Hide ripple temporarily
|
|
6171
|
+
visibility: hidden !important; // sass-lint:disable-line no-important
|
|
6172
|
+
}
|
|
6173
|
+
|
|
6174
|
+
.k-ripple-blob {
|
|
6175
|
+
// sass-lint:disable-block no-important
|
|
6176
|
+
// use !important until ripple can apply these styles from the script
|
|
6177
|
+
top: 50% !important;
|
|
6178
|
+
left: 50% !important;
|
|
6179
|
+
width: 200% !important;
|
|
6180
|
+
height: 200% !important;
|
|
6181
|
+
}
|
|
6182
|
+
}
|
|
6183
|
+
.k-checkbox + .k-checkbox-label {
|
|
6184
|
+
display: inline;
|
|
6185
|
+
}
|
|
6186
|
+
.k-checkbox + .k-checkbox-label,
|
|
6187
|
+
.k-checkbox-label + .k-checkbox {
|
|
6188
|
+
margin-left: $checkbox-label-margin-x;
|
|
6189
|
+
}
|
|
6190
|
+
.k-checkbox-label > .k-checkbox {
|
|
6191
|
+
margin-right: $checkbox-label-margin-x;
|
|
6192
|
+
flex-shrink: 0;
|
|
6193
|
+
}
|
|
6194
|
+
kendo-label.k-checkbox-label > .k-checkbox:last-child {
|
|
6195
|
+
margin-right: 0;
|
|
6196
|
+
}
|
|
6197
|
+
kendo-label.k-checkbox-label > .k-label:first-child {
|
|
6198
|
+
margin-right: $checkbox-label-margin-x;
|
|
6199
|
+
}
|
|
6200
|
+
kendo-label.k-checkbox-label > .k-label {
|
|
6201
|
+
display: inline;
|
|
6202
|
+
}
|
|
6203
|
+
|
|
6204
|
+
|
|
6205
|
+
// Empty label
|
|
6206
|
+
.k-checkbox-label:empty {
|
|
6207
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6210
|
+
|
|
6211
|
+
// Label with no text
|
|
6212
|
+
.k-checkbox-label.k-no-text {
|
|
6213
|
+
min-width: 1px;
|
|
6214
|
+
}
|
|
6215
|
+
|
|
6216
|
+
|
|
6217
|
+
// Checkbox list
|
|
6218
|
+
.k-checkbox-list {
|
|
6219
|
+
margin: $checkbox-list-margin;
|
|
6220
|
+
padding: $checkbox-list-padding;
|
|
6221
|
+
list-style: none;
|
|
6222
|
+
|
|
6223
|
+
.k-checkbox-item {
|
|
6224
|
+
padding: $checkbox-list-item-padding-y $checkbox-list-item-padding-x;
|
|
6225
|
+
}
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6228
|
+
.k-list-horizontal {
|
|
6229
|
+
.k-checkbox-item {
|
|
6230
|
+
display: inline-block;
|
|
6231
|
+
margin: 0 $checkbox-list-horizontal-item-margin-x 0 0;
|
|
6232
|
+
|
|
6233
|
+
&:last-child {
|
|
6234
|
+
margin-right: 0;
|
|
6235
|
+
}
|
|
6236
|
+
}
|
|
6237
|
+
}
|
|
6238
|
+
|
|
6239
|
+
|
|
6240
|
+
// RTL
|
|
6241
|
+
.k-rtl,
|
|
6242
|
+
[dir="rtl"] {
|
|
6243
|
+
.k-checkbox + .k-checkbox-label,
|
|
6244
|
+
.k-checkbox-label + .k-checkbox {
|
|
6245
|
+
margin-left: 0;
|
|
6246
|
+
margin-right: $checkbox-label-margin-x;
|
|
6247
|
+
}
|
|
6248
|
+
.k-checkbox-label > .k-checkbox {
|
|
6249
|
+
margin-right: 0;
|
|
6250
|
+
margin-left: $checkbox-label-margin-x;
|
|
6251
|
+
}
|
|
6252
|
+
kendo-label.k-checkbox-label > .k-checkbox:last-child {
|
|
6253
|
+
margin-left: 0;
|
|
6254
|
+
}
|
|
6255
|
+
kendo-label.k-checkbox-label > .k-label:first-child {
|
|
6256
|
+
margin-right: 0;
|
|
6257
|
+
margin-left: $checkbox-label-margin-x;
|
|
6258
|
+
}
|
|
6259
|
+
|
|
6260
|
+
.k-list-horizontal {
|
|
6261
|
+
.k-checkbox-item {
|
|
6262
|
+
margin-right: 0;
|
|
6263
|
+
margin-left: $checkbox-list-horizontal-item-margin-x;
|
|
6264
|
+
|
|
6265
|
+
&:last-child {
|
|
6266
|
+
margin-left: 0;
|
|
6267
|
+
}
|
|
6268
|
+
}
|
|
6269
|
+
}
|
|
6270
|
+
}
|
|
6271
|
+
|
|
6272
|
+
.k-ripple-container {
|
|
6273
|
+
.k-checkbox::after {
|
|
6274
|
+
content: "";
|
|
6275
|
+
display: block;
|
|
6276
|
+
position: absolute;
|
|
6277
|
+
left: 0;
|
|
6278
|
+
top: 0;
|
|
6279
|
+
width: $checkbox-ripple-size;
|
|
6280
|
+
height: $checkbox-ripple-size;
|
|
6281
|
+
margin-left: $checkbox-ripple-margin;
|
|
6282
|
+
margin-top: $checkbox-ripple-margin;
|
|
6283
|
+
border-radius: 100%;
|
|
6284
|
+
z-index: 1;
|
|
6285
|
+
transform: scale(0);
|
|
6286
|
+
}
|
|
6287
|
+
|
|
6288
|
+
.k-checkbox:disabled::after,
|
|
6289
|
+
.k-checkbox.k-disabled::after {
|
|
6290
|
+
display: none;
|
|
6291
|
+
}
|
|
6292
|
+
}
|
|
6293
|
+
|
|
6294
|
+
}
|
|
6295
|
+
|
|
6296
|
+
|
|
6297
|
+
|
|
6298
|
+
|
|
6299
|
+
@include exports( "checkbox/layout/edge" ) {
|
|
6300
|
+
|
|
6301
|
+
.k-checkbox::-ms-check {
|
|
6302
|
+
border-width: 1px;
|
|
6303
|
+
border-color: inherit;
|
|
6304
|
+
color: inherit;
|
|
6305
|
+
background-color: inherit;
|
|
6306
|
+
}
|
|
6307
|
+
|
|
6308
|
+
}
|
|
6309
|
+
|
|
6310
|
+
// #endregion
|
|
6311
|
+
// #region @import "_theme.scss"; -> packages/default/scss/checkbox/_theme.scss
|
|
6312
|
+
@include exports("checkbox/theme") {
|
|
6313
|
+
|
|
6314
|
+
// Checkbox
|
|
6315
|
+
.k-checkbox {
|
|
6316
|
+
@include fill(
|
|
6317
|
+
$checkbox-text,
|
|
6318
|
+
$checkbox-bg,
|
|
6319
|
+
$checkbox-border
|
|
6320
|
+
);
|
|
6321
|
+
}
|
|
6322
|
+
|
|
6323
|
+
|
|
6324
|
+
// Hover state
|
|
6325
|
+
.k-checkbox:hover,
|
|
6326
|
+
.k-checkbox.k-state-hover {
|
|
6327
|
+
@include fill(
|
|
6328
|
+
$checkbox-hovered-text,
|
|
6329
|
+
$checkbox-hovered-bg,
|
|
6330
|
+
$checkbox-hovered-border
|
|
6331
|
+
);
|
|
6332
|
+
}
|
|
6333
|
+
|
|
6334
|
+
|
|
6335
|
+
// Focus state
|
|
6336
|
+
.k-checkbox:focus,
|
|
6337
|
+
.k-checkbox.k-state-focus {
|
|
6338
|
+
@include fill( $border: $checkbox-focused-border );
|
|
6339
|
+
@include box-shadow( $checkbox-focused-shadow );
|
|
6340
|
+
}
|
|
6341
|
+
|
|
6342
|
+
|
|
6343
|
+
// Indeterminate
|
|
6344
|
+
.k-checkbox:indeterminate,
|
|
6345
|
+
.k-checkbox.k-state-indeterminate,
|
|
6346
|
+
.k-checkbox.k-indeterminate {
|
|
6347
|
+
@include fill(
|
|
6348
|
+
$checkbox-indeterminate-text,
|
|
6349
|
+
$checkbox-indeterminate-bg,
|
|
6350
|
+
$checkbox-indeterminate-border
|
|
6351
|
+
);
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
|
|
6355
|
+
// Checked
|
|
6356
|
+
.k-checkbox:checked,
|
|
6357
|
+
.k-checkbox.k-checked {
|
|
6358
|
+
@include fill(
|
|
6359
|
+
$checkbox-checked-text,
|
|
6360
|
+
$checkbox-checked-bg,
|
|
6361
|
+
$checkbox-checked-border
|
|
6362
|
+
);
|
|
6363
|
+
}
|
|
6364
|
+
.k-checkbox:checked:focus,
|
|
6365
|
+
.k-checkbox.k-checked.k-state-focus {
|
|
6366
|
+
@include fill( $border: $checkbox-focused-checked-border );
|
|
6367
|
+
@include box-shadow( $checkbox-focused-checked-shadow );
|
|
6368
|
+
}
|
|
6369
|
+
|
|
6370
|
+
|
|
6371
|
+
// Disabled
|
|
6372
|
+
.k-checkbox:disabled,
|
|
6373
|
+
.k-checkbox.k-disabled {
|
|
6374
|
+
@include fill(
|
|
6375
|
+
$checkbox-disabled-text,
|
|
6376
|
+
$checkbox-disabled-bg,
|
|
6377
|
+
$checkbox-disabled-border
|
|
6378
|
+
);
|
|
6379
|
+
}
|
|
6380
|
+
.k-checkbox:checked:disabled,
|
|
6381
|
+
.k-checkbox:indeterminate:disabled,
|
|
6382
|
+
.k-checkbox.k-state-indeterminate:disabled,
|
|
6383
|
+
.k-checkbox.k-checked.k-disabled,
|
|
6384
|
+
.k-checkbox.k-indeterminate.k-disabled {
|
|
6385
|
+
@include fill(
|
|
6386
|
+
$checkbox-disabled-checked-text,
|
|
6387
|
+
$checkbox-disabled-checked-bg,
|
|
6388
|
+
$checkbox-disabled-checked-border
|
|
6389
|
+
);
|
|
6390
|
+
}
|
|
6391
|
+
|
|
6392
|
+
|
|
6393
|
+
// Invalid
|
|
6394
|
+
.k-checkbox.k-invalid,
|
|
6395
|
+
.k-checkbox.k-state-invalid,
|
|
6396
|
+
.k-checkbox.ng-invalid.ng-touched,
|
|
6397
|
+
.k-checkbox.ng-invalid.ng-dirty {
|
|
6398
|
+
@include fill( $border: $checkbox-invalid-border );
|
|
6399
|
+
}
|
|
6400
|
+
.k-checkbox.k-invalid + .k-checkbox-label,
|
|
6401
|
+
.k-checkbox.k-state-invalid + .k-checkbox-label,
|
|
6402
|
+
.k-checkbox.ng-invalid.ng-touched + .k-checkbox-label,
|
|
6403
|
+
.k-checkbox.ng-invalid.ng-dirty + .k-checkbox-label {
|
|
6404
|
+
@include fill( $color: $checkbox-invalid-text );
|
|
6405
|
+
}
|
|
6406
|
+
|
|
6407
|
+
|
|
6408
|
+
// Ripple
|
|
6409
|
+
.k-ripple-container {
|
|
6410
|
+
.k-checkbox::after {
|
|
6411
|
+
background: $checkbox-checked-bg;
|
|
6412
|
+
opacity: $checkbox-ripple-opacity;
|
|
6413
|
+
}
|
|
6414
|
+
}
|
|
6415
|
+
|
|
6416
|
+
}
|
|
6417
|
+
|
|
6418
|
+
// #endregion
|
|
6419
|
+
|
|
6420
|
+
// #endregion
|
|
6421
|
+
|
|
6422
|
+
|
|
6423
|
+
// Component
|
|
6424
|
+
// #region @import "_variables.scss"; -> packages/default/scss/list/_variables.scss
|
|
6425
|
+
// File already imported_once. Skipping output.
|
|
6426
|
+
// #endregion
|
|
5945
6427
|
// #region @import "_layout.scss"; -> packages/default/scss/list/_layout.scss
|
|
5946
6428
|
@include exports( "list/layout" ) {
|
|
5947
6429
|
|
|
6430
|
+
.k-list,
|
|
6431
|
+
.k-list-container {
|
|
6432
|
+
font-size: $list-font-size;
|
|
6433
|
+
line-height: $list-line-height;
|
|
6434
|
+
}
|
|
6435
|
+
|
|
5948
6436
|
// Layout
|
|
5949
6437
|
.k-list-scroller {
|
|
5950
6438
|
position: relative;
|
|
@@ -5959,7 +6447,7 @@ $list-container-no-data-text: $subtle-text !default;
|
|
|
5959
6447
|
|
|
5960
6448
|
.k-list__group-header { // sass-lint:disable-line class-name-format
|
|
5961
6449
|
padding: $list-item-padding-y $list-item-padding-x;
|
|
5962
|
-
min-height: $line-height-em;
|
|
6450
|
+
min-height: $list-line-height-em;
|
|
5963
6451
|
border-bottom-width: 1px;
|
|
5964
6452
|
border-bottom-style: solid;
|
|
5965
6453
|
font-size: $font-size;
|
|
@@ -6001,8 +6489,8 @@ $list-container-no-data-text: $subtle-text !default;
|
|
|
6001
6489
|
|
|
6002
6490
|
.k-list__item { // sass-lint:disable-line class-name-format
|
|
6003
6491
|
padding: $list-item-padding-y $list-item-padding-x;
|
|
6004
|
-
min-height: $line-height-em;
|
|
6005
|
-
line-height: $line-height
|
|
6492
|
+
min-height: $list-line-height-em;
|
|
6493
|
+
line-height: $list-line-height;
|
|
6006
6494
|
white-space: normal;
|
|
6007
6495
|
display: flex;
|
|
6008
6496
|
align-items: center;
|
|
@@ -6015,6 +6503,12 @@ $list-container-no-data-text: $subtle-text !default;
|
|
|
6015
6503
|
transition-timing-function: ease;
|
|
6016
6504
|
outline: none;
|
|
6017
6505
|
|
|
6506
|
+
.k-checkbox {
|
|
6507
|
+
margin-top: calc( ( #{$list-line-height-em} - #{$checkbox-size} ) / 2 );
|
|
6508
|
+
font-size: inherit;
|
|
6509
|
+
align-self: flex-start;
|
|
6510
|
+
}
|
|
6511
|
+
|
|
6018
6512
|
&.k-first::before {
|
|
6019
6513
|
content: "";
|
|
6020
6514
|
display: block;
|
|
@@ -6927,7 +7421,7 @@ $clear-button-focused-opacity: .1 !default;
|
|
|
6927
7421
|
// #region @import "_variables.scss"; -> packages/default/scss/input/_variables.scss
|
|
6928
7422
|
// Input
|
|
6929
7423
|
|
|
6930
|
-
$input-default-width:
|
|
7424
|
+
$input-default-width: 200px !default;
|
|
6931
7425
|
|
|
6932
7426
|
$input-border-width: 1px !default;
|
|
6933
7427
|
$input-border-height: ( $input-border-width * 2 ) !default;
|
|
@@ -7463,228 +7957,150 @@ $floating-label-focus-text: null !default;
|
|
|
7463
7957
|
|
|
7464
7958
|
// Component
|
|
7465
7959
|
// #region @import "_variables.scss"; -> packages/default/scss/combobox/_variables.scss
|
|
7466
|
-
//
|
|
7467
|
-
$combobox-select-padding-x: 0px !default;
|
|
7468
|
-
$combobox-select-padding-y: 0px !default;
|
|
7469
|
-
$combobox-select-width: $button-inner-calc-size !default;
|
|
7470
|
-
|
|
7471
|
-
$combobox-bg: $input-bg !default;
|
|
7472
|
-
$combobox-text: $input-text !default;
|
|
7473
|
-
$combobox-border: $input-border !default;
|
|
7474
|
-
|
|
7475
|
-
$combobox-hovered-bg: $input-hovered-bg !default;
|
|
7476
|
-
$combobox-hovered-text: $input-hovered-text !default;
|
|
7477
|
-
$combobox-hovered-border: $input-hovered-border !default;
|
|
7478
|
-
|
|
7479
|
-
$combobox-focused-bg: $input-focused-bg !default;
|
|
7480
|
-
$combobox-focused-text: $input-focused-text !default;
|
|
7481
|
-
$combobox-focused-border: $input-focused-border !default;
|
|
7482
|
-
$combobox-focused-shadow: $input-focused-shadow !default;
|
|
7483
|
-
|
|
7484
|
-
$combobox-select-bg: $button-bg !default;
|
|
7485
|
-
$combobox-select-text: $button-text !default;
|
|
7486
|
-
$combobox-select-border: $button-border !default;
|
|
7487
|
-
$combobox-select-gradient: $button-gradient !default;
|
|
7488
|
-
|
|
7489
|
-
$combobox-select-hovered-bg: $button-hovered-bg !default;
|
|
7490
|
-
$combobox-select-hovered-text: $button-hovered-text !default;
|
|
7491
|
-
$combobox-select-hovered-border: $button-hovered-border !default;
|
|
7492
|
-
$combobox-select-hovered-gradient: $button-hovered-gradient !default;
|
|
7493
|
-
|
|
7494
|
-
$combobox-select-pressed-bg: $button-active-bg !default;
|
|
7495
|
-
$combobox-select-pressed-text: $button-active-text !default;
|
|
7496
|
-
$combobox-select-pressed-border: $button-active-border !default;
|
|
7497
|
-
$combobox-select-pressed-gradient: $button-active-gradient !default;
|
|
7960
|
+
// Combobox
|
|
7498
7961
|
|
|
7499
7962
|
// #endregion
|
|
7500
7963
|
// #region @import "_layout.scss"; -> packages/default/scss/combobox/_layout.scss
|
|
7501
|
-
@include exports("combobox/layout") {
|
|
7964
|
+
@include exports( "combobox/layout" ) {
|
|
7502
7965
|
|
|
7503
7966
|
// Combobox
|
|
7504
7967
|
.k-combobox {
|
|
7968
|
+
@include border-radius( $input-border-radius );
|
|
7505
7969
|
width: $input-default-width;
|
|
7506
|
-
border-width:
|
|
7970
|
+
border-width: $input-border-width;
|
|
7971
|
+
border-style: solid;
|
|
7507
7972
|
box-sizing: border-box;
|
|
7508
7973
|
outline: 0;
|
|
7509
|
-
background: none;
|
|
7510
7974
|
font-family: $input-font-family;
|
|
7511
7975
|
font-size: $input-font-size;
|
|
7512
7976
|
line-height: $input-line-height;
|
|
7513
|
-
text-align:
|
|
7977
|
+
text-align: start;
|
|
7514
7978
|
white-space: nowrap;
|
|
7515
7979
|
display: inline-flex;
|
|
7980
|
+
flex-flow: row nowrap;
|
|
7516
7981
|
vertical-align: middle;
|
|
7517
7982
|
position: relative;
|
|
7983
|
+
overflow: hidden;
|
|
7984
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
7518
7985
|
-webkit-touch-callout: none;
|
|
7519
7986
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
7520
7987
|
|
|
7521
|
-
.k-dropdown-wrap {
|
|
7522
|
-
@include border-radius( $input-border-radius );
|
|
7523
|
-
padding: 0;
|
|
7524
|
-
width: 100%;
|
|
7525
|
-
border-width: 1px;
|
|
7526
|
-
border-style: solid;
|
|
7527
|
-
box-sizing: border-box;
|
|
7528
|
-
position: relative;
|
|
7529
|
-
display: flex;
|
|
7530
|
-
flex-flow: row nowrap;
|
|
7531
|
-
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
7532
|
-
outline: 0;
|
|
7533
|
-
cursor: initial;
|
|
7534
|
-
overflow: hidden;
|
|
7535
|
-
}
|
|
7536
|
-
|
|
7537
7988
|
|
|
7538
7989
|
// Input
|
|
7539
7990
|
.k-input {}
|
|
7540
7991
|
|
|
7992
|
+
|
|
7993
|
+
// Loading icon
|
|
7994
|
+
.k-i-loading {
|
|
7995
|
+
width: $input-icon-width;
|
|
7996
|
+
height: $input-icon-height;
|
|
7997
|
+
}
|
|
7998
|
+
|
|
7999
|
+
|
|
7541
8000
|
// Select
|
|
7542
8001
|
.k-select {
|
|
7543
|
-
padding: $
|
|
7544
|
-
width: if( $use-picker-select-width, $
|
|
8002
|
+
padding: $picker-select-padding-y $picker-select-padding-x;
|
|
8003
|
+
width: if( $use-picker-select-width, $spinner-width, null );
|
|
7545
8004
|
border-width: 0;
|
|
7546
8005
|
border-inline-start-width: $picker-select-border-width;
|
|
7547
|
-
box-sizing: border-box;
|
|
7548
8006
|
border-style: solid;
|
|
8007
|
+
box-sizing: border-box;
|
|
8008
|
+
outline: 0;
|
|
7549
8009
|
display: flex;
|
|
8010
|
+
flex-flow: row nowrap;
|
|
7550
8011
|
align-items: center;
|
|
7551
8012
|
justify-content: center;
|
|
7552
8013
|
flex: 0 0 auto;
|
|
7553
|
-
text-align: center;
|
|
7554
8014
|
cursor: pointer;
|
|
7555
8015
|
}
|
|
7556
|
-
|
|
7557
|
-
&[dir="rtl"],
|
|
7558
|
-
.k-rtl & {
|
|
7559
|
-
text-align: right;
|
|
7560
|
-
}
|
|
7561
8016
|
}
|
|
8017
|
+
|
|
7562
8018
|
}
|
|
7563
8019
|
|
|
7564
8020
|
// #endregion
|
|
7565
8021
|
// #region @import "_theme.scss"; -> packages/default/scss/combobox/_theme.scss
|
|
7566
|
-
@include exports("combobox/theme") {
|
|
8022
|
+
@include exports( "combobox/theme" ) {
|
|
7567
8023
|
|
|
7568
8024
|
.k-combobox {
|
|
7569
|
-
|
|
7570
|
-
|
|
7571
|
-
|
|
7572
|
-
|
|
7573
|
-
|
|
7574
|
-
$combobox-bg,
|
|
7575
|
-
$combobox-border
|
|
7576
|
-
);
|
|
7577
|
-
|
|
7578
|
-
// Invalid state
|
|
7579
|
-
&.k-invalid,
|
|
7580
|
-
&.k-invalid:hover,
|
|
7581
|
-
&.k-state-invalid {
|
|
7582
|
-
border-color: $invalid-border;
|
|
7583
|
-
|
|
7584
|
-
.k-input-validation-icon {
|
|
7585
|
-
color: $invalid-text;
|
|
7586
|
-
}
|
|
7587
|
-
|
|
7588
|
-
&:focus,
|
|
7589
|
-
&.k-state-focused {
|
|
7590
|
-
@include box-shadow($invalid-shadow);
|
|
7591
|
-
}
|
|
7592
|
-
}
|
|
7593
|
-
}
|
|
7594
|
-
|
|
7595
|
-
.k-select {
|
|
7596
|
-
@include fill(
|
|
7597
|
-
$combobox-select-text,
|
|
7598
|
-
$combobox-select-bg,
|
|
7599
|
-
$combobox-select-border,
|
|
7600
|
-
$combobox-select-gradient
|
|
7601
|
-
);
|
|
7602
|
-
}
|
|
8025
|
+
@include fill(
|
|
8026
|
+
$input-text,
|
|
8027
|
+
$input-bg,
|
|
8028
|
+
$input-border
|
|
8029
|
+
);
|
|
7603
8030
|
|
|
7604
8031
|
// Hover state
|
|
7605
|
-
|
|
7606
|
-
|
|
8032
|
+
&:hover,
|
|
8033
|
+
&.k-state-hover {
|
|
7607
8034
|
@include fill(
|
|
7608
|
-
$
|
|
7609
|
-
$
|
|
7610
|
-
$
|
|
8035
|
+
$input-hovered-text,
|
|
8036
|
+
$input-hovered-bg,
|
|
8037
|
+
$input-hovered-border
|
|
7611
8038
|
);
|
|
7612
8039
|
}
|
|
7613
|
-
|
|
8040
|
+
|
|
8041
|
+
// Focus state
|
|
8042
|
+
&:focus,
|
|
8043
|
+
&.k-state-focus {
|
|
7614
8044
|
@include fill(
|
|
7615
|
-
$
|
|
7616
|
-
$
|
|
7617
|
-
$
|
|
7618
|
-
$combobox-select-hovered-gradient
|
|
8045
|
+
$input-focused-text,
|
|
8046
|
+
$input-focused-bg,
|
|
8047
|
+
$input-focused-border
|
|
7619
8048
|
);
|
|
8049
|
+
@include box-shadow( $input-focused-shadow );
|
|
7620
8050
|
}
|
|
7621
|
-
|
|
7622
|
-
// Focus state
|
|
7623
|
-
> .k-state-focused {
|
|
8051
|
+
&:focus-within {
|
|
7624
8052
|
@include fill(
|
|
7625
|
-
$
|
|
7626
|
-
$
|
|
7627
|
-
$
|
|
8053
|
+
$input-focused-text,
|
|
8054
|
+
$input-focused-bg,
|
|
8055
|
+
$input-focused-border
|
|
7628
8056
|
);
|
|
7629
|
-
@include box-shadow($
|
|
8057
|
+
@include box-shadow( $input-focused-shadow );
|
|
7630
8058
|
}
|
|
7631
8059
|
|
|
7632
|
-
// Invalid
|
|
7633
|
-
&.k-state-invalid,
|
|
7634
|
-
&.ng-invalid.ng-touched,
|
|
7635
|
-
&.ng-invalid.ng-dirty {
|
|
7636
|
-
.k-dropdown-wrap {
|
|
7637
|
-
border-color: $invalid-border;
|
|
7638
|
-
|
|
7639
|
-
.k-input-validation-icon {
|
|
7640
|
-
color: $invalid-text;
|
|
7641
|
-
}
|
|
7642
8060
|
|
|
7643
|
-
|
|
7644
|
-
|
|
7645
|
-
|
|
7646
|
-
|
|
7647
|
-
|
|
7648
|
-
}
|
|
7649
|
-
}
|
|
8061
|
+
// Invalid state
|
|
8062
|
+
&.k-invalid,
|
|
8063
|
+
&.ng-invalid,
|
|
8064
|
+
&.k-state-invalid {
|
|
8065
|
+
border-color: $invalid-border;
|
|
7650
8066
|
|
|
7651
|
-
|
|
7652
|
-
|
|
7653
|
-
&.k-state-hover {
|
|
7654
|
-
.k-dropdown-wrap {
|
|
7655
|
-
@include fill(
|
|
7656
|
-
$combobox-hovered-text,
|
|
7657
|
-
$combobox-hovered-bg,
|
|
7658
|
-
$combobox-hovered-border
|
|
7659
|
-
);
|
|
8067
|
+
.k-input-validation-icon {
|
|
8068
|
+
color: $invalid-text;
|
|
7660
8069
|
}
|
|
7661
|
-
}
|
|
7662
8070
|
|
|
7663
|
-
|
|
7664
|
-
|
|
7665
|
-
@include
|
|
7666
|
-
$combobox-focused-text,
|
|
7667
|
-
$combobox-focused-bg,
|
|
7668
|
-
$combobox-focused-border
|
|
7669
|
-
);
|
|
7670
|
-
@include box-shadow($combobox-focused-shadow);
|
|
8071
|
+
&:focus-within,
|
|
8072
|
+
&.k-state-focus {
|
|
8073
|
+
@include box-shadow($invalid-shadow);
|
|
7671
8074
|
}
|
|
7672
8075
|
}
|
|
7673
8076
|
|
|
7674
|
-
&.k-invalid {
|
|
7675
|
-
.k-dropdown-wrap {
|
|
7676
|
-
border-color: $invalid-border;
|
|
7677
8077
|
|
|
7678
|
-
|
|
7679
|
-
|
|
7680
|
-
|
|
7681
|
-
|
|
8078
|
+
// Select
|
|
8079
|
+
.k-select {
|
|
8080
|
+
@include fill(
|
|
8081
|
+
$picker-select-text,
|
|
8082
|
+
$picker-select-bg,
|
|
8083
|
+
$picker-select-border,
|
|
8084
|
+
$picker-select-gradient
|
|
8085
|
+
);
|
|
7682
8086
|
}
|
|
7683
|
-
|
|
7684
|
-
|
|
7685
|
-
|
|
7686
|
-
|
|
7687
|
-
|
|
8087
|
+
.k-select:hover,
|
|
8088
|
+
.k-select.k-state-hover {
|
|
8089
|
+
@include fill(
|
|
8090
|
+
$picker-select-hovered-text,
|
|
8091
|
+
$picker-select-hovered-bg,
|
|
8092
|
+
$picker-select-hovered-border,
|
|
8093
|
+
$picker-select-hovered-gradient
|
|
8094
|
+
);
|
|
8095
|
+
}
|
|
8096
|
+
.k-select:active,
|
|
8097
|
+
.k-select.k-state-active {
|
|
8098
|
+
@include fill(
|
|
8099
|
+
$picker-select-pressed-text,
|
|
8100
|
+
$picker-select-pressed-bg,
|
|
8101
|
+
$picker-select-pressed-border,
|
|
8102
|
+
$picker-select-pressed-gradient
|
|
8103
|
+
);
|
|
7688
8104
|
}
|
|
7689
8105
|
}
|
|
7690
8106
|
|
|
@@ -7956,14 +8372,14 @@ $grid-filter-menu-check-all-border-bottom-width: 1px !default;
|
|
|
7956
8372
|
$grid-filter-menu-item-spacing-x: map-get( $spacing, 2 ) !default;
|
|
7957
8373
|
$grid-filter-menu-item-spacing-y: $grid-filter-menu-item-spacing-x !default;
|
|
7958
8374
|
|
|
7959
|
-
$grid-column-menu-popup-padding-x:
|
|
7960
|
-
$grid-column-menu-popup-padding-y:
|
|
8375
|
+
$grid-column-menu-popup-padding-x: null !default;
|
|
8376
|
+
$grid-column-menu-popup-padding-y: null !default;
|
|
7961
8377
|
|
|
7962
|
-
$grid-column-menu-item-padding-x: $padding-x !default;
|
|
7963
|
-
$grid-column-menu-item-padding-y: $padding-y !default;
|
|
8378
|
+
$grid-column-menu-item-padding-x: $menu-popup-item-padding-x !default;
|
|
8379
|
+
$grid-column-menu-item-padding-y: $menu-popup-item-padding-y !default;
|
|
7964
8380
|
|
|
7965
|
-
$grid-column-menu-list-item-padding-x: $padding-x !default;
|
|
7966
|
-
$grid-column-menu-list-item-padding-y: $padding-y
|
|
8381
|
+
$grid-column-menu-list-item-padding-x: $list-item-padding-x !default;
|
|
8382
|
+
$grid-column-menu-list-item-padding-y: $list-item-padding-y !default;
|
|
7967
8383
|
|
|
7968
8384
|
$grid-column-menu-items-wrap-padding-x: 0 !default;
|
|
7969
8385
|
$grid-column-menu-items-wrap-padding-y: $padding-y-lg !default;
|
|
@@ -9711,6 +10127,7 @@ $color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAA
|
|
|
9711
10127
|
.k-color-preview {
|
|
9712
10128
|
border-width: $color-preview-border-width;
|
|
9713
10129
|
border-radius: $color-preview-border-radius;
|
|
10130
|
+
box-sizing: border-box;
|
|
9714
10131
|
border-style: solid;
|
|
9715
10132
|
display: inline-flex;
|
|
9716
10133
|
flex-direction: row;
|
|
@@ -9718,21 +10135,62 @@ $color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAA
|
|
|
9718
10135
|
position: relative;
|
|
9719
10136
|
overflow: hidden;
|
|
9720
10137
|
}
|
|
9721
|
-
|
|
9722
|
-
|
|
10138
|
+
|
|
10139
|
+
|
|
10140
|
+
// Current Color
|
|
10141
|
+
.k-coloreditor-current-color {
|
|
10142
|
+
cursor: pointer;
|
|
10143
|
+
}
|
|
10144
|
+
|
|
10145
|
+
|
|
10146
|
+
// Icon color preview
|
|
10147
|
+
.k-icon-color-preview {
|
|
10148
|
+
border-width: 0;
|
|
10149
|
+
border-radius: 0;
|
|
10150
|
+
display: flex;
|
|
10151
|
+
flex-flow: column nowrap;
|
|
10152
|
+
align-items: center;
|
|
10153
|
+
justify-content: center;
|
|
10154
|
+
gap: 2px;
|
|
10155
|
+
|
|
10156
|
+
.k-color-preview-mask {
|
|
10157
|
+
width: calc( #{$icon-size} - 2px );
|
|
10158
|
+
height: 2px;
|
|
10159
|
+
}
|
|
10160
|
+
}
|
|
10161
|
+
|
|
10162
|
+
|
|
10163
|
+
// Color Preview Mask
|
|
10164
|
+
.k-color-preview-mask {
|
|
9723
10165
|
width: 100%;
|
|
9724
10166
|
height: 100%;
|
|
9725
|
-
display: block;
|
|
9726
10167
|
position: relative;
|
|
10168
|
+
}
|
|
10169
|
+
.k-color-preview-mask::before {
|
|
10170
|
+
content: "";
|
|
10171
|
+
width: 100%;
|
|
10172
|
+
height: 100%;
|
|
10173
|
+
position: absolute;
|
|
10174
|
+
top: 0;
|
|
10175
|
+
left: 0;
|
|
9727
10176
|
z-index: -1;
|
|
10177
|
+
background: $color-preview-transparent-color-image;
|
|
10178
|
+
background-size: contain;
|
|
10179
|
+
background-position: 0 0;
|
|
9728
10180
|
}
|
|
9729
10181
|
|
|
9730
|
-
// Current Color
|
|
9731
|
-
.k-coloreditor-current-color {
|
|
9732
|
-
cursor: pointer;
|
|
9733
|
-
}
|
|
9734
10182
|
|
|
9735
10183
|
// No Color
|
|
10184
|
+
.k-no-color .k-color-preview-mask::before {
|
|
10185
|
+
content: "";
|
|
10186
|
+
background-color: $color-preview-no-color-bg;
|
|
10187
|
+
background-image: $color-preview-no-color-image;
|
|
10188
|
+
background-size: 100% 100%;
|
|
10189
|
+
background-position: 0 0;
|
|
10190
|
+
}
|
|
10191
|
+
|
|
10192
|
+
|
|
10193
|
+
// No Color (legacy)
|
|
9736
10194
|
.k-no-color::before {
|
|
9737
10195
|
content: "";
|
|
9738
10196
|
width: 100%;
|
|
@@ -9756,12 +10214,6 @@ $color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAA
|
|
|
9756
10214
|
$color-preview-border
|
|
9757
10215
|
);
|
|
9758
10216
|
|
|
9759
|
-
&::before {
|
|
9760
|
-
background: $color-preview-transparent-color-image;
|
|
9761
|
-
background-size: contain;
|
|
9762
|
-
background-position: 0;
|
|
9763
|
-
}
|
|
9764
|
-
|
|
9765
10217
|
&:hover,
|
|
9766
10218
|
&.k-state-hover,
|
|
9767
10219
|
&.k-hover {
|
|
@@ -9769,14 +10221,6 @@ $color-preview-transparent-color-image: url("data:image/png;base64,iVBORw0KGgoAA
|
|
|
9769
10221
|
}
|
|
9770
10222
|
}
|
|
9771
10223
|
|
|
9772
|
-
// No Color
|
|
9773
|
-
.k-no-color::before {
|
|
9774
|
-
background-color: $color-preview-no-color-bg;
|
|
9775
|
-
background-image: $color-preview-no-color-image;
|
|
9776
|
-
background-size: 100% 100%;
|
|
9777
|
-
background-position: 0 0;
|
|
9778
|
-
}
|
|
9779
|
-
|
|
9780
10224
|
}
|
|
9781
10225
|
|
|
9782
10226
|
// #endregion
|
|
@@ -10973,7 +11417,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
10973
11417
|
.k-button {
|
|
10974
11418
|
|
|
10975
11419
|
&::after {
|
|
10976
|
-
@include border-radius(
|
|
11420
|
+
@include border-radius( inherit );
|
|
10977
11421
|
content: "";
|
|
10978
11422
|
opacity: 0;
|
|
10979
11423
|
display: none;
|
|
@@ -10996,12 +11440,6 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
10996
11440
|
|
|
10997
11441
|
.k-ie {
|
|
10998
11442
|
|
|
10999
|
-
.k-button,
|
|
11000
|
-
.k-button-group {
|
|
11001
|
-
display: inline-block;
|
|
11002
|
-
overflow: visible; // IE9
|
|
11003
|
-
}
|
|
11004
|
-
|
|
11005
11443
|
.k-button-icontext {
|
|
11006
11444
|
|
|
11007
11445
|
.k-icon,
|
|
@@ -11452,12 +11890,26 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11452
11890
|
flex: 1 0 0%;
|
|
11453
11891
|
}
|
|
11454
11892
|
|
|
11893
|
+
|
|
11455
11894
|
// Template
|
|
11456
11895
|
.k-toolbar-template {
|
|
11457
11896
|
align-self: center;
|
|
11458
11897
|
align-items: center;
|
|
11459
11898
|
}
|
|
11460
11899
|
|
|
11900
|
+
|
|
11901
|
+
// Child components
|
|
11902
|
+
.k-textbox,
|
|
11903
|
+
.k-combobox,
|
|
11904
|
+
.k-dropdown,
|
|
11905
|
+
.k-searchbox,
|
|
11906
|
+
.k-numerictextbox,
|
|
11907
|
+
.k-datepicker,
|
|
11908
|
+
.k-timepicker,
|
|
11909
|
+
.k-datetimepicker {
|
|
11910
|
+
width: 10em;
|
|
11911
|
+
}
|
|
11912
|
+
|
|
11461
11913
|
}
|
|
11462
11914
|
|
|
11463
11915
|
|
|
@@ -11472,6 +11924,7 @@ $tooltip-error-border: $tooltip-error-bg !default;
|
|
|
11472
11924
|
|
|
11473
11925
|
// Angular specific
|
|
11474
11926
|
kendo-toolbar-renderer {
|
|
11927
|
+
display: inline-block;
|
|
11475
11928
|
border-color: inherit;
|
|
11476
11929
|
}
|
|
11477
11930
|
|
|
@@ -12026,10 +12479,6 @@ $fieldset-legend-border: null !default;
|
|
|
12026
12479
|
display: inline-flex;
|
|
12027
12480
|
width: 100%;
|
|
12028
12481
|
}
|
|
12029
|
-
|
|
12030
|
-
.k-editor .k-dropdown {
|
|
12031
|
-
width: $input-default-width;
|
|
12032
|
-
}
|
|
12033
12482
|
}
|
|
12034
12483
|
|
|
12035
12484
|
// Form Buttons Container
|
|
@@ -13027,479 +13476,8 @@ $textarea-invalid-focus-shadow: $invalid-shadow !default;
|
|
|
13027
13476
|
|
|
13028
13477
|
// #endregion
|
|
13029
13478
|
// #region @import "checkbox/_index.scss"; -> packages/default/scss/checkbox/_index.scss
|
|
13030
|
-
// #region @import "../core/_index.scss"; -> packages/default/scss/core/_index.scss
|
|
13031
13479
|
// File already imported_once. Skipping output.
|
|
13032
13480
|
// #endregion
|
|
13033
|
-
|
|
13034
|
-
|
|
13035
|
-
// Dependencies
|
|
13036
|
-
// #region @import "../list/_variables.scss"; -> packages/default/scss/list/_variables.scss
|
|
13037
|
-
// File already imported_once. Skipping output.
|
|
13038
|
-
// #endregion
|
|
13039
|
-
|
|
13040
|
-
|
|
13041
|
-
// Component
|
|
13042
|
-
// #region @import "_variables.scss"; -> packages/default/scss/checkbox/_variables.scss
|
|
13043
|
-
// Checkbox
|
|
13044
|
-
$checkbox-size: map-get( $spacing, 4 ) !default;
|
|
13045
|
-
$checkbox-radius: map-get( $spacing, thin ) !default;
|
|
13046
|
-
$checkbox-border-width: 1px !default;
|
|
13047
|
-
$checkbox-line-height: calc( #{$checkbox-size} + #{$checkbox-border-width} ) !default;
|
|
13048
|
-
|
|
13049
|
-
$checkbox-bg: $white !default;
|
|
13050
|
-
$checkbox-text: transparent !default;
|
|
13051
|
-
$checkbox-border: $base-border !default;
|
|
13052
|
-
|
|
13053
|
-
$checkbox-hovered-bg: null !default;
|
|
13054
|
-
$checkbox-hovered-text: null !default;
|
|
13055
|
-
$checkbox-hovered-border: null !default;
|
|
13056
|
-
|
|
13057
|
-
$checkbox-checked-bg: $primary !default;
|
|
13058
|
-
$checkbox-checked-text: contrast-wcag( $checkbox-checked-bg ) !default;
|
|
13059
|
-
$checkbox-checked-border: $checkbox-checked-bg !default;
|
|
13060
|
-
|
|
13061
|
-
$checkbox-indeterminate-bg: $checkbox-bg !default;
|
|
13062
|
-
$checkbox-indeterminate-text: $checkbox-checked-bg !default;
|
|
13063
|
-
$checkbox-indeterminate-border: $checkbox-border !default;
|
|
13064
|
-
|
|
13065
|
-
$checkbox-focused-border: null !default;
|
|
13066
|
-
$checkbox-focused-shadow: 0 0 0 2px rgba(0, 0, 0, .06) !default;
|
|
13067
|
-
$checkbox-focused-checked-border: null !default;
|
|
13068
|
-
$checkbox-focused-checked-shadow: 0 0 0 2px rgba( $primary, .3 ) !default;
|
|
13069
|
-
|
|
13070
|
-
$checkbox-disabled-bg: null !default;
|
|
13071
|
-
$checkbox-disabled-text: null !default;
|
|
13072
|
-
$checkbox-disabled-border: null !default;
|
|
13073
|
-
|
|
13074
|
-
$checkbox-disabled-checked-bg: null !default;
|
|
13075
|
-
$checkbox-disabled-checked-text: null !default;
|
|
13076
|
-
$checkbox-disabled-checked-border: null !default;
|
|
13077
|
-
|
|
13078
|
-
$checkbox-invalid-bg: null !default;
|
|
13079
|
-
$checkbox-invalid-text: $invalid-text !default;
|
|
13080
|
-
$checkbox-invalid-border: $invalid-border !default;
|
|
13081
|
-
|
|
13082
|
-
|
|
13083
|
-
// Checkbox indicator
|
|
13084
|
-
$checkbox-icon-type: glyph !default;
|
|
13085
|
-
|
|
13086
|
-
$checkbox-glyph-font-family: "WebComponentsIcons", monospace !default;
|
|
13087
|
-
$checkbox-glyph-size: 12px !default;
|
|
13088
|
-
$checkbox-checked-glyph: "\e118" !default;
|
|
13089
|
-
$checkbox-indeterminate-glyph: "\e121" !default;
|
|
13090
|
-
|
|
13091
|
-
$checkbox-checked-image: null !default;
|
|
13092
|
-
$checkbox-indeterminate-image: null !default;
|
|
13093
|
-
|
|
13094
|
-
$checkbox-marker-checked-width: ( $checkbox-size / 2 ) !default;
|
|
13095
|
-
$checkbox-marker-checked-height: ( $checkbox-size / 2 ) !default;
|
|
13096
|
-
$checkbox-marker-indeterminate-width: ( $checkbox-size / 2 ) !default;
|
|
13097
|
-
$checkbox-marker-indeterminate-height: ( $checkbox-size / 2 ) !default;
|
|
13098
|
-
|
|
13099
|
-
|
|
13100
|
-
// Checkbox label
|
|
13101
|
-
$checkbox-label-margin-x: map-get( $spacing, 1 ) !default;
|
|
13102
|
-
|
|
13103
|
-
|
|
13104
|
-
// Checkbox list
|
|
13105
|
-
$checkbox-list-margin: 0px !default;
|
|
13106
|
-
$checkbox-list-padding: 0px !default;
|
|
13107
|
-
$checkbox-list-item-padding-x: 0px !default;
|
|
13108
|
-
$checkbox-list-item-padding-y: $list-item-padding-y !default;
|
|
13109
|
-
$checkbox-list-horizontal-item-margin-x: 32px !default;
|
|
13110
|
-
|
|
13111
|
-
|
|
13112
|
-
// Checkbox ripple
|
|
13113
|
-
$checkbox-ripple-size: $checkbox-size * 3 !default;
|
|
13114
|
-
$checkbox-ripple-margin: calc(-1 * (#{$checkbox-size} + 2 * #{$checkbox-border-width})) !default;
|
|
13115
|
-
$checkbox-ripple-opacity: .3 !default;
|
|
13116
|
-
|
|
13117
|
-
// #endregion
|
|
13118
|
-
// #region @import "_layout.scss"; -> packages/default/scss/checkbox/_layout.scss
|
|
13119
|
-
@include exports( "checkbox/layout" ) {
|
|
13120
|
-
|
|
13121
|
-
// Checkbox
|
|
13122
|
-
.k-checkbox {
|
|
13123
|
-
@include border-radius( $checkbox-radius );
|
|
13124
|
-
margin: 0;
|
|
13125
|
-
padding: 0;
|
|
13126
|
-
width: $checkbox-size;
|
|
13127
|
-
height: $checkbox-size;
|
|
13128
|
-
line-height: initial;
|
|
13129
|
-
border-width: $checkbox-border-width;
|
|
13130
|
-
border-style: solid;
|
|
13131
|
-
outline: 0;
|
|
13132
|
-
box-sizing: border-box;
|
|
13133
|
-
background-position: center;
|
|
13134
|
-
background-repeat: no-repeat;
|
|
13135
|
-
background-size: contain;
|
|
13136
|
-
display: inline-block;
|
|
13137
|
-
vertical-align: middle;
|
|
13138
|
-
position: relative;
|
|
13139
|
-
cursor: pointer;
|
|
13140
|
-
-webkit-appearance: none;
|
|
13141
|
-
}
|
|
13142
|
-
|
|
13143
|
-
// Checkbox indicator
|
|
13144
|
-
.k-checkbox::before {
|
|
13145
|
-
@if $checkbox-icon-type == "glyph" {
|
|
13146
|
-
content: $checkbox-checked-glyph;
|
|
13147
|
-
width: $checkbox-glyph-size;
|
|
13148
|
-
height: $checkbox-glyph-size;
|
|
13149
|
-
font-size: $checkbox-glyph-size;
|
|
13150
|
-
font-family: $checkbox-glyph-font-family;
|
|
13151
|
-
line-height: 1;
|
|
13152
|
-
transform: scale(0) translate(-50%, -50%);
|
|
13153
|
-
overflow: hidden;
|
|
13154
|
-
position: absolute;
|
|
13155
|
-
top: 50%;
|
|
13156
|
-
left: 50%;
|
|
13157
|
-
}
|
|
13158
|
-
|
|
13159
|
-
@if $checkbox-icon-type == "marker" {
|
|
13160
|
-
content: "";
|
|
13161
|
-
width: $checkbox-marker-checked-width;
|
|
13162
|
-
height: $checkbox-marker-checked-height;
|
|
13163
|
-
background-color: currentColor;
|
|
13164
|
-
transform: scale(0) translate(-50%, -50%);
|
|
13165
|
-
overflow: hidden;
|
|
13166
|
-
position: absolute;
|
|
13167
|
-
top: 50%;
|
|
13168
|
-
left: 50%;
|
|
13169
|
-
}
|
|
13170
|
-
}
|
|
13171
|
-
|
|
13172
|
-
|
|
13173
|
-
// Checked state
|
|
13174
|
-
.k-checkbox:checked,
|
|
13175
|
-
.k-checkbox.k-checked {
|
|
13176
|
-
@if $checkbox-icon-type == "image" {
|
|
13177
|
-
background-image: $checkbox-checked-image;
|
|
13178
|
-
}
|
|
13179
|
-
|
|
13180
|
-
@if $checkbox-icon-type == "glyph" {
|
|
13181
|
-
&::before {
|
|
13182
|
-
transform: scale(1) translate(-50%, -50%);
|
|
13183
|
-
}
|
|
13184
|
-
}
|
|
13185
|
-
|
|
13186
|
-
@if $checkbox-icon-type == "marker" {
|
|
13187
|
-
&::before {
|
|
13188
|
-
transform: scale(1) translate(-50%, -50%);
|
|
13189
|
-
}
|
|
13190
|
-
}
|
|
13191
|
-
}
|
|
13192
|
-
|
|
13193
|
-
|
|
13194
|
-
// Indeterminate state
|
|
13195
|
-
.k-checkbox:indeterminate,
|
|
13196
|
-
.k-checkbox.k-indeterminate,
|
|
13197
|
-
.k-checkbox.k-state-indeterminate {
|
|
13198
|
-
@if $checkbox-icon-type == "image" {
|
|
13199
|
-
background-image: $checkbox-indeterminate-image;
|
|
13200
|
-
}
|
|
13201
|
-
|
|
13202
|
-
@if $checkbox-icon-type == "glyph" {
|
|
13203
|
-
&::before {
|
|
13204
|
-
content: $checkbox-indeterminate-glyph;
|
|
13205
|
-
transform: scale(1) translate(-50%, -50%);
|
|
13206
|
-
}
|
|
13207
|
-
}
|
|
13208
|
-
|
|
13209
|
-
@if $checkbox-icon-type == "marker" {
|
|
13210
|
-
&::before {
|
|
13211
|
-
width: $checkbox-maker-indeterminate-width;
|
|
13212
|
-
height: $checkbox-marker-indeterminate-height;
|
|
13213
|
-
transform: scale(1) translate(-50%, -50%);
|
|
13214
|
-
}
|
|
13215
|
-
}
|
|
13216
|
-
}
|
|
13217
|
-
|
|
13218
|
-
|
|
13219
|
-
// Disabled state
|
|
13220
|
-
.k-checkbox:disabled,
|
|
13221
|
-
.k-checkbox.k-disabled,
|
|
13222
|
-
.k-checkbox:disabled + .k-checkbox-label,
|
|
13223
|
-
.k-checkbox.k-disabled + .k-checkbox-label {
|
|
13224
|
-
@include disabled( $disabled-styling );
|
|
13225
|
-
}
|
|
13226
|
-
|
|
13227
|
-
// Checkbox label
|
|
13228
|
-
.k-checkbox-label {
|
|
13229
|
-
margin: 0;
|
|
13230
|
-
padding: 0;
|
|
13231
|
-
line-height: $checkbox-line-height;
|
|
13232
|
-
display: inline-flex;
|
|
13233
|
-
align-items: flex-start;
|
|
13234
|
-
vertical-align: middle;
|
|
13235
|
-
position: relative;
|
|
13236
|
-
cursor: pointer;
|
|
13237
|
-
|
|
13238
|
-
.k-label {
|
|
13239
|
-
cursor: pointer;
|
|
13240
|
-
}
|
|
13241
|
-
|
|
13242
|
-
.k-ripple {
|
|
13243
|
-
top: $checkbox-size / 2;
|
|
13244
|
-
left: $checkbox-size / 2;
|
|
13245
|
-
right: auto;
|
|
13246
|
-
bottom: auto;
|
|
13247
|
-
width: $checkbox-size * 5 / 2;
|
|
13248
|
-
height: $checkbox-size * 5 / 2;
|
|
13249
|
-
transform: translate(-50%, -50%);
|
|
13250
|
-
border-radius: 50%;
|
|
13251
|
-
|
|
13252
|
-
// Hide ripple temporarily
|
|
13253
|
-
visibility: hidden !important; // sass-lint:disable-line no-important
|
|
13254
|
-
}
|
|
13255
|
-
|
|
13256
|
-
.k-ripple-blob {
|
|
13257
|
-
// sass-lint:disable-block no-important
|
|
13258
|
-
// use !important until ripple can apply these styles from the script
|
|
13259
|
-
top: 50% !important;
|
|
13260
|
-
left: 50% !important;
|
|
13261
|
-
width: 200% !important;
|
|
13262
|
-
height: 200% !important;
|
|
13263
|
-
}
|
|
13264
|
-
}
|
|
13265
|
-
.k-checkbox + .k-checkbox-label {
|
|
13266
|
-
display: inline;
|
|
13267
|
-
}
|
|
13268
|
-
.k-checkbox + .k-checkbox-label,
|
|
13269
|
-
.k-checkbox-label + .k-checkbox {
|
|
13270
|
-
margin-left: $checkbox-label-margin-x;
|
|
13271
|
-
}
|
|
13272
|
-
.k-checkbox-label > .k-checkbox {
|
|
13273
|
-
margin-right: $checkbox-label-margin-x;
|
|
13274
|
-
flex-shrink: 0;
|
|
13275
|
-
}
|
|
13276
|
-
kendo-label.k-checkbox-label > .k-checkbox:last-child {
|
|
13277
|
-
margin-right: 0;
|
|
13278
|
-
}
|
|
13279
|
-
kendo-label.k-checkbox-label > .k-label:first-child {
|
|
13280
|
-
margin-right: $checkbox-label-margin-x;
|
|
13281
|
-
}
|
|
13282
|
-
kendo-label.k-checkbox-label > .k-label {
|
|
13283
|
-
display: inline;
|
|
13284
|
-
}
|
|
13285
|
-
|
|
13286
|
-
|
|
13287
|
-
// Empty label
|
|
13288
|
-
.k-checkbox-label:empty {
|
|
13289
|
-
display: none;
|
|
13290
|
-
}
|
|
13291
|
-
|
|
13292
|
-
|
|
13293
|
-
// Label with no text
|
|
13294
|
-
.k-checkbox-label.k-no-text {
|
|
13295
|
-
min-width: 1px;
|
|
13296
|
-
}
|
|
13297
|
-
|
|
13298
|
-
|
|
13299
|
-
// Checkbox list
|
|
13300
|
-
.k-checkbox-list {
|
|
13301
|
-
margin: $checkbox-list-margin;
|
|
13302
|
-
padding: $checkbox-list-padding;
|
|
13303
|
-
list-style: none;
|
|
13304
|
-
|
|
13305
|
-
.k-checkbox-item {
|
|
13306
|
-
padding: $checkbox-list-item-padding-y $checkbox-list-item-padding-x;
|
|
13307
|
-
}
|
|
13308
|
-
}
|
|
13309
|
-
|
|
13310
|
-
.k-list-horizontal {
|
|
13311
|
-
.k-checkbox-item {
|
|
13312
|
-
display: inline-block;
|
|
13313
|
-
margin: 0 $checkbox-list-horizontal-item-margin-x 0 0;
|
|
13314
|
-
|
|
13315
|
-
&:last-child {
|
|
13316
|
-
margin-right: 0;
|
|
13317
|
-
}
|
|
13318
|
-
}
|
|
13319
|
-
}
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
// RTL
|
|
13323
|
-
.k-rtl,
|
|
13324
|
-
[dir="rtl"] {
|
|
13325
|
-
.k-checkbox + .k-checkbox-label,
|
|
13326
|
-
.k-checkbox-label + .k-checkbox {
|
|
13327
|
-
margin-left: 0;
|
|
13328
|
-
margin-right: $checkbox-label-margin-x;
|
|
13329
|
-
}
|
|
13330
|
-
.k-checkbox-label > .k-checkbox {
|
|
13331
|
-
margin-right: 0;
|
|
13332
|
-
margin-left: $checkbox-label-margin-x;
|
|
13333
|
-
}
|
|
13334
|
-
kendo-label.k-checkbox-label > .k-checkbox:last-child {
|
|
13335
|
-
margin-left: 0;
|
|
13336
|
-
}
|
|
13337
|
-
kendo-label.k-checkbox-label > .k-label:first-child {
|
|
13338
|
-
margin-right: 0;
|
|
13339
|
-
margin-left: $checkbox-label-margin-x;
|
|
13340
|
-
}
|
|
13341
|
-
|
|
13342
|
-
.k-list-horizontal {
|
|
13343
|
-
.k-checkbox-item {
|
|
13344
|
-
margin-right: 0;
|
|
13345
|
-
margin-left: $checkbox-list-horizontal-item-margin-x;
|
|
13346
|
-
|
|
13347
|
-
&:last-child {
|
|
13348
|
-
margin-left: 0;
|
|
13349
|
-
}
|
|
13350
|
-
}
|
|
13351
|
-
}
|
|
13352
|
-
}
|
|
13353
|
-
|
|
13354
|
-
.k-ripple-container {
|
|
13355
|
-
.k-checkbox::after {
|
|
13356
|
-
content: "";
|
|
13357
|
-
display: block;
|
|
13358
|
-
position: absolute;
|
|
13359
|
-
left: 0;
|
|
13360
|
-
top: 0;
|
|
13361
|
-
width: $checkbox-ripple-size;
|
|
13362
|
-
height: $checkbox-ripple-size;
|
|
13363
|
-
margin-left: $checkbox-ripple-margin;
|
|
13364
|
-
margin-top: $checkbox-ripple-margin;
|
|
13365
|
-
border-radius: 100%;
|
|
13366
|
-
z-index: 1;
|
|
13367
|
-
transform: scale(0);
|
|
13368
|
-
}
|
|
13369
|
-
|
|
13370
|
-
.k-checkbox:disabled::after,
|
|
13371
|
-
.k-checkbox.k-disabled::after {
|
|
13372
|
-
display: none;
|
|
13373
|
-
}
|
|
13374
|
-
}
|
|
13375
|
-
|
|
13376
|
-
}
|
|
13377
|
-
|
|
13378
|
-
|
|
13379
|
-
|
|
13380
|
-
|
|
13381
|
-
@include exports( "checkbox/layout/edge" ) {
|
|
13382
|
-
|
|
13383
|
-
.k-checkbox::-ms-check {
|
|
13384
|
-
border-width: 1px;
|
|
13385
|
-
border-color: inherit;
|
|
13386
|
-
color: inherit;
|
|
13387
|
-
background-color: inherit;
|
|
13388
|
-
}
|
|
13389
|
-
|
|
13390
|
-
}
|
|
13391
|
-
|
|
13392
|
-
// #endregion
|
|
13393
|
-
// #region @import "_theme.scss"; -> packages/default/scss/checkbox/_theme.scss
|
|
13394
|
-
@include exports("checkbox/theme") {
|
|
13395
|
-
|
|
13396
|
-
// Checkbox
|
|
13397
|
-
.k-checkbox {
|
|
13398
|
-
@include fill(
|
|
13399
|
-
$checkbox-text,
|
|
13400
|
-
$checkbox-bg,
|
|
13401
|
-
$checkbox-border
|
|
13402
|
-
);
|
|
13403
|
-
}
|
|
13404
|
-
|
|
13405
|
-
|
|
13406
|
-
// Hover state
|
|
13407
|
-
.k-checkbox:hover,
|
|
13408
|
-
.k-checkbox.k-state-hover {
|
|
13409
|
-
@include fill(
|
|
13410
|
-
$checkbox-hovered-text,
|
|
13411
|
-
$checkbox-hovered-bg,
|
|
13412
|
-
$checkbox-hovered-border
|
|
13413
|
-
);
|
|
13414
|
-
}
|
|
13415
|
-
|
|
13416
|
-
|
|
13417
|
-
// Focus state
|
|
13418
|
-
.k-checkbox:focus,
|
|
13419
|
-
.k-checkbox.k-state-focus {
|
|
13420
|
-
@include fill( $border: $checkbox-focused-border );
|
|
13421
|
-
@include box-shadow( $checkbox-focused-shadow );
|
|
13422
|
-
}
|
|
13423
|
-
|
|
13424
|
-
|
|
13425
|
-
// Indeterminate
|
|
13426
|
-
.k-checkbox:indeterminate,
|
|
13427
|
-
.k-checkbox.k-state-indeterminate,
|
|
13428
|
-
.k-checkbox.k-indeterminate {
|
|
13429
|
-
@include fill(
|
|
13430
|
-
$checkbox-indeterminate-text,
|
|
13431
|
-
$checkbox-indeterminate-bg,
|
|
13432
|
-
$checkbox-indeterminate-border
|
|
13433
|
-
);
|
|
13434
|
-
}
|
|
13435
|
-
|
|
13436
|
-
|
|
13437
|
-
// Checked
|
|
13438
|
-
.k-checkbox:checked,
|
|
13439
|
-
.k-checkbox.k-checked {
|
|
13440
|
-
@include fill(
|
|
13441
|
-
$checkbox-checked-text,
|
|
13442
|
-
$checkbox-checked-bg,
|
|
13443
|
-
$checkbox-checked-border
|
|
13444
|
-
);
|
|
13445
|
-
}
|
|
13446
|
-
.k-checkbox:checked:focus,
|
|
13447
|
-
.k-checkbox.k-checked.k-state-focus {
|
|
13448
|
-
@include fill( $border: $checkbox-focused-checked-border );
|
|
13449
|
-
@include box-shadow( $checkbox-focused-checked-shadow );
|
|
13450
|
-
}
|
|
13451
|
-
|
|
13452
|
-
|
|
13453
|
-
// Disabled
|
|
13454
|
-
.k-checkbox:disabled,
|
|
13455
|
-
.k-checkbox.k-disabled {
|
|
13456
|
-
@include fill(
|
|
13457
|
-
$checkbox-disabled-text,
|
|
13458
|
-
$checkbox-disabled-bg,
|
|
13459
|
-
$checkbox-disabled-border
|
|
13460
|
-
);
|
|
13461
|
-
}
|
|
13462
|
-
.k-checkbox:checked:disabled,
|
|
13463
|
-
.k-checkbox:indeterminate:disabled,
|
|
13464
|
-
.k-checkbox.k-state-indeterminate:disabled,
|
|
13465
|
-
.k-checkbox.k-checked.k-disabled,
|
|
13466
|
-
.k-checkbox.k-indeterminate.k-disabled {
|
|
13467
|
-
@include fill(
|
|
13468
|
-
$checkbox-disabled-checked-text,
|
|
13469
|
-
$checkbox-disabled-checked-bg,
|
|
13470
|
-
$checkbox-disabled-checked-border
|
|
13471
|
-
);
|
|
13472
|
-
}
|
|
13473
|
-
|
|
13474
|
-
|
|
13475
|
-
// Invalid
|
|
13476
|
-
.k-checkbox.k-invalid,
|
|
13477
|
-
.k-checkbox.k-state-invalid,
|
|
13478
|
-
.k-checkbox.ng-invalid.ng-touched,
|
|
13479
|
-
.k-checkbox.ng-invalid.ng-dirty {
|
|
13480
|
-
@include fill( $border: $checkbox-invalid-border );
|
|
13481
|
-
}
|
|
13482
|
-
.k-checkbox.k-invalid + .k-checkbox-label,
|
|
13483
|
-
.k-checkbox.k-state-invalid + .k-checkbox-label,
|
|
13484
|
-
.k-checkbox.ng-invalid.ng-touched + .k-checkbox-label,
|
|
13485
|
-
.k-checkbox.ng-invalid.ng-dirty + .k-checkbox-label {
|
|
13486
|
-
@include fill( $color: $checkbox-invalid-text );
|
|
13487
|
-
}
|
|
13488
|
-
|
|
13489
|
-
|
|
13490
|
-
// Ripple
|
|
13491
|
-
.k-ripple-container {
|
|
13492
|
-
.k-checkbox::after {
|
|
13493
|
-
background: $checkbox-checked-bg;
|
|
13494
|
-
opacity: $checkbox-ripple-opacity;
|
|
13495
|
-
}
|
|
13496
|
-
}
|
|
13497
|
-
|
|
13498
|
-
}
|
|
13499
|
-
|
|
13500
|
-
// #endregion
|
|
13501
|
-
|
|
13502
|
-
// #endregion
|
|
13503
13481
|
// #region @import "listbox/_index.scss"; -> packages/default/scss/listbox/_index.scss
|
|
13504
13482
|
// #region @import "../core/_index.scss"; -> packages/default/scss/core/_index.scss
|
|
13505
13483
|
// File already imported_once. Skipping output.
|
|
@@ -14022,6 +14000,9 @@ $progressbar-chunk-border: $body-bg !default;
|
|
|
14022
14000
|
|
|
14023
14001
|
|
|
14024
14002
|
// Dependencies
|
|
14003
|
+
// #region @import "../typography/_variables.scss"; -> packages/default/scss/typography/_variables.scss
|
|
14004
|
+
// File already imported_once. Skipping output.
|
|
14005
|
+
// #endregion
|
|
14025
14006
|
// #region @import "../list/_variables.scss"; -> packages/default/scss/list/_variables.scss
|
|
14026
14007
|
// File already imported_once. Skipping output.
|
|
14027
14008
|
// #endregion
|
|
@@ -14122,6 +14103,7 @@ $radio-ripple-opacity: .3 !default;
|
|
|
14122
14103
|
background-repeat: no-repeat;
|
|
14123
14104
|
background-size: contain;
|
|
14124
14105
|
display: inline-block;
|
|
14106
|
+
flex: none;
|
|
14125
14107
|
vertical-align: middle;
|
|
14126
14108
|
position: relative;
|
|
14127
14109
|
cursor: pointer;
|
|
@@ -14207,7 +14189,7 @@ $radio-ripple-opacity: .3 !default;
|
|
|
14207
14189
|
|
|
14208
14190
|
// Hide empty label
|
|
14209
14191
|
&:empty {
|
|
14210
|
-
display: none;
|
|
14192
|
+
display: none !important; // sass-lint:disable-line no-important
|
|
14211
14193
|
}
|
|
14212
14194
|
|
|
14213
14195
|
.k-ripple {
|
|
@@ -16404,19 +16386,19 @@ $autocomplete-disabled-shadow: null !default;
|
|
|
16404
16386
|
width: $input-default-width;
|
|
16405
16387
|
border-width: $input-border-width;
|
|
16406
16388
|
border-style: solid;
|
|
16407
|
-
outline: 0;
|
|
16408
16389
|
box-sizing: border-box;
|
|
16390
|
+
outline: 0;
|
|
16409
16391
|
font-family: $input-font-family;
|
|
16410
16392
|
font-size: $input-font-size;
|
|
16411
16393
|
line-height: $input-line-height;
|
|
16394
|
+
text-align: start;
|
|
16412
16395
|
white-space: nowrap;
|
|
16413
16396
|
display: inline-flex;
|
|
16414
16397
|
flex-flow: row nowrap;
|
|
16415
|
-
align-items: stretch;
|
|
16416
16398
|
vertical-align: middle;
|
|
16417
|
-
transition: all .1s ease; // sass-lint:disable-block no-transition-all
|
|
16418
16399
|
position: relative;
|
|
16419
|
-
|
|
16400
|
+
overflow: hidden;
|
|
16401
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
16420
16402
|
-webkit-touch-callout: none;
|
|
16421
16403
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
16422
16404
|
|
|
@@ -17444,9 +17426,9 @@ $coloreditor-header-padding-y: $coloreditor-spacer !default;
|
|
|
17444
17426
|
$coloreditor-header-padding-x: $coloreditor-header-padding-y !default;
|
|
17445
17427
|
$coloreditor-header-actions-gap: ( $coloreditor-spacer / 1.5 ) !default;
|
|
17446
17428
|
|
|
17447
|
-
$coloreditor-preview-gap: ( $
|
|
17448
|
-
$coloreditor-color-preview-width:
|
|
17449
|
-
$coloreditor-color-preview-height:
|
|
17429
|
+
$coloreditor-preview-gap: map-get( $spacing, 1 ) !default;
|
|
17430
|
+
$coloreditor-color-preview-width: 32px !default;
|
|
17431
|
+
$coloreditor-color-preview-height: 12px !default;
|
|
17450
17432
|
|
|
17451
17433
|
$coloreditor-views-padding-y: $coloreditor-spacer !default;
|
|
17452
17434
|
$coloreditor-views-padding-x: $coloreditor-views-padding-y !default;
|
|
@@ -17482,8 +17464,12 @@ $coloreditor-views-gap: $coloreditor-spacer !default;
|
|
|
17482
17464
|
}
|
|
17483
17465
|
|
|
17484
17466
|
.k-coloreditor-preview {
|
|
17485
|
-
|
|
17467
|
+
display: flex;
|
|
17468
|
+
flex-flow: column nowrap;
|
|
17469
|
+
align-items: stretch;
|
|
17470
|
+
justify-content: center;
|
|
17486
17471
|
gap: $coloreditor-preview-gap;
|
|
17472
|
+
position: relative;
|
|
17487
17473
|
z-index: 1;
|
|
17488
17474
|
}
|
|
17489
17475
|
.k-coloreditor-preview .k-color-preview {
|
|
@@ -17636,6 +17622,12 @@ $colorpicker-focused-shadow: $button-focused-shadow !default;
|
|
|
17636
17622
|
position: relative;
|
|
17637
17623
|
overflow: hidden;
|
|
17638
17624
|
}
|
|
17625
|
+
.k-color-preview {
|
|
17626
|
+
margin: $button-padding-y;
|
|
17627
|
+
width: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
|
|
17628
|
+
height: calc( #{$button-inner-calc-size} - #{$button-padding-y * 2} );
|
|
17629
|
+
z-index: 1;
|
|
17630
|
+
}
|
|
17639
17631
|
|
|
17640
17632
|
.k-tool-icon {
|
|
17641
17633
|
padding: $button-padding-y;
|
|
@@ -18595,6 +18587,7 @@ $datetime-width: calc( #{$calendar-cell-size * 8} + #{$infinite-calendar-view-pa
|
|
|
18595
18587
|
// Component
|
|
18596
18588
|
// #region @import "_layout.scss"; -> packages/default/scss/dropdowngrid/_layout.scss
|
|
18597
18589
|
@include exports("dropdowngrid/layout") {
|
|
18590
|
+
|
|
18598
18591
|
.k-dropdowngrid-popup {
|
|
18599
18592
|
overflow: hidden;
|
|
18600
18593
|
}
|
|
@@ -18944,70 +18937,55 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
|
|
|
18944
18937
|
|
|
18945
18938
|
// Dropdown list
|
|
18946
18939
|
.k-dropdown {
|
|
18940
|
+
@include border-radius( $input-border-radius );
|
|
18947
18941
|
width: $input-default-width;
|
|
18948
|
-
border-width:
|
|
18949
|
-
|
|
18950
|
-
background: none;
|
|
18942
|
+
border-width: $input-border-width;
|
|
18943
|
+
border-style: solid;
|
|
18951
18944
|
box-sizing: border-box;
|
|
18945
|
+
outline: 0;
|
|
18952
18946
|
font-family: $input-font-family;
|
|
18953
18947
|
font-size: $input-font-size;
|
|
18954
18948
|
line-height: $input-line-height;
|
|
18955
|
-
text-align:
|
|
18949
|
+
text-align: start;
|
|
18956
18950
|
white-space: nowrap;
|
|
18957
18951
|
display: inline-flex;
|
|
18952
|
+
flex-flow: row nowrap;
|
|
18958
18953
|
vertical-align: middle;
|
|
18959
18954
|
position: relative;
|
|
18955
|
+
overflow: hidden;
|
|
18956
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
18960
18957
|
-webkit-touch-callout: none;
|
|
18961
18958
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
18962
18959
|
|
|
18963
|
-
.k-dropdown-wrap {
|
|
18964
|
-
@include border-radius( $input-border-radius );
|
|
18965
|
-
padding: 0;
|
|
18966
|
-
width: 100%;
|
|
18967
|
-
display: flex;
|
|
18968
|
-
flex-flow: row nowrap;
|
|
18969
|
-
border-width: 1px;
|
|
18970
|
-
border-style: solid;
|
|
18971
|
-
box-sizing: border-box;
|
|
18972
|
-
position: relative;
|
|
18973
|
-
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
18974
|
-
cursor: pointer;
|
|
18975
|
-
outline: 0;
|
|
18976
|
-
overflow: hidden;
|
|
18977
|
-
|
|
18978
18960
|
|
|
18979
|
-
|
|
18980
|
-
|
|
18961
|
+
// Input
|
|
18962
|
+
.k-input {}
|
|
18981
18963
|
|
|
18982
18964
|
|
|
18983
|
-
|
|
18984
|
-
|
|
18985
|
-
|
|
18986
|
-
|
|
18987
|
-
border-width: 0;
|
|
18988
|
-
border-inline-start-width: $picker-select-border-width;
|
|
18989
|
-
border-color: transparent;
|
|
18990
|
-
box-sizing: border-box;
|
|
18991
|
-
border-style: solid;
|
|
18992
|
-
display: flex;
|
|
18993
|
-
align-items: center;
|
|
18994
|
-
justify-content: center;
|
|
18995
|
-
flex: 0 0 auto;
|
|
18996
|
-
text-align: center;
|
|
18997
|
-
cursor: pointer;
|
|
18998
|
-
}
|
|
18965
|
+
// Loading icon
|
|
18966
|
+
.k-i-loading {
|
|
18967
|
+
width: $input-icon-width;
|
|
18968
|
+
height: $input-icon-height;
|
|
18999
18969
|
}
|
|
19000
18970
|
|
|
19001
|
-
}
|
|
19002
|
-
|
|
19003
|
-
|
|
19004
|
-
// RTL
|
|
19005
18971
|
|
|
19006
|
-
|
|
19007
|
-
|
|
19008
|
-
|
|
19009
|
-
|
|
19010
|
-
|
|
18972
|
+
// Select
|
|
18973
|
+
.k-select {
|
|
18974
|
+
padding: $picker-select-padding-y $picker-select-padding-x;
|
|
18975
|
+
width: if( $use-picker-select-width, $spinner-width, null );
|
|
18976
|
+
border-width: 0;
|
|
18977
|
+
border-inline-start-width: $picker-select-border-width;
|
|
18978
|
+
border-style: solid;
|
|
18979
|
+
border-color: transparent;
|
|
18980
|
+
box-sizing: border-box;
|
|
18981
|
+
outline: 0;
|
|
18982
|
+
display: flex;
|
|
18983
|
+
flex-flow: row nowrap;
|
|
18984
|
+
align-items: center;
|
|
18985
|
+
justify-content: center;
|
|
18986
|
+
flex: 0 0 auto;
|
|
18987
|
+
cursor: pointer;
|
|
18988
|
+
}
|
|
19011
18989
|
}
|
|
19012
18990
|
|
|
19013
18991
|
|
|
@@ -19016,16 +18994,13 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
|
|
|
19016
18994
|
.k-dropdown-operator {
|
|
19017
18995
|
width: auto;
|
|
19018
18996
|
|
|
19019
|
-
.k-
|
|
19020
|
-
|
|
19021
|
-
|
|
19022
|
-
|
|
19023
|
-
|
|
19024
|
-
|
|
19025
|
-
height: $button-inner-calc-size;
|
|
19026
|
-
}
|
|
18997
|
+
.k-input {
|
|
18998
|
+
display: none;
|
|
18999
|
+
}
|
|
19000
|
+
.k-select {
|
|
19001
|
+
width: $button-inner-calc-size;
|
|
19002
|
+
height: $button-inner-calc-size;
|
|
19027
19003
|
}
|
|
19028
|
-
|
|
19029
19004
|
}
|
|
19030
19005
|
|
|
19031
19006
|
|
|
@@ -19049,79 +19024,8 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
|
|
|
19049
19024
|
// #region @import "_theme.scss"; -> packages/default/scss/dropdownlist/_theme.scss
|
|
19050
19025
|
@include exports( "dropdownlist/theme" ) {
|
|
19051
19026
|
|
|
19027
|
+
// Dropdown list
|
|
19052
19028
|
.k-dropdown {
|
|
19053
|
-
|
|
19054
|
-
.k-dropdown-wrap {
|
|
19055
|
-
@include fill(
|
|
19056
|
-
$dropdownlist-text,
|
|
19057
|
-
$dropdownlist-bg,
|
|
19058
|
-
$dropdownlist-border,
|
|
19059
|
-
$dropdownlist-gradient
|
|
19060
|
-
);
|
|
19061
|
-
|
|
19062
|
-
// Hover state
|
|
19063
|
-
&:hover,
|
|
19064
|
-
&.k-state-hover {
|
|
19065
|
-
@include fill(
|
|
19066
|
-
$dropdownlist-hovered-text,
|
|
19067
|
-
$dropdownlist-hovered-bg,
|
|
19068
|
-
$dropdownlist-hovered-border,
|
|
19069
|
-
$dropdownlist-hovered-gradient
|
|
19070
|
-
);
|
|
19071
|
-
}
|
|
19072
|
-
|
|
19073
|
-
&.k-state-active {}
|
|
19074
|
-
|
|
19075
|
-
// Focused state
|
|
19076
|
-
&.k-state-focused {
|
|
19077
|
-
@include fill(
|
|
19078
|
-
$dropdownlist-focused-text,
|
|
19079
|
-
$dropdownlist-focused-bg,
|
|
19080
|
-
$dropdownlist-focused-border,
|
|
19081
|
-
$dropdownlist-focused-gradient
|
|
19082
|
-
);
|
|
19083
|
-
@include box-shadow($dropdownlist-focused-shadow);
|
|
19084
|
-
}
|
|
19085
|
-
|
|
19086
|
-
// Invalid state
|
|
19087
|
-
&.k-invalid,
|
|
19088
|
-
&.k-invalid:hover,
|
|
19089
|
-
&.k-state-invalid {
|
|
19090
|
-
border-color: $invalid-border;
|
|
19091
|
-
|
|
19092
|
-
.k-input-validation-icon {
|
|
19093
|
-
color: $invalid-text;
|
|
19094
|
-
}
|
|
19095
|
-
|
|
19096
|
-
&:focus,
|
|
19097
|
-
&.k-state-focused {
|
|
19098
|
-
@include box-shadow($invalid-shadow);
|
|
19099
|
-
}
|
|
19100
|
-
}
|
|
19101
|
-
}
|
|
19102
|
-
|
|
19103
|
-
// Invalid
|
|
19104
|
-
&.k-state-invalid,
|
|
19105
|
-
&.ng-invalid.ng-touched,
|
|
19106
|
-
&.ng-invalid.ng-dirty {
|
|
19107
|
-
> .k-dropdown-wrap {
|
|
19108
|
-
border-color: $invalid-border;
|
|
19109
|
-
|
|
19110
|
-
.k-input-validation-icon {
|
|
19111
|
-
color: $invalid-text;
|
|
19112
|
-
}
|
|
19113
|
-
|
|
19114
|
-
&:focus,
|
|
19115
|
-
&.k-state-focused {
|
|
19116
|
-
@include box-shadow($invalid-shadow);
|
|
19117
|
-
}
|
|
19118
|
-
}
|
|
19119
|
-
}
|
|
19120
|
-
|
|
19121
|
-
}
|
|
19122
|
-
|
|
19123
|
-
// Native select
|
|
19124
|
-
select.k-dropdown {
|
|
19125
19029
|
@include fill(
|
|
19126
19030
|
$dropdownlist-text,
|
|
19127
19031
|
$dropdownlist-bg,
|
|
@@ -19130,7 +19034,8 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
|
|
|
19130
19034
|
);
|
|
19131
19035
|
|
|
19132
19036
|
// Hover state
|
|
19133
|
-
&:hover
|
|
19037
|
+
&:hover,
|
|
19038
|
+
&.k-state-hover {
|
|
19134
19039
|
@include fill(
|
|
19135
19040
|
$dropdownlist-hovered-text,
|
|
19136
19041
|
$dropdownlist-hovered-bg,
|
|
@@ -19139,8 +19044,18 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
|
|
|
19139
19044
|
);
|
|
19140
19045
|
}
|
|
19141
19046
|
|
|
19142
|
-
//
|
|
19143
|
-
&:focus
|
|
19047
|
+
// Focus state
|
|
19048
|
+
&:focus,
|
|
19049
|
+
&.k-state-focus {
|
|
19050
|
+
@include fill(
|
|
19051
|
+
$dropdownlist-focused-text,
|
|
19052
|
+
$dropdownlist-focused-bg,
|
|
19053
|
+
$dropdownlist-focused-border,
|
|
19054
|
+
$dropdownlist-focused-gradient
|
|
19055
|
+
);
|
|
19056
|
+
@include box-shadow($dropdownlist-focused-shadow);
|
|
19057
|
+
}
|
|
19058
|
+
&:focus-within {
|
|
19144
19059
|
@include fill(
|
|
19145
19060
|
$dropdownlist-focused-text,
|
|
19146
19061
|
$dropdownlist-focused-bg,
|
|
@@ -19149,6 +19064,24 @@ $dropdownlist-focused-shadow: $input-focused-shadow !default;
|
|
|
19149
19064
|
);
|
|
19150
19065
|
@include box-shadow($dropdownlist-focused-shadow);
|
|
19151
19066
|
}
|
|
19067
|
+
|
|
19068
|
+
|
|
19069
|
+
// Invalid state
|
|
19070
|
+
&.k-invalid,
|
|
19071
|
+
&.ng-invalid,
|
|
19072
|
+
&.k-state-invalid {
|
|
19073
|
+
border-color: $invalid-border;
|
|
19074
|
+
|
|
19075
|
+
.k-input-validation-icon {
|
|
19076
|
+
color: $invalid-text;
|
|
19077
|
+
}
|
|
19078
|
+
|
|
19079
|
+
&:focus-within,
|
|
19080
|
+
&.k-state-focus {
|
|
19081
|
+
@include box-shadow($invalid-shadow);
|
|
19082
|
+
}
|
|
19083
|
+
}
|
|
19084
|
+
|
|
19152
19085
|
}
|
|
19153
19086
|
|
|
19154
19087
|
}
|
|
@@ -19987,87 +19920,103 @@ $dropdowntree-filter-spacer: $dropdowntree-popup-spacer-y !default;
|
|
|
19987
19920
|
|
|
19988
19921
|
// #endregion
|
|
19989
19922
|
// #region @import "_layout.scss"; -> packages/default/scss/maskedtextbox/_layout.scss
|
|
19990
|
-
@include exports("maskedtextbox/layout") {
|
|
19923
|
+
@include exports( "maskedtextbox/layout" ) {
|
|
19991
19924
|
|
|
19992
19925
|
// Masked textbox
|
|
19993
19926
|
.k-maskedtextbox {
|
|
19927
|
+
@include border-radius( $input-border-radius );
|
|
19994
19928
|
width: $input-default-width;
|
|
19929
|
+
border-width: $input-border-width;
|
|
19930
|
+
border-style: solid;
|
|
19931
|
+
box-sizing: border-box;
|
|
19932
|
+
outline: 0;
|
|
19995
19933
|
font-family: $input-font-family;
|
|
19996
19934
|
font-size: $input-font-size;
|
|
19997
19935
|
line-height: $input-line-height;
|
|
19998
|
-
|
|
19999
|
-
box-sizing: border-box;
|
|
20000
|
-
outline: 0;
|
|
20001
|
-
background: none;
|
|
20002
|
-
text-align: left;
|
|
19936
|
+
text-align: start;
|
|
20003
19937
|
white-space: nowrap;
|
|
20004
19938
|
display: inline-flex;
|
|
19939
|
+
flex-flow: row nowrap;
|
|
20005
19940
|
vertical-align: middle;
|
|
20006
19941
|
position: relative;
|
|
19942
|
+
overflow: hidden;
|
|
19943
|
+
transition: all .1s ease; // sass-lint:disable-line no-transition-all
|
|
20007
19944
|
-webkit-touch-callout: none;
|
|
20008
19945
|
-webkit-tap-highlight-color: $rgba-transparent;
|
|
20009
19946
|
|
|
20010
|
-
> .k-textbox {
|
|
20011
|
-
flex: 1 0 0%;
|
|
20012
|
-
min-width: 0;
|
|
20013
|
-
|
|
20014
|
-
&.k-state-invalid {
|
|
20015
|
-
transition: none;
|
|
20016
|
-
}
|
|
20017
|
-
}
|
|
20018
|
-
|
|
20019
|
-
.k-i-warning {
|
|
20020
|
-
position: absolute;
|
|
20021
|
-
top: 50%;
|
|
20022
|
-
transform: translateY(-50%);
|
|
20023
|
-
right: $padding-x;
|
|
20024
|
-
}
|
|
20025
19947
|
|
|
20026
|
-
|
|
20027
|
-
.k-
|
|
20028
|
-
text-align: right;
|
|
19948
|
+
// Input
|
|
19949
|
+
.k-input {}
|
|
20029
19950
|
|
|
20030
|
-
.k-i-warning {
|
|
20031
|
-
right: auto;
|
|
20032
|
-
left: $padding-x;
|
|
20033
|
-
}
|
|
20034
|
-
}
|
|
20035
19951
|
|
|
20036
|
-
|
|
20037
|
-
|
|
19952
|
+
// Loading icon
|
|
19953
|
+
.k-i-loading {
|
|
19954
|
+
width: $input-icon-width;
|
|
19955
|
+
height: $input-icon-height;
|
|
20038
19956
|
}
|
|
20039
19957
|
}
|
|
19958
|
+
|
|
20040
19959
|
}
|
|
20041
19960
|
|
|
20042
19961
|
// #endregion
|
|
20043
19962
|
// #region @import "_theme.scss"; -> packages/default/scss/maskedtextbox/_theme.scss
|
|
20044
|
-
@include exports("maskedtextbox/theme") {
|
|
19963
|
+
@include exports( "maskedtextbox/theme" ) {
|
|
20045
19964
|
|
|
19965
|
+
// Masked textbox
|
|
20046
19966
|
.k-maskedtextbox {
|
|
19967
|
+
@include fill(
|
|
19968
|
+
$input-text,
|
|
19969
|
+
$input-bg,
|
|
19970
|
+
$input-border
|
|
19971
|
+
);
|
|
20047
19972
|
|
|
20048
|
-
|
|
20049
|
-
|
|
19973
|
+
// Hover state
|
|
19974
|
+
&:hover,
|
|
19975
|
+
&.k-state-hover {
|
|
19976
|
+
@include fill(
|
|
19977
|
+
$input-hovered-text,
|
|
19978
|
+
$input-hovered-bg,
|
|
19979
|
+
$input-hovered-border
|
|
19980
|
+
);
|
|
20050
19981
|
}
|
|
20051
19982
|
|
|
20052
|
-
|
|
20053
|
-
|
|
20054
|
-
&.
|
|
20055
|
-
|
|
20056
|
-
|
|
20057
|
-
|
|
19983
|
+
// Focus state
|
|
19984
|
+
&:focus,
|
|
19985
|
+
&.k-state-focus {
|
|
19986
|
+
@include fill(
|
|
19987
|
+
$input-focused-text,
|
|
19988
|
+
$input-focused-bg,
|
|
19989
|
+
$input-focused-border
|
|
19990
|
+
);
|
|
19991
|
+
@include box-shadow( $input-focused-shadow );
|
|
19992
|
+
}
|
|
19993
|
+
&:focus-within {
|
|
19994
|
+
@include fill(
|
|
19995
|
+
$input-focused-text,
|
|
19996
|
+
$input-focused-bg,
|
|
19997
|
+
$input-focused-border
|
|
19998
|
+
);
|
|
19999
|
+
@include box-shadow( $input-focused-shadow );
|
|
20000
|
+
}
|
|
20001
|
+
|
|
20002
|
+
|
|
20003
|
+
// Invalid state
|
|
20004
|
+
&.k-invalid,
|
|
20005
|
+
&.ng-invalid,
|
|
20006
|
+
&.k-state-invalid {
|
|
20007
|
+
border-color: $invalid-border;
|
|
20058
20008
|
|
|
20059
20009
|
.k-input-validation-icon {
|
|
20060
20010
|
color: $invalid-text;
|
|
20061
20011
|
}
|
|
20062
20012
|
|
|
20063
|
-
&:focus,
|
|
20064
|
-
&.k-state-
|
|
20065
|
-
|
|
20066
|
-
@include box-shadow($invalid-shadow);
|
|
20067
|
-
}
|
|
20013
|
+
&:focus-within,
|
|
20014
|
+
&.k-state-focus {
|
|
20015
|
+
@include box-shadow($invalid-shadow);
|
|
20068
20016
|
}
|
|
20069
20017
|
}
|
|
20070
20018
|
}
|
|
20019
|
+
|
|
20071
20020
|
}
|
|
20072
20021
|
|
|
20073
20022
|
// #endregion
|
|
@@ -21656,6 +21605,19 @@ $appbar-bottom-box-shadow: 0px -1px 1px rgba(0, 0, 0, .16) !default;
|
|
|
21656
21605
|
border-width: 0 0 0 1px;
|
|
21657
21606
|
display: inline-block;
|
|
21658
21607
|
}
|
|
21608
|
+
|
|
21609
|
+
|
|
21610
|
+
// Appbar child components
|
|
21611
|
+
.k-textbox,
|
|
21612
|
+
.k-combobox,
|
|
21613
|
+
.k-dropdown,
|
|
21614
|
+
.k-searchbox,
|
|
21615
|
+
.k-numerictextbox,
|
|
21616
|
+
.k-datepicker,
|
|
21617
|
+
.k-timepicker,
|
|
21618
|
+
.k-datetimepicker {
|
|
21619
|
+
width: 10em;
|
|
21620
|
+
}
|
|
21659
21621
|
}
|
|
21660
21622
|
|
|
21661
21623
|
.k-appbar-static {
|
|
@@ -31306,14 +31268,10 @@ $spreadsheet-drawing-anchor-bg: rgba( $selected-bg, .25 ) !default;
|
|
|
31306
31268
|
width: auto;
|
|
31307
31269
|
min-width: $form-line-height * 1em;
|
|
31308
31270
|
}
|
|
31309
|
-
|
|
31310
|
-
|
|
31311
|
-
|
|
31312
|
-
|
|
31313
|
-
width: 6 * $spacer;
|
|
31314
|
-
}
|
|
31315
|
-
[data-tool="format"] {
|
|
31316
|
-
width: 4 * $spacer;
|
|
31271
|
+
|
|
31272
|
+
.k-combobox,
|
|
31273
|
+
.k-dropdown {
|
|
31274
|
+
width: 5em;
|
|
31317
31275
|
}
|
|
31318
31276
|
}
|
|
31319
31277
|
|
|
@@ -35100,6 +35058,7 @@ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex
|
|
|
35100
35058
|
}
|
|
35101
35059
|
|
|
35102
35060
|
// Toolbar
|
|
35061
|
+
.k-editor-toolbar,
|
|
35103
35062
|
.k-editor > .k-toolbar {
|
|
35104
35063
|
border-width: 0 0 $toolbar-border-width 0;
|
|
35105
35064
|
flex-shrink: 0;
|
|
@@ -35127,13 +35086,14 @@ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex
|
|
|
35127
35086
|
top: 0;
|
|
35128
35087
|
right: 0;
|
|
35129
35088
|
visibility: hidden;
|
|
35130
|
-
|
|
35131
|
-
|
|
35132
|
-
|
|
35133
|
-
|
|
35134
|
-
|
|
35135
|
-
|
|
35136
|
-
|
|
35089
|
+
|
|
35090
|
+
.k-overflow-anchor {
|
|
35091
|
+
border-width: 0;
|
|
35092
|
+
padding: $toolbar-padding-y;
|
|
35093
|
+
width: $toolbar-inner-calc-size;
|
|
35094
|
+
height: $toolbar-inner-calc-size;
|
|
35095
|
+
position: relative;
|
|
35096
|
+
}
|
|
35137
35097
|
}
|
|
35138
35098
|
|
|
35139
35099
|
.k-editor-export {
|
|
@@ -35251,15 +35211,6 @@ $editor-selectednode-outline-color: #8cf !default; // sass-lint:disable-line hex
|
|
|
35251
35211
|
}
|
|
35252
35212
|
}
|
|
35253
35213
|
|
|
35254
|
-
.k-editor-widget .k-colorpicker {}
|
|
35255
|
-
|
|
35256
|
-
.k-rtl .k-editor .k-editor-widget .k-dropdown-wrap {
|
|
35257
|
-
padding-left: 0;
|
|
35258
|
-
|
|
35259
|
-
.k-select {
|
|
35260
|
-
border-width: 0;
|
|
35261
|
-
}
|
|
35262
|
-
}
|
|
35263
35214
|
|
|
35264
35215
|
// Find and replace dialog
|
|
35265
35216
|
.k-editor-find-replace {
|
|
@@ -35837,6 +35788,7 @@ $imageeditor-content-border-width: 1px !default;
|
|
|
35837
35788
|
|
|
35838
35789
|
$imageeditor-action-pane-padding-y: map-get( $spacing, 8 ) !default;
|
|
35839
35790
|
$imageeditor-action-pane-padding-x: map-get( $spacing, 4 ) !default;
|
|
35791
|
+
$imageeditor-action-pane-width: if( $imageeditor-content-border-width == null, 240px, calc(240px + #{$imageeditor-content-border-width}) );
|
|
35840
35792
|
|
|
35841
35793
|
$imageeditor-crop-border-width: 1px !default;
|
|
35842
35794
|
$imageeditor-crop-border-style: dashed !default;
|
|
@@ -35918,16 +35870,16 @@ $imageeditor-crop-overlay-bg: rgba(black, .3) !default;
|
|
|
35918
35870
|
|
|
35919
35871
|
// Action Pane
|
|
35920
35872
|
.k-imageeditor-action-pane {
|
|
35873
|
+
padding: $imageeditor-action-pane-padding-y $imageeditor-action-pane-padding-x;
|
|
35874
|
+
width: $imageeditor-action-pane-width;
|
|
35921
35875
|
border-width: 0;
|
|
35922
35876
|
border-left-width: $imageeditor-content-border-width;
|
|
35923
35877
|
border-style: solid;
|
|
35924
35878
|
border-color: inherit;
|
|
35925
|
-
|
|
35879
|
+
box-sizing: border-box;
|
|
35880
|
+
flex: none;
|
|
35926
35881
|
overflow-y: auto;
|
|
35927
35882
|
}
|
|
35928
|
-
.k-imageeditor-action-pane > .k-form {
|
|
35929
|
-
padding: $imageeditor-action-pane-padding-y $imageeditor-action-pane-padding-x;
|
|
35930
|
-
}
|
|
35931
35883
|
|
|
35932
35884
|
|
|
35933
35885
|
// Crop Tool
|
|
@@ -36017,10 +35969,6 @@ $imageeditor-crop-overlay-bg: rgba(black, .3) !default;
|
|
|
36017
35969
|
flex-direction: row;
|
|
36018
35970
|
align-self: flex-start;
|
|
36019
35971
|
}
|
|
36020
|
-
|
|
36021
|
-
.k-imageeditor-action-pane {
|
|
36022
|
-
flex: 0 0 auto;
|
|
36023
|
-
}
|
|
36024
35972
|
}
|
|
36025
35973
|
|
|
36026
35974
|
}
|
|
@@ -38580,7 +38528,7 @@ $scheduler-tooltip-callout-text: $scheduler-tooltip-bg !default;
|
|
|
38580
38528
|
.k-widget.k-recur-month,
|
|
38581
38529
|
.k-widget.k-recur-weekday,
|
|
38582
38530
|
.k-widget.k-recur-weekday-offset {
|
|
38583
|
-
width:
|
|
38531
|
+
width: 10em;
|
|
38584
38532
|
}
|
|
38585
38533
|
|
|
38586
38534
|
}
|
|
@@ -39969,6 +39917,11 @@ $mediaplayer-titlebar-gradient: rgba( $mediaplayer-text, .7 ), rgba( $mediaplaye
|
|
|
39969
39917
|
width: 100% !important;
|
|
39970
39918
|
// sass-lint:enable no-important
|
|
39971
39919
|
box-shadow: none;
|
|
39920
|
+
|
|
39921
|
+
|
|
39922
|
+
.k-dropdown {
|
|
39923
|
+
width: auto;
|
|
39924
|
+
}
|
|
39972
39925
|
}
|
|
39973
39926
|
.k-mediaplayer-time-wrap {
|
|
39974
39927
|
flex: 1;
|
|
@@ -42315,35 +42268,32 @@ $map-marker-fill: $primary !default;
|
|
|
42315
42268
|
|
|
42316
42269
|
// Buttons
|
|
42317
42270
|
.k-button {
|
|
42318
|
-
margin: 0;
|
|
42319
42271
|
padding: 0;
|
|
42320
42272
|
width: auto;
|
|
42321
42273
|
height: auto;
|
|
42322
|
-
border-radius: 100%;
|
|
42323
42274
|
line-height: 1;
|
|
42324
42275
|
box-shadow: none;
|
|
42325
42276
|
position: absolute;
|
|
42326
|
-
|
|
42327
|
-
&:not(:hover) {
|
|
42328
|
-
border-color: transparent;
|
|
42329
|
-
background: none;
|
|
42330
|
-
}
|
|
42331
42277
|
}
|
|
42278
|
+
.k-navigator-n,
|
|
42332
42279
|
.k-navigator-up {
|
|
42333
42280
|
transform: translateX(-50%);
|
|
42334
42281
|
top: $map-navigator-padding;
|
|
42335
42282
|
left: 50%;
|
|
42336
42283
|
}
|
|
42284
|
+
.k-navigator-e,
|
|
42337
42285
|
.k-navigator-right {
|
|
42338
42286
|
transform: translateY(-50%);
|
|
42339
42287
|
right: $map-navigator-padding;
|
|
42340
42288
|
top: 50%;
|
|
42341
42289
|
}
|
|
42290
|
+
.k-navigator-s,
|
|
42342
42291
|
.k-navigator-down {
|
|
42343
42292
|
transform: translateX(-50%);
|
|
42344
42293
|
bottom: $map-navigator-padding;
|
|
42345
42294
|
left: 50%;
|
|
42346
42295
|
}
|
|
42296
|
+
.k-navigator-w,
|
|
42347
42297
|
.k-navigator-left {
|
|
42348
42298
|
transform: translateY(-50%);
|
|
42349
42299
|
left: $map-navigator-padding;
|