PluginProbe
ElasticPress / 5.3.5
ElasticPress v5.3.5
5.3.5 5.3.4 3.6.5 3.6.6 4.0.0 4.0.1 4.1.0 4.2.0 4.2.1 4.2.2 4.3.0 4.3.1 4.4.0 4.4.1 4.5.0 4.5.1 4.5.2 4.6.0 4.6.1 4.7.0 4.7.1 4.7.2 5.0.0 5.0.1 5.0.2 All 108 releases
elasticpress / assets / js / weighting / css / field.css

field.css in ElasticPress 5.3.5, at assets/js/weighting/css/field.css

68 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .ep-weighting-field {
2 align-items: center;
3 display: grid;
4 grid-gap: 1em;
5 grid-template-columns: min(20%, 30ch) max-content auto max-content;
6 width: 100%;
7
8 & .components-base-control__field {
9 margin-bottom: 0;
10 }
11
12 & .components-checkbox-control {
13
14 & .components-base-control__field {
15 align-items: center;
16 display: flex;
17 }
18 }
19
20 & .components-range-control {
21
22 & .components-base-control__field {
23 align-items: center;
24 display: flex;
25 }
26
27 & .components-base-control__label {
28 font-size: inherit;
29 font-weight: inherit;
30 margin-bottom: 0;
31 text-transform: inherit;
32 }
33 }
34
35 @media ( max-width: 600px ) {
36 grid-template-columns: 1fr 1fr 1fr max-content;
37
38 & .ep-weighting-field__weighting {
39 display: flex;
40 justify-content: end;
41
42 /* stylelint-disable-next-line max-nesting-depth */
43 & .components-range-control__wrapper {
44 display: none;
45 }
46 }
47 }
48 }
49
50 .ep-weighting-field fieldset {
51 display: contents;
52 }
53
54 .ep-weighting-field__name {
55 overflow: hidden;
56 text-overflow: ellipsis;
57 white-space: nowrap;
58
59 & h2 {
60 font-size: 1rem;
61 }
62 }
63
64 .ep-weighting-field__undo {
65 grid-column-start: 4;
66 justify-self: end;
67 }
68