| 1 |
.tagger { |
| 2 |
border: 1px solid #909497; |
| 3 |
} |
| 4 |
.tagger input[type="hidden"] { |
| 5 |
display: none; |
| 6 |
} |
| 7 |
.tagger > ul { |
| 8 |
align-items: center; |
| 9 |
box-sizing: border-box; |
| 10 |
display: flex; |
| 11 |
height: auto; |
| 12 |
justify-content: space-between; |
| 13 |
padding: 4px 0; |
| 14 |
width: 100%; |
| 15 |
} |
| 16 |
.tagger ul { |
| 17 |
list-style: none; |
| 18 |
margin: 0; |
| 19 |
} |
| 20 |
.tagger > ul > li { |
| 21 |
margin: 0.4rem 0; |
| 22 |
padding-left: 10px; |
| 23 |
} |
| 24 |
.tagger-new ul a, |
| 25 |
.tagger-new ul a:visited, |
| 26 |
.tagger > ul > li:not(.tagger-new) a, |
| 27 |
.tagger > ul > li:not(.tagger-new) a:visited { |
| 28 |
color: #000; |
| 29 |
} |
| 30 |
.tagger .tagger-new ul, |
| 31 |
.tagger > ul > li:not(.tagger-new) > a, |
| 32 |
.tagger li:not(.tagger-new) > span { |
| 33 |
background: #b1c3d7; |
| 34 |
border: 1px solid #4181ed; |
| 35 |
border-radius: 3px; |
| 36 |
padding: 4px 4px 4px 8px; |
| 37 |
} |
| 38 |
.tagger li a.close { |
| 39 |
filter: alpha(opacity=100); |
| 40 |
float: none; |
| 41 |
font-size: 16px; |
| 42 |
line-height: 16px; |
| 43 |
margin-left: 4px; |
| 44 |
opacity: 1; |
| 45 |
padding: 4px; |
| 46 |
} |
| 47 |
.tagger li a.close:hover { |
| 48 |
color: #fff; |
| 49 |
} |
| 50 |
.tagger li:not(.tagger-new) a { |
| 51 |
text-decoration: none; |
| 52 |
} |
| 53 |
.tagger .tagger-new input { |
| 54 |
background: transparent; |
| 55 |
border: none; |
| 56 |
box-shadow: none; |
| 57 |
outline: none; |
| 58 |
padding-left: 0; |
| 59 |
width: 100%; |
| 60 |
} |
| 61 |
.tagger .tagger-new { |
| 62 |
flex-grow: 1; |
| 63 |
position: relative; |
| 64 |
} |
| 65 |
.tagger .tagger-new ul { |
| 66 |
padding: 5px; |
| 67 |
} |
| 68 |
.tagger .tagger-completion { |
| 69 |
position: absolute; |
| 70 |
z-index: 100; |
| 71 |
} |
| 72 |
.tagger.wrap > ul { |
| 73 |
flex-wrap: wrap; |
| 74 |
justify-content: start; |
| 75 |
} |
| 76 |
.form-table th { |
| 77 |
width: auto; |
| 78 |
} |
| 79 |
h2 { |
| 80 |
margin: 25px 0 15px; |
| 81 |
} |
| 82 |
h2:first-of-type { |
| 83 |
margin-top: 20px; |
| 84 |
} |
| 85 |
h2 label { |
| 86 |
cursor: auto; |
| 87 |
} |
| 88 |
.active-snippet #title, |
| 89 |
.inactive-snippet #title { |
| 90 |
border-left-width: 4px; |
| 91 |
} |
| 92 |
.active-snippet #title { |
| 93 |
border-left-color: #46b450; |
| 94 |
} |
| 95 |
.inactive-snippet #title { |
| 96 |
border-left-color: #bbb; |
| 97 |
} |
| 98 |
.erroneous-snippet #title { |
| 99 |
border-left-color: #dc3232; |
| 100 |
} |
| 101 |
label[for="snippet_description"] h3 div { |
| 102 |
position: absolute; |
| 103 |
} |
| 104 |
.button + .button { |
| 105 |
margin-left: 0.5em; |
| 106 |
} |
| 107 |
.submit-inline { |
| 108 |
float: right; |
| 109 |
} |
| 110 |
.snippet-scope { |
| 111 |
margin-top: 15px; |
| 112 |
} |
| 113 |
.snippet-scope label { |
| 114 |
display: inline-block; |
| 115 |
margin-right: 1.5em; |
| 116 |
} |
| 117 |
.snippet-priority { |
| 118 |
float: right; |
| 119 |
} |
| 120 |
.snippet-priority label { |
| 121 |
cursor: help; |
| 122 |
font-size: 1.1em; |
| 123 |
font-weight: 700; |
| 124 |
padding-right: 0.5em; |
| 125 |
} |
| 126 |
.snippet-priority input { |
| 127 |
width: 4em; |
| 128 |
} |
| 129 |
.snippet-editor { |
| 130 |
position: relative; |
| 131 |
} |
| 132 |
.editor-help-tooltip { |
| 133 |
background: transparent !important; |
| 134 |
cursor: help; |
| 135 |
display: inline-block; |
| 136 |
font-size: 10px; |
| 137 |
padding: 0.3em 0.3em 0; |
| 138 |
} |
| 139 |
.snippet-editor-help { |
| 140 |
position: absolute; |
| 141 |
right: 5px; |
| 142 |
top: 5px; |
| 143 |
} |
| 144 |
.snippet-editor-help:hover .editor-help-text { |
| 145 |
opacity: 1; |
| 146 |
visibility: visible; |
| 147 |
} |
| 148 |
.editor-help-text { |
| 149 |
background-color: #555; |
| 150 |
border-radius: 6px; |
| 151 |
color: #fff; |
| 152 |
font-size: small; |
| 153 |
margin-right: -10px; |
| 154 |
opacity: 0; |
| 155 |
padding: 5px; |
| 156 |
position: absolute; |
| 157 |
right: 0; |
| 158 |
top: 125%; |
| 159 |
transition: opacity 0.3s; |
| 160 |
visibility: hidden; |
| 161 |
white-space: nowrap; |
| 162 |
z-index: 99; |
| 163 |
} |
| 164 |
.editor-help-text:after { |
| 165 |
border: 5px solid transparent; |
| 166 |
border-bottom-color: #555; |
| 167 |
bottom: 100%; |
| 168 |
content: ""; |
| 169 |
margin-right: 10px; |
| 170 |
position: absolute; |
| 171 |
right: 0; |
| 172 |
} |
| 173 |
.editor-help-text td:first-child { |
| 174 |
padding-right: 0.5em; |
| 175 |
} |
| 176 |
.editor-help-text .mac-key { |
| 177 |
display: none; |
| 178 |
} |
| 179 |
.editor-help-text.platform-mac .mac-key { |
| 180 |
display: inline; |
| 181 |
} |
| 182 |
.editor-help-text.platform-mac .pc-key { |
| 183 |
display: none; |
| 184 |
} |
| 185 |
.CodeMirror { |
| 186 |
width: 100%; |
| 187 |
} |
| 188 |
.CodeMirror-sizer { |
| 189 |
min-height: 300px !important; |
| 190 |
} |
| 191 |
.tagger { |
| 192 |
border: 0; |
| 193 |
} |
| 194 |
.tagger ul { |
| 195 |
background-color: #fff; |
| 196 |
border: 1px solid #dfdfdf; |
| 197 |
border-radius: 3px; |
| 198 |
} |
| 199 |
.tagger-new ul, |
| 200 |
.tagger > ul > li:not(.tagger-new) > a, |
| 201 |
.tagger li:not(.tagger-new) > span { |
| 202 |
background-color: #dee7f8; |
| 203 |
border: 1px solid #cad8f3; |
| 204 |
border-radius: 6px; |
| 205 |
} |
| 206 |
.tagger-new ul:hover, |
| 207 |
.tagger > ul > li:not(.tagger-new) > a:hover, |
| 208 |
.tagger li:not(.tagger-new) > span:hover { |
| 209 |
background-color: #bbcef1; |
| 210 |
border-color: #6d95e0; |
| 211 |
} |
| 212 |
.tagger-new ul a, |
| 213 |
.tagger-new ul a:visited, |
| 214 |
.tagger > ul > li:not(.tagger-new) a, |
| 215 |
.tagger > ul > li:not(.tagger-new) a:visited { |
| 216 |
color: #555; |
| 217 |
font-size: 1.1em; |
| 218 |
} |
| 219 |
|
| 220 |
/* editor custom code save button design */ |
| 221 |
|
| 222 |
.save-button-area { |
| 223 |
display:block; |
| 224 |
position: relative; |
| 225 |
background-color: #F5F5F5; |
| 226 |
border:1px solid #C3C4C7; |
| 227 |
margin-top:-48px; |
| 228 |
height:60px; |
| 229 |
|
| 230 |
|
| 231 |
} |
| 232 |
|
| 233 |
.save-button-area > p.submit { |
| 234 |
width:150px; |
| 235 |
height:40px; |
| 236 |
} |
| 237 |
|
| 238 |
.save-button-area > p.submit > input.button { |
| 239 |
display:block; |
| 240 |
position: relative; |
| 241 |
margin-top: -19px; |
| 242 |
margin-left: 5px; |
| 243 |
width: 150px; |
| 244 |
height: 40px; |
| 245 |
left: 113px; |
| 246 |
|
| 247 |
} |