style.css
330 lines
| 1 | .wrap{ |
| 2 | max-width: 900px; |
| 3 | margin: 0 auto; |
| 4 | } |
| 5 | |
| 6 | h1.sc_title { |
| 7 | background: url(../images/shortcoder.png) no-repeat left; |
| 8 | background-size: 32px 32px; |
| 9 | padding-left: 40px; |
| 10 | padding-bottom: 9px; |
| 11 | } |
| 12 | h1.sc_title .title-count { |
| 13 | font-size: 10px; |
| 14 | padding: 2px 8px; |
| 15 | opacity: 0.7; |
| 16 | } |
| 17 | .head_wrap { |
| 18 | padding: 15px 0; |
| 19 | position: relative; |
| 20 | } |
| 21 | |
| 22 | #content{ |
| 23 | background: #fff; |
| 24 | padding: 20px; |
| 25 | border: 1px solid #dfdfdf; |
| 26 | border-radius: 3px; |
| 27 | overflow: hidden; |
| 28 | box-shadow: 0 0 4px -3px; |
| 29 | } |
| 30 | |
| 31 | .page_title { |
| 32 | border-bottom: 1px solid #dfdfdf; |
| 33 | margin: -20px -20px 20px -20px; |
| 34 | padding: 1em; |
| 35 | background: linear-gradient(#fdfdfd, #Fafafa); |
| 36 | position: relative; |
| 37 | } |
| 38 | |
| 39 | .sc_list { |
| 40 | margin: -20px 0; |
| 41 | position: relative; |
| 42 | } |
| 43 | .sc_list li { |
| 44 | margin: 0; |
| 45 | position: relative; |
| 46 | } |
| 47 | .sc_list li a { |
| 48 | text-decoration: none; |
| 49 | } |
| 50 | .sc_list li .sc_link { |
| 51 | display: block; |
| 52 | margin: 0 -20px; |
| 53 | padding: 20px; |
| 54 | border-bottom: 1px solid #dfdfdf; |
| 55 | font-size: 18px; |
| 56 | } |
| 57 | .sc_list li:last-child .sc_link{ |
| 58 | border-bottom: 0; |
| 59 | } |
| 60 | .sc_link:hover{ |
| 61 | background: #fffeea; |
| 62 | } |
| 63 | .sc_link:hover:after { |
| 64 | font-family: dashicons; |
| 65 | content: "\f464"; |
| 66 | font-size: 15px; |
| 67 | position: absolute; |
| 68 | margin-left: 10px; |
| 69 | } |
| 70 | .sc_controls { |
| 71 | position: absolute; |
| 72 | top: 20px; |
| 73 | right: 0; |
| 74 | } |
| 75 | .sc_list .sc_controls a { |
| 76 | padding: 10px; |
| 77 | border-radius: 50%; |
| 78 | margin: 0 0 0 15px; |
| 79 | border: 1px solid transparent; |
| 80 | } |
| 81 | .sc_list .sc_controls a:hover{ |
| 82 | border: 1px solid #dfdfdf; |
| 83 | } |
| 84 | |
| 85 | .sc_list .sc_delete:hover{ |
| 86 | border-color: red; |
| 87 | color: red; |
| 88 | } |
| 89 | |
| 90 | .sc_list:empty:before { |
| 91 | content: attr( data-empty ); |
| 92 | position: absolute; |
| 93 | left: 0; |
| 94 | right: 0; |
| 95 | text-align: center; |
| 96 | font-style: italic; |
| 97 | top: 25px; |
| 98 | } |
| 99 | .sc_list:empty { |
| 100 | height: 70px; |
| 101 | } |
| 102 | .spin{ |
| 103 | animation: spin infinite 1s; |
| 104 | } |
| 105 | .sc_copy_box { |
| 106 | position: absolute; |
| 107 | top: -2px; |
| 108 | font-size: 20px; |
| 109 | width: 86%; |
| 110 | padding: 16px; |
| 111 | left: -22px; |
| 112 | display: none; |
| 113 | cursor: copy; |
| 114 | background: #e6fffe !important; |
| 115 | box-shadow: none !important; |
| 116 | text-align: center; |
| 117 | } |
| 118 | .sc_list .disabled_text{ |
| 119 | font-size: 10px; |
| 120 | background: #ffdfdd; |
| 121 | border-radius: 10px; |
| 122 | padding: 2px 10px; |
| 123 | margin: 0 0 0 10px; |
| 124 | color: #F44336; |
| 125 | } |
| 126 | |
| 127 | .page_title .button{ |
| 128 | position: absolute; |
| 129 | top: 10px; |
| 130 | right: 20px; |
| 131 | } |
| 132 | |
| 133 | #content .button .dashicons{ |
| 134 | margin: 0.5em 0 0 0; |
| 135 | font-size: 15px; |
| 136 | } |
| 137 | |
| 138 | .sc_section{ |
| 139 | margin: 0 0 20px 0; |
| 140 | } |
| 141 | .sc_section label{ |
| 142 | display: block; |
| 143 | margin: 0 0 10px 0; |
| 144 | } |
| 145 | .sc_section label select{ |
| 146 | font-size: 12px; |
| 147 | margin-left: 10px; |
| 148 | } |
| 149 | |
| 150 | #sc_name{ |
| 151 | padding: 10px; |
| 152 | } |
| 153 | .sc_name_wrap { |
| 154 | position: relative; |
| 155 | } |
| 156 | |
| 157 | .sc_name_wrap > .copy_shortcode { |
| 158 | position: absolute; |
| 159 | top: 1px; |
| 160 | right: 1px; |
| 161 | bottom: 1px; |
| 162 | padding: 10px; |
| 163 | border-left: 1px solid #d0d0d0; |
| 164 | background: rgba(255, 255, 255, 0.5); |
| 165 | } |
| 166 | |
| 167 | .page_footer{ |
| 168 | margin: 30px -20px -20px -20px; |
| 169 | background: #f7f7f7; |
| 170 | padding: 20px; |
| 171 | border-top: 1px solid #dfdfdf; |
| 172 | border-radius: 0 0 5px 5px; |
| 173 | } |
| 174 | .page_footer .sc_delete_ep{ |
| 175 | float: right; |
| 176 | } |
| 177 | .page_footer .sc_delete_ep:hover{ |
| 178 | color: red; |
| 179 | } |
| 180 | |
| 181 | .wrap .notice{ |
| 182 | margin-bottom: 0; |
| 183 | } |
| 184 | |
| 185 | .params_wrap{ |
| 186 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 187 | border: 1px solid #dfdfdf; |
| 188 | margin: 0; |
| 189 | position: absolute; |
| 190 | display: none; |
| 191 | background: #fff; |
| 192 | } |
| 193 | .params_wrap li{ |
| 194 | position: relative; |
| 195 | background: #fff; |
| 196 | margin: 0; |
| 197 | padding: 10px; |
| 198 | width: 200px; |
| 199 | border-bottom: 1px solid #dfdfdf; |
| 200 | cursor: pointer; |
| 201 | } |
| 202 | .params_wrap li:hover{ |
| 203 | background: lightyellow; |
| 204 | } |
| 205 | .params_wrap > li:after{ |
| 206 | position: absolute; |
| 207 | font-family: dashicons; |
| 208 | content: "\f139"; |
| 209 | right: 5px; |
| 210 | top: 10px; |
| 211 | } |
| 212 | .params_wrap li:last-child{ |
| 213 | border: 0; |
| 214 | } |
| 215 | .params_wrap li ul{ |
| 216 | background: #fff; |
| 217 | position: absolute; |
| 218 | display: none; |
| 219 | top: 0; |
| 220 | left: 100%; |
| 221 | box-shadow: 0 3px 5px rgba(0,0,0,.2); |
| 222 | border: 1px solid #dfdfdf; |
| 223 | z-index: 9999; |
| 224 | } |
| 225 | .params_wrap li:hover ul{ |
| 226 | display: block; |
| 227 | } |
| 228 | |
| 229 | .params_wrap .cp_form{ |
| 230 | cursor: auto; |
| 231 | width: 300px; |
| 232 | } |
| 233 | .cp_form h4{ |
| 234 | margin: 0 0 15px 0; |
| 235 | } |
| 236 | .cp_info{ |
| 237 | margin: 5px 0; |
| 238 | } |
| 239 | .cp_info.red{ |
| 240 | color: red; |
| 241 | } |
| 242 | |
| 243 | .top_sharebar{ |
| 244 | position: absolute; |
| 245 | right: 0; |
| 246 | top: 24px; |
| 247 | } |
| 248 | .top_sharebar > * { |
| 249 | vertical-align: middle; |
| 250 | margin-left: 5px; |
| 251 | float: right; |
| 252 | } |
| 253 | .share_text { |
| 254 | font-size: 10px; |
| 255 | text-align: right; |
| 256 | line-height: 1.5; |
| 257 | margin-right: 5px; |
| 258 | color: #838383; |
| 259 | } |
| 260 | |
| 261 | .coffee_box{ |
| 262 | padding: 15px 15px 25px 15px; |
| 263 | border: 1px solid #4CAF50; |
| 264 | padding-left: 18%; |
| 265 | background: url(../images/coffee.svg) no-repeat; |
| 266 | border-radius: 3px; |
| 267 | background-position: 30px center; |
| 268 | margin: 30px 0 15px 0; |
| 269 | background-size: 84px; |
| 270 | } |
| 271 | .coffee_box .coffee_amt { |
| 272 | width: 120px; |
| 273 | padding: 5px; |
| 274 | height: auto; |
| 275 | font-size: 1.5em; |
| 276 | } |
| 277 | .coffee_amt_wrap{ |
| 278 | float: right; |
| 279 | margin: 0 30px; |
| 280 | } |
| 281 | .credits_box{ |
| 282 | font-size: 12px; |
| 283 | font-style: italic; |
| 284 | color: #757575; |
| 285 | } |
| 286 | .credits_box img { |
| 287 | vertical-align: middle; |
| 288 | margin-right: 5px; |
| 289 | } |
| 290 | |
| 291 | .rate_link{ |
| 292 | float: right; |
| 293 | } |
| 294 | .rate_link a{ |
| 295 | color: #e7711b; |
| 296 | text-decoration: none; |
| 297 | font-size: 13px; |
| 298 | } |
| 299 | .rate_link:hover a{ |
| 300 | text-decoration: underline; |
| 301 | } |
| 302 | .rate_link .dashicons { |
| 303 | font-size: 12px; |
| 304 | margin: 5px 0 0 0; |
| 305 | } |
| 306 | |
| 307 | .help_link{ |
| 308 | margin-left: 10px; |
| 309 | text-decoration: none; |
| 310 | } |
| 311 | .help_link .dashicons{ |
| 312 | font-size: 32px; |
| 313 | width: 32px; |
| 314 | height: 32px; |
| 315 | color: #607D8B; |
| 316 | } |
| 317 | |
| 318 | @keyframes spin { |
| 319 | from {transform:rotate(0deg);} |
| 320 | to {transform:rotate(360deg);} |
| 321 | } |
| 322 | |
| 323 | .clearfix:after{ |
| 324 | clear: both; |
| 325 | content: "."; |
| 326 | display: block; |
| 327 | height: 0; |
| 328 | visibility: hidden; |
| 329 | font-size: 0; |
| 330 | } |