@mediafly/js-ui 47.2.1 → 47.3.1
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/CHANGELOG.md +6 -0
- package/lib/auto-complete/auto-complete.component.html +2 -1
- package/lib/font-selector/font-selector.d.ts +41 -8
- package/lib/font-selector/font-selector.html +67 -13
- package/lib/font-selector/font-selector.js +193 -19
- package/lib/font-selector/font-selector.js.map +1 -1
- package/lib/font-selector/google-webfonts-api.service.d.ts +1 -1
- package/lib/font-selector/google-webfonts-api.service.js +10 -2
- package/lib/font-selector/google-webfonts-api.service.js.map +1 -1
- package/lib/font-selector/webfont-loader.service.d.ts +1 -2
- package/lib/font-selector/webfont-loader.service.js +2 -2
- package/lib/font-selector/webfont-loader.service.js.map +1 -1
- package/lib/localization/index.strings.json +3 -1
- package/lib/rich-text/index.d.ts +0 -1
- package/lib/rich-text/index.js +0 -1
- package/lib/rich-text/index.js.map +1 -1
- package/lib/rich-text/rich-text.component.d.ts +2 -2
- package/lib/rich-text/rich-text.component.html +6 -14
- package/lib/rich-text/rich-text.component.js +6 -5
- package/lib/rich-text/rich-text.component.js.map +1 -1
- package/lib/tsconfig.deploy.tsbuildinfo +19 -31
- package/package.json +1 -1
- package/src/components/auto-complete/auto-complete.component.html +2 -1
- package/src/components/auto-complete/auto-complete.component.less +2 -1
- package/src/components/font-selector/font-selector.html +67 -13
- package/src/components/font-selector/font-selector.less +121 -0
- package/src/components/font-selector/font-selector.ts +214 -18
- package/src/components/font-selector/google-webfonts-api.backend.ts +1 -1
- package/src/components/font-selector/google-webfonts-api.service.ts +10 -2
- package/src/components/font-selector/webfont-loader.service.ts +2 -2
- package/src/components/index.less +1 -1
- package/src/components/localization/index.strings.json +3 -1
- package/src/components/rich-text/index.ts +0 -1
- package/src/components/rich-text/rich-text.component.html +6 -14
- package/src/components/rich-text/rich-text.component.less +5 -1
- package/src/components/rich-text/rich-text.component.ts +7 -5
- package/tsconfig.tsbuildinfo +46 -63
- package/lib/rich-text/rich-text-toolbar-container.component.d.ts +0 -16
- package/lib/rich-text/rich-text-toolbar-container.component.html +0 -12
- package/lib/rich-text/rich-text-toolbar-container.component.js +0 -75
- package/lib/rich-text/rich-text-toolbar-container.component.js.map +0 -1
- package/src/components/rich-text/rich-text-toolbar-container.component.html +0 -12
- package/src/components/rich-text/rich-text-toolbar-container.component.ts +0 -66
- package/src/components/rich-text/rich-text-toolbar-container.less +0 -21
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rich-text.component.js","sourceRoot":"","sources":["../../src/components/rich-text/rich-text.component.ts"],"names":[],"mappings":"AAAA,OAAO,OAAqB,MAAM,SAAS,CAAA;AAC3C,OAAO,CAAC,MAAM,QAAQ,CAAA;AACtB,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,CAAC,MAAM,QAAQ,CAAA;AAGtB,8GAA8G;AAC9G,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,iBAAgD,EAAG,EAAE;IAClF,iBAAiB,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AAC3C,CAAC,CAAC,CAAA;AAEF,MAAM,CAAC,OAAO,OAAO,2BAA2B;
|
|
1
|
+
{"version":3,"file":"rich-text.component.js","sourceRoot":"","sources":["../../src/components/rich-text/rich-text.component.ts"],"names":[],"mappings":"AAAA,OAAO,OAAqB,MAAM,SAAS,CAAA;AAC3C,OAAO,CAAC,MAAM,QAAQ,CAAA;AACtB,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,CAAC,MAAM,QAAQ,CAAA;AAGtB,8GAA8G;AAC9G,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC,iBAAgD,EAAG,EAAE;IAClF,iBAAiB,CAAC,aAAa,CAAC,CAAC,OAAO,CAAC,CAAC,CAAA;AAC3C,CAAC,CAAC,CAAA;AAEF,MAAM,CAAC,OAAO,OA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;QACvB,UAAU,EAAE,GAAG;QACf,OAAO,EAAE,GAAG;KACZ;IACD,UAAU,EAAE,2BAA2B;IACvC,OAAO,EAAE;QACR,WAAW,EAAE,SAAS;KACtB;IACD,QAAQ,EAAE,OAAO,CAAC,4BAA4B,CAAC;CAC/C,CAAC,CAAA"}
|
|
@@ -437,8 +437,8 @@
|
|
|
437
437
|
"affectsGlobalScope": false
|
|
438
438
|
},
|
|
439
439
|
"../src/components/localization/index.strings.json": {
|
|
440
|
-
"version": "
|
|
441
|
-
"signature": "
|
|
440
|
+
"version": "06807f23008498ce0bba6fb93d8b71baf15aa783fbed106f7d44c7fa769aae53",
|
|
441
|
+
"signature": "a61dea801df3138f719c56b316771f1c4c388a97c255e7b2e7d2805099b42767",
|
|
442
442
|
"affectsGlobalScope": true
|
|
443
443
|
},
|
|
444
444
|
"../src/components/translate/translate-factory.ts": {
|
|
@@ -992,18 +992,18 @@
|
|
|
992
992
|
"affectsGlobalScope": false
|
|
993
993
|
},
|
|
994
994
|
"../src/components/font-selector/google-webfonts-api.service.ts": {
|
|
995
|
-
"version": "
|
|
996
|
-
"signature": "
|
|
995
|
+
"version": "14d62473571fff27b3ba1540ddcf043f9bfa331c7fc47204004edef890ba4eda",
|
|
996
|
+
"signature": "3dc4e08773f66a87996f8ac8fd6225905cb5fb739e6eb15aae2c289ab0f69d63",
|
|
997
997
|
"affectsGlobalScope": false
|
|
998
998
|
},
|
|
999
999
|
"../src/components/font-selector/webfont-loader.service.ts": {
|
|
1000
|
-
"version": "
|
|
1001
|
-
"signature": "
|
|
1000
|
+
"version": "105268f7d3e429008190295158d932a4b46f68c006aff0e6f7efc24bb2e01b82",
|
|
1001
|
+
"signature": "38ee30c747171f5bf17cbd5d96eaf9b7095e2b1b68882951ad5ef33cebf4525f",
|
|
1002
1002
|
"affectsGlobalScope": false
|
|
1003
1003
|
},
|
|
1004
1004
|
"../src/components/font-selector/font-selector.ts": {
|
|
1005
|
-
"version": "
|
|
1006
|
-
"signature": "
|
|
1005
|
+
"version": "0bf735dc464e631776d0fd55a2e533552f77522ee82c2b07b28322f9ff1f7a34",
|
|
1006
|
+
"signature": "9c1e3bd19b202d3cdffbce594ee57756906ffb367e93a5f4d6698e59ea2137a5",
|
|
1007
1007
|
"affectsGlobalScope": false
|
|
1008
1008
|
},
|
|
1009
1009
|
"../src/components/font-selector/index.ts": {
|
|
@@ -1252,18 +1252,13 @@
|
|
|
1252
1252
|
"affectsGlobalScope": false
|
|
1253
1253
|
},
|
|
1254
1254
|
"../src/components/rich-text/rich-text.component.ts": {
|
|
1255
|
-
"version": "
|
|
1256
|
-
"signature": "
|
|
1257
|
-
"affectsGlobalScope": false
|
|
1258
|
-
},
|
|
1259
|
-
"../src/components/rich-text/rich-text-toolbar-container.component.ts": {
|
|
1260
|
-
"version": "04c12ab3e6ac121baf8354d8a89258ed262bce4aa941c327452d351a47f01785",
|
|
1261
|
-
"signature": "7d6455c16fbfb867677c53d35e17cf21139677dd383fdbafd7647d32924489c2",
|
|
1255
|
+
"version": "53bf9363d7a10c77ddc456155ed42ae9153f888fbae46b2da4f003a15a603326",
|
|
1256
|
+
"signature": "1226ecd4f74dcfd1bf29571b5c8e34c441abbd196737f06442d07b9278524d84",
|
|
1262
1257
|
"affectsGlobalScope": false
|
|
1263
1258
|
},
|
|
1264
1259
|
"../src/components/rich-text/index.ts": {
|
|
1265
|
-
"version": "
|
|
1266
|
-
"signature": "
|
|
1260
|
+
"version": "50157f3fd625cad4e4e958e0a38a95b883477c8032dd72b688f923d0e3806910",
|
|
1261
|
+
"signature": "6a4e2d386c323050fa51016d8b2479f89cd5d55d431927b6a77b27271cccd82f",
|
|
1267
1262
|
"affectsGlobalScope": false
|
|
1268
1263
|
},
|
|
1269
1264
|
"../src/components/show-image-loader/show-image-loader.js": {
|
|
@@ -1687,13 +1682,13 @@
|
|
|
1687
1682
|
"affectsGlobalScope": false
|
|
1688
1683
|
},
|
|
1689
1684
|
"../node_modules/@types/keyv/index.d.ts": {
|
|
1690
|
-
"version": "
|
|
1691
|
-
"signature": "
|
|
1685
|
+
"version": "9e7f7ac4d964992cf1b77612ca07e5695821881aa1a9acb0ef0509f192a5ea23",
|
|
1686
|
+
"signature": "9e7f7ac4d964992cf1b77612ca07e5695821881aa1a9acb0ef0509f192a5ea23",
|
|
1692
1687
|
"affectsGlobalScope": false
|
|
1693
1688
|
},
|
|
1694
1689
|
"../node_modules/@types/http-cache-semantics/index.d.ts": {
|
|
1695
|
-
"version": "
|
|
1696
|
-
"signature": "
|
|
1690
|
+
"version": "0bf440ab914e79e890cb15e5ffacb5e18bec678338b3eab069a5829d3d5c96e3",
|
|
1691
|
+
"signature": "0bf440ab914e79e890cb15e5ffacb5e18bec678338b3eab069a5829d3d5c96e3",
|
|
1697
1692
|
"affectsGlobalScope": false
|
|
1698
1693
|
},
|
|
1699
1694
|
"../node_modules/@types/responselike/index.d.ts": {
|
|
@@ -1702,8 +1697,8 @@
|
|
|
1702
1697
|
"affectsGlobalScope": false
|
|
1703
1698
|
},
|
|
1704
1699
|
"../node_modules/@types/cacheable-request/index.d.ts": {
|
|
1705
|
-
"version": "
|
|
1706
|
-
"signature": "
|
|
1700
|
+
"version": "73c05cca1bb5aa8e93efd089af51643b7ff005e47064a0e624a74ee20480a2eb",
|
|
1701
|
+
"signature": "73c05cca1bb5aa8e93efd089af51643b7ff005e47064a0e624a74ee20480a2eb",
|
|
1707
1702
|
"affectsGlobalScope": false
|
|
1708
1703
|
},
|
|
1709
1704
|
"../node_modules/@types/minimatch/index.d.ts": {
|
|
@@ -3406,7 +3401,7 @@
|
|
|
3406
3401
|
"../src/components/first-time-motivator/ftm-target-element.ts"
|
|
3407
3402
|
],
|
|
3408
3403
|
"../src/components/font-selector/font-selector.ts": [
|
|
3409
|
-
"../
|
|
3404
|
+
"../node_modules/@types/lodash/index.d.ts",
|
|
3410
3405
|
"../src/components/decorators/index.ts",
|
|
3411
3406
|
"../src/components/font-selector/google-webfonts-api.service.ts",
|
|
3412
3407
|
"../src/components/font-selector/webfont-loader.service.ts",
|
|
@@ -3644,12 +3639,8 @@
|
|
|
3644
3639
|
"../src/components/decorators/index.ts"
|
|
3645
3640
|
],
|
|
3646
3641
|
"../src/components/rich-text/index.ts": [
|
|
3647
|
-
"../src/components/rich-text/rich-text-toolbar-container.component.ts",
|
|
3648
3642
|
"../src/components/rich-text/rich-text.component.ts"
|
|
3649
3643
|
],
|
|
3650
|
-
"../src/components/rich-text/rich-text-toolbar-container.component.ts": [
|
|
3651
|
-
"../src/components/decorators/index.ts"
|
|
3652
|
-
],
|
|
3653
3644
|
"../src/components/rich-text/rich-text.component.ts": [
|
|
3654
3645
|
"../node_modules/@types/angular/index.d.ts",
|
|
3655
3646
|
"../node_modules/@types/jquery/index.d.ts",
|
|
@@ -5002,7 +4993,6 @@
|
|
|
5002
4993
|
"../src/components/first-time-motivator/ftm-target-element.ts"
|
|
5003
4994
|
],
|
|
5004
4995
|
"../src/components/font-selector/font-selector.ts": [
|
|
5005
|
-
"../src/components/auto-complete/auto-complete-match-renderer.component.ts",
|
|
5006
4996
|
"../src/components/font-selector/google-webfonts-api.service.ts",
|
|
5007
4997
|
"../src/components/font-selector/webfont-loader.service.ts",
|
|
5008
4998
|
"../src/components/translate/translate-factory.ts"
|
|
@@ -5154,7 +5144,6 @@
|
|
|
5154
5144
|
"../src/components/response-handlers/log-error-handler.ts"
|
|
5155
5145
|
],
|
|
5156
5146
|
"../src/components/rich-text/index.ts": [
|
|
5157
|
-
"../src/components/rich-text/rich-text-toolbar-container.component.ts",
|
|
5158
5147
|
"../src/components/rich-text/rich-text.component.ts"
|
|
5159
5148
|
],
|
|
5160
5149
|
"../src/components/rich-text/rich-text.component.ts": [
|
|
@@ -5595,7 +5584,6 @@
|
|
|
5595
5584
|
"../src/components/response-handlers/index.ts",
|
|
5596
5585
|
"../src/components/response-handlers/log-error-handler.ts",
|
|
5597
5586
|
"../src/components/rich-text/index.ts",
|
|
5598
|
-
"../src/components/rich-text/rich-text-toolbar-container.component.ts",
|
|
5599
5587
|
"../src/components/rich-text/rich-text.component.ts",
|
|
5600
5588
|
"../src/components/show-image-loader/index.ts",
|
|
5601
5589
|
"../src/components/show-image-loader/show-image-loader.js",
|
package/package.json
CHANGED
|
@@ -27,7 +27,8 @@
|
|
|
27
27
|
test-value="$ctrl.inputValue">
|
|
28
28
|
</auto-complete-match-renderer>
|
|
29
29
|
|
|
30
|
-
<span ng-class="{ 'is-visible': $ctrl.isFetching }"
|
|
30
|
+
<span ng-class="{ 'is-visible': $ctrl.isFetching }"
|
|
31
|
+
class="far fa-spin fa-spinner c-auto-complete__spinner"></span>
|
|
31
32
|
|
|
32
33
|
<span ng-if="$ctrl.displayClose"
|
|
33
34
|
ng-click="$ctrl.clear()"
|
|
@@ -1,13 +1,67 @@
|
|
|
1
|
-
<
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
1
|
+
<ng-form class="o-form c-font-selector" novalidate>
|
|
2
|
+
|
|
3
|
+
<div ng-click="$ctrl.clickSelect($event)"
|
|
4
|
+
ng-class="{'is-disabled': $ctrl.isDisabled}"
|
|
5
|
+
class="c-font-selector__select">
|
|
6
|
+
|
|
7
|
+
<div>{{ $ctrl.fontFamily }}</div>
|
|
8
|
+
|
|
9
|
+
<div class="fas fa-sort c-font-selector__select__icon"></div>
|
|
10
|
+
</div>
|
|
11
|
+
|
|
12
|
+
<div
|
|
13
|
+
ng-if="!$ctrl.fontFamily && $ctrl.isRequired"
|
|
14
|
+
class="c-font-selector__warning">{{ $ctrl.requiredText }}
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div ng-class="{'is-visible': $ctrl.isDropdownVisible,
|
|
18
|
+
'is-showing-popular': $ctrl.showPopular && !$ctrl.inputValue}"
|
|
19
|
+
class="c-font-selector__dropdown">
|
|
20
|
+
|
|
21
|
+
<input
|
|
22
|
+
ng-click="$ctrl.inputClick($event)"
|
|
23
|
+
ng-model="$ctrl.inputValue"
|
|
24
|
+
autocapitalize="off"
|
|
25
|
+
autocomplete="off"
|
|
26
|
+
autocorrect="off"
|
|
27
|
+
class="o-form-control c-font-selector__input"
|
|
28
|
+
id="{{ $ctrl.inputId }}"
|
|
29
|
+
name="autocomplete"
|
|
30
|
+
placeholder="{{ $ctrl.placeholderText }}"
|
|
31
|
+
type="text">
|
|
32
|
+
|
|
33
|
+
<span ng-class="{ 'is-visible': $ctrl.isFetching && $ctrl.inputValue.length >= $ctrl.minLength }"
|
|
34
|
+
class="far fa-spin fa-spinner c-font-selector__dropdown__spinner">
|
|
35
|
+
</span>
|
|
36
|
+
|
|
37
|
+
<span ng-if="!$ctrl.isFetching && $ctrl.inputValue.length >= $ctrl.minLength"
|
|
38
|
+
ng-click="$ctrl.clearInput($event)"
|
|
39
|
+
class="c-font-selector__dropdown__close fal fa-times-circle">
|
|
40
|
+
</span>
|
|
41
|
+
|
|
42
|
+
<div ng-if="$ctrl.showPopular && !$ctrl.inputValue" class="c-font-selector__dropdown__header">
|
|
43
|
+
<div class="c-font-selector__dropdown__header__label">{{ $ctrl.popularFontsText }} </div>
|
|
44
|
+
<div class="c-font-selector__dropdown__header__link">
|
|
45
|
+
<a class="o-link" href="https://fonts.google.com/" target="_blank">{{ $ctrl.whatAreGoogleFonts }}</a>
|
|
46
|
+
</div>
|
|
47
|
+
</div>
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
<div ng-mousemove="$ctrl.dropdownWasMousedOver($event)"
|
|
51
|
+
class="c-font-selector__dropdown__matches">
|
|
52
|
+
<div
|
|
53
|
+
class="c-font-selector__match-row"
|
|
54
|
+
data-test="auto-complete-match"
|
|
55
|
+
ng-class="[
|
|
56
|
+
($ctrl.interactionMode === 'mouse') ? 'with-mouse' : 'with-keyboard',
|
|
57
|
+
{ 'is-selected': ($ctrl.kbSelectedIndex === $index) },
|
|
58
|
+
]"
|
|
59
|
+
ng-style="{'font-family': match}"
|
|
60
|
+
ng-click="$ctrl.matchWasSelected(match)"
|
|
61
|
+
ng-repeat="match in $ctrl.matches">
|
|
62
|
+
<span>{{ match }}</span>
|
|
63
|
+
</div>
|
|
64
|
+
</div>
|
|
65
|
+
</div>
|
|
66
|
+
|
|
67
|
+
</ng-form>
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
@import '../less/variables/colors.less';
|
|
2
|
+
|
|
3
|
+
.c-font-selector {
|
|
4
|
+
display: block;
|
|
5
|
+
position: relative;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.c-font-selector__select {
|
|
9
|
+
background-color: #fff;
|
|
10
|
+
border: 1px solid @color-gray-x-light;
|
|
11
|
+
border-radius: 3px;
|
|
12
|
+
color: @color-gray-x-dark;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
display: grid;
|
|
15
|
+
font-size: 14px;
|
|
16
|
+
grid-template-columns: auto 8px;
|
|
17
|
+
height: 34px;
|
|
18
|
+
line-height: 1.7;
|
|
19
|
+
padding: 5px 12px;
|
|
20
|
+
width: 100%;
|
|
21
|
+
|
|
22
|
+
&.is-disabled {
|
|
23
|
+
background-color: @color-gray-x-light;
|
|
24
|
+
cursor: not-allowed;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.c-font-selector__select__icon {
|
|
29
|
+
padding-top: 4px;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.c-font-selector__warning {
|
|
33
|
+
color: @color-danger;
|
|
34
|
+
position: absolute;
|
|
35
|
+
right: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.c-font-selector__dropdown {
|
|
39
|
+
background-color: #fff;
|
|
40
|
+
border: 1px solid @color-gray-x-light;
|
|
41
|
+
border-radius: 4px;
|
|
42
|
+
box-shadow: @dropdown-box-shadow;
|
|
43
|
+
display: none;
|
|
44
|
+
max-height: 300px;
|
|
45
|
+
position: absolute;
|
|
46
|
+
top: 36px;
|
|
47
|
+
width: 370px;
|
|
48
|
+
z-index: 2;
|
|
49
|
+
|
|
50
|
+
&.is-visible {
|
|
51
|
+
display: block;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&.is-showing-popular {
|
|
55
|
+
max-height: 330px;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.c-font-selector__dropdown__header {
|
|
60
|
+
border-bottom: 1px solid @color-gray-xx-light;
|
|
61
|
+
display: flex;
|
|
62
|
+
font-size: 13px;
|
|
63
|
+
justify-content: space-between;
|
|
64
|
+
padding: 5px 10px;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.c-font-selector__dropdown__header__label {
|
|
68
|
+
color: @color-gray-medium;
|
|
69
|
+
font-weight: 700;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.o-form-control.c-font-selector__input {
|
|
73
|
+
margin: 4px 3px 10px;
|
|
74
|
+
outline: none;
|
|
75
|
+
padding-right: 36px; // add padding to not allow text under close button
|
|
76
|
+
width: 362px;
|
|
77
|
+
|
|
78
|
+
.c-font-selector__dropdown.is-showing-popular & {
|
|
79
|
+
margin: 4px 3px 0;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.c-font-selector__dropdown__spinner.far {
|
|
84
|
+
// combination selector used to override FA styles
|
|
85
|
+
display: none;
|
|
86
|
+
position: absolute;
|
|
87
|
+
right: 10px;
|
|
88
|
+
top: 14px;
|
|
89
|
+
|
|
90
|
+
&.is-visible {
|
|
91
|
+
display: inline;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.c-font-selector__dropdown__close {
|
|
96
|
+
cursor: pointer;
|
|
97
|
+
display: inline;
|
|
98
|
+
font-size: 20px;
|
|
99
|
+
position: absolute;
|
|
100
|
+
right: 10px;
|
|
101
|
+
top: 11px;
|
|
102
|
+
|
|
103
|
+
&:hover {
|
|
104
|
+
color: @color-gray-x-dark;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.c-font-selector__dropdown__matches {
|
|
109
|
+
max-height: 250px;
|
|
110
|
+
overflow-y: auto;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
.c-font-selector__match-row {
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
padding: 5px 10px;
|
|
116
|
+
|
|
117
|
+
&.with-mouse:hover,
|
|
118
|
+
&.with-keyboard.is-selected {
|
|
119
|
+
background-color: @color-gray-xx-light;
|
|
120
|
+
}
|
|
121
|
+
}
|