PluginProbe
ElasticPress / 4.6.1
ElasticPress v4.6.1
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 / css / synonyms.css

synonyms.css in ElasticPress 4.6.1, at assets/css/synonyms.css

137 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 :root {
2 --ep-synonyms-input-border-color: hsl(0, 0%, 80%);
3 --ep-synonyms-color-black: #1a1e24;
4 --ep-synonyms-color-error: #b52727;
5 }
6
7 html.wp-toolbar {
8 background: transparent;
9 }
10
11 #synonym-root {
12
13 & .page-title-action {
14 margin-left: 10px;
15 }
16
17 & .postbox .hndle {
18 cursor: default;
19 }
20
21 & h2 {
22 color: var(--ep-synonyms-color-black);
23 }
24 }
25
26 .synonym-editor {
27
28 & .postbox {
29 width: 100%;
30
31 & > .hndle {
32 display: flex;
33 }
34 }
35 }
36
37 .synonym-alternative-editor,
38 .synonym-set-editor {
39 align-items: flex-start;
40 display: flex;
41
42 & .components-form-token-field {
43 flex: 1;
44 margin-bottom: 0.5em;
45 }
46
47 & .components-form-token-field__label {
48 display: none;
49 }
50
51 & .components-form-token-field__input-container {
52 border-color: var(--ep-synonyms-input-border-color);
53 box-sizing: border-box;
54 }
55
56 & .components-form-token-field__token-text {
57 padding-bottom: 1px;
58 padding-top: 1px;
59
60 @media screen and (max-width: 782px) {
61 padding-bottom: 3px;
62 padding-top: 3px;
63 }
64 }
65
66 & input[type="text"].components-form-token-field__input {
67 margin-bottom: 2px;
68 margin-top: 2px;
69
70 @media screen and (max-width: 782px) {
71 min-height: 30px;
72 }
73 }
74
75 & .components-form-token-field__help {
76 margin-top: 0;
77 }
78 }
79
80 input[type="text"].ep-synonyms__input {
81 border: 1px solid var(--ep-synonyms-input-border-color);
82 margin-bottom: 0.5em;
83 margin-right: 1em;
84 min-height: 36px;
85 width: 10em;
86
87 @media screen and (max-width: 782px) {
88 min-height: 40px;
89 }
90 }
91
92 .synonym-alternatives__primary-heading {
93 width: 11em;
94 }
95
96 .synonym-alternatives__input-heading {
97 flex: 1;
98 }
99
100 button.synonym__remove {
101 background-color: transparent;
102 border: none;
103 color: var(--ep-synonyms-color-error);
104 cursor: pointer;
105 margin: 0 0 0 10px;
106 min-height: 36px;
107 padding: 0;
108
109 @media screen and (max-width: 782px) {
110 min-height: 40px;
111 }
112
113 & .dashicons-dismiss {
114 margin: -2px 2px 0 0;
115 }
116 }
117
118 .synonym__validation::before {
119 content: "";
120 flex-basis: 100%;
121 height: 0;
122 }
123
124 .synonym__validation,
125 .synonym-solr-editor__validation p {
126 color: var(--ep-synonyms-color-error);
127 font-style: italic;
128 }
129
130 .synonym__validation {
131 margin: 0 0 0.625em 0.5em;
132 }
133
134 .synonym-btn-group button.button {
135 margin-right: 0.625em;
136 }
137