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