PluginProbe
Elementor Website Builder – more than just a page builder / 3.8.0-beta1
Elementor Website Builder – more than just a page builder v3.8.0-beta1
4.3.4 4.3.3 4.3.2 4.3.1 4.3.0 4.3.0-beta3 4.3.0-beta2 4.3.0-beta1 4.2.4 4.2.3 4.2.2 4.2.1 4.2.0 4.1.5 4.2.0-beta2 4.2.0-dev2 4.2.0-beta1 4.1.4 4.1.3 4.1.2 4.1.1 4.1.0 4.1.0-beta3 4.1.0-dev3 4.0.9 All 457 releases
elementor / app / modules / kit-library / assets / js / components / search-input.scss

search-input.scss in Elementor Website Builder – more than just a page builder 3.8.0-beta1, at app/modules/kit-library/assets/js/components/search-input.scss

82 lines 1.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 $root: eps-search-input;
2
3 .#{$root} {
4 --eps-search-input-background-color: #{tints(100)};
5 --eps-search-input-background-color-focus: #{theme-colors(light)};
6 --eps-search-input-color: #{tints(700)};
7 --eps-search-input-placeholder-color: #{tints(500)};
8 }
9
10 .eps-theme-dark {
11 .#{$root} {
12 --eps-search-input-background-color: #{$eps-dark-gray-600};
13 --eps-search-input-background-color-focus: #{$eps-dark-gray-500};
14 --eps-search-input-color: #{$eps-dark-gray-200};
15 --eps-search-input-placeholder-color: #{dark-tints(200)};
16 }
17 }
18
19 .eps-search-input {
20 width: 100%;
21 font-size: type(size, "15");
22 padding: spacing(10) spacing(44);
23 border: none;
24 background: var(--eps-search-input-background-color);
25 outline: none;
26 color: var(--eps-search-input-color);
27 line-height: type( line-height, 'flat' );
28 height: spacing(44);
29
30 &--sm {
31 font-size: type(size, "13");
32 padding: spacing(8) spacing(30);
33 }
34
35 &:focus {
36 background: var(--eps-search-input-background-color-focus);
37 }
38
39 &::placeholder {
40 color: var(--eps-search-input-placeholder-color);
41 font-style: italic;
42 }
43
44 &__container {
45 position: relative;
46 }
47
48 &__icon {
49 font-size: type(size, "20");
50 padding: spacing(10);
51 color: tints(500);
52 position: absolute;
53 top: 0;
54 inset-inline-start: 0;
55 height: 100%;
56 display: flex;
57 align-items: center;
58 justify-content: center;
59
60 &--sm {
61 font-size: type(size, "12");
62 }
63 }
64
65 &__clear-icon {
66 font-size: type(size, "14");
67 padding: spacing(10);
68 color: tints(500);
69 position: absolute;
70 top: 0;
71 @include end(0);
72 height: 100%;
73 display: flex;
74 align-items: center;
75 justify-content: center;
76
77 &--sm {
78 font-size: type(size, "11");
79 }
80 }
81 }
82