style-insert.css
253 lines
| 1 | body{ |
| 2 | font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif; |
| 3 | color: #444; |
| 4 | padding: 0 10px 10px 10px; |
| 5 | background: #f1f1f1; |
| 6 | } |
| 7 | h2{ |
| 8 | font-size: 23px; |
| 9 | font-weight: normal; |
| 10 | } |
| 11 | h4{ |
| 12 | margin: 0 0 20px 0; |
| 13 | } |
| 14 | hr{ |
| 15 | border-width: 0px; |
| 16 | margin: 15px 0; |
| 17 | border-bottom: 1px solid #DFDFDF; |
| 18 | } |
| 19 | .sc_wrap{ |
| 20 | border: 1px solid #DFDFDF; |
| 21 | box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 22 | } |
| 23 | .sc_head{ |
| 24 | background: url(../images/shortcoder.png) no-repeat left 2px; |
| 25 | padding-left: 40px; |
| 26 | background-size: 32px; |
| 27 | } |
| 28 | .sc_shortcode{ |
| 29 | border-bottom: 1px solid #CCC; |
| 30 | padding: 0px; |
| 31 | background: #FFF; |
| 32 | } |
| 33 | .sc_shortcode:last-child{ |
| 34 | border:0; |
| 35 | } |
| 36 | .sc_shortcode_name{ |
| 37 | cursor: pointer; |
| 38 | padding: 10px 10px 10px 35px; |
| 39 | position: relative; |
| 40 | } |
| 41 | .sc_shortcode_name:hover{ |
| 42 | background: #fffeea; |
| 43 | } |
| 44 | .sc_params{ |
| 45 | border: 1px solid #DFDFDF; |
| 46 | background: #F9F9F9; |
| 47 | margin: 0 -1px -1px; |
| 48 | padding: 20px; |
| 49 | display: none; |
| 50 | box-shadow: inset 0 2px 6px -5px; |
| 51 | position: relative; |
| 52 | } |
| 53 | .sc_params label { |
| 54 | flex-basis: 33%; |
| 55 | line-height: 1; |
| 56 | font-size: 14px; |
| 57 | padding: 10px; |
| 58 | box-sizing: border-box; |
| 59 | } |
| 60 | .sc_params:before { |
| 61 | content: ''; |
| 62 | position: absolute; |
| 63 | border: 12px solid; |
| 64 | border-color: #bbb transparent transparent transparent; |
| 65 | top: 0px; |
| 66 | left: 12px; |
| 67 | } |
| 68 | .sc_params:after { |
| 69 | content: ''; |
| 70 | position: absolute; |
| 71 | border: 12px solid; |
| 72 | border-color: #fff transparent transparent transparent; |
| 73 | top: -1px; |
| 74 | left: 12px; |
| 75 | } |
| 76 | .sc_params_wrap{ |
| 77 | display: flex; |
| 78 | flex-wrap: wrap; |
| 79 | } |
| 80 | |
| 81 | .sc_insert:hover{ |
| 82 | opacity: 0.8; |
| 83 | } |
| 84 | .sc_wrap input[type=text]{ |
| 85 | padding: 5px; |
| 86 | border: 1px solid #CCC; |
| 87 | margin: 10px 25px 0 0px; |
| 88 | display: block; |
| 89 | width: 100%; |
| 90 | } |
| 91 | .sc_toggle{ |
| 92 | background: url(../images/toggle-arrow.png) no-repeat; |
| 93 | width: 16px; |
| 94 | height: 16px; |
| 95 | position: absolute; |
| 96 | left: 15px; |
| 97 | top: 50%; |
| 98 | margin-top: -6px; |
| 99 | opacity: 0.4; |
| 100 | } |
| 101 | |
| 102 | .sc_options{ |
| 103 | position: absolute; |
| 104 | right: 10px; |
| 105 | top: 7px; |
| 106 | } |
| 107 | .sc_options .button{ |
| 108 | background: transparent; |
| 109 | border: 1px solid transparent; |
| 110 | color: #888; |
| 111 | font-size: 11px; |
| 112 | vertical-align: middle; |
| 113 | margin-left: -1px; |
| 114 | border-radius: 0; |
| 115 | } |
| 116 | .sc_options .button:hover{ |
| 117 | box-shadow: 0 1px 4px -3px #333; |
| 118 | color: #333; |
| 119 | background-color: #fff; |
| 120 | } |
| 121 | .sc_shortcode:hover .sc_options .button{ |
| 122 | border-color: #607D8B; |
| 123 | } |
| 124 | |
| 125 | .button{ |
| 126 | display: inline-block; |
| 127 | text-decoration: none; |
| 128 | font-size: 13px; |
| 129 | line-height: 26px; |
| 130 | height: 28px; |
| 131 | margin: 0; |
| 132 | padding: 0 10px 1px; |
| 133 | cursor: pointer; |
| 134 | border-width: 1px; |
| 135 | border-style: solid; |
| 136 | -webkit-appearance: none; |
| 137 | -webkit-border-radius: 3px; |
| 138 | border-radius: 3px; |
| 139 | white-space: nowrap; |
| 140 | -webkit-box-sizing: border-box; |
| 141 | -moz-box-sizing: border-box; |
| 142 | box-sizing: border-box; |
| 143 | } |
| 144 | .button.button-primary{ |
| 145 | background: #0085ba; |
| 146 | border-color: #0073aa #006799 #006799; |
| 147 | -webkit-box-shadow: 0 1px 0 #006799; |
| 148 | box-shadow: 0 1px 0 #006799; |
| 149 | color: #fff; |
| 150 | text-decoration: none; |
| 151 | text-shadow: 0 -1px 1px #006799, 1px 0 1px #006799, 0 1px 1px #006799, -1px 0 1px #006799; |
| 152 | } |
| 153 | |
| 154 | .disabled_text{ |
| 155 | font-size: 10px; |
| 156 | background: #ffdfdd; |
| 157 | border-radius: 10px; |
| 158 | padding: 2px 10px; |
| 159 | margin: 0 0 0 10px; |
| 160 | color: #F44336; |
| 161 | } |
| 162 | |
| 163 | .sc_menu{ |
| 164 | margin: 0 0 1em 0; |
| 165 | } |
| 166 | .sc_menu .button{ |
| 167 | border: 1px solid #cecece; |
| 168 | color: #333; |
| 169 | opacity: 0.8; |
| 170 | margin: 0 5px 0 0; |
| 171 | } |
| 172 | .sc_menu .button:hover{ |
| 173 | opacity: 1; |
| 174 | } |
| 175 | |
| 176 | .search_box{ |
| 177 | width: 150px; |
| 178 | cursor: auto; |
| 179 | } |
| 180 | |
| 181 | .sc_tags { |
| 182 | padding: 0.75em 0 0 0; |
| 183 | background: #ffffff8a; |
| 184 | border: 1px solid #dfdfdf; |
| 185 | border-radius: 3px; |
| 186 | display: none; |
| 187 | } |
| 188 | .sc_tags li { |
| 189 | float: left; |
| 190 | list-style: none; |
| 191 | margin: 0; |
| 192 | font-size: 13px; |
| 193 | margin: 0 1em 1em 1em; |
| 194 | color: #287aa0; |
| 195 | font-weight: bold; |
| 196 | cursor: pointer; |
| 197 | } |
| 198 | .sc_tags li.active{ |
| 199 | opacity: 0.5; |
| 200 | } |
| 201 | .sc_tags li:hover{ |
| 202 | color: #333; |
| 203 | } |
| 204 | |
| 205 | .sc_tags_disp { |
| 206 | font-size: 13px; |
| 207 | margin: 0; |
| 208 | border-right: 1px solid #dfdfdf; |
| 209 | padding: 0 10px 0 0; |
| 210 | color: #888; |
| 211 | } |
| 212 | |
| 213 | .coffee_box{ |
| 214 | padding: 10px; |
| 215 | border: 1px solid #4CAF50; |
| 216 | padding-left: 20%; |
| 217 | background: url(../images/coffee.svg) no-repeat; |
| 218 | border-radius: 3px; |
| 219 | background-position: 30px center; |
| 220 | margin: 30px 0 15px 0; |
| 221 | background-size: 84px; |
| 222 | } |
| 223 | .coffee_box .coffee_amt { |
| 224 | width: 120px; |
| 225 | padding: 5px; |
| 226 | height: auto; |
| 227 | font-size: 1.5em; |
| 228 | } |
| 229 | .coffee_amt_wrap{ |
| 230 | float: right; |
| 231 | margin: 0 30px; |
| 232 | } |
| 233 | .coffee_box h3{ |
| 234 | margin: 5px 0; |
| 235 | font-weight: normal; |
| 236 | } |
| 237 | .coffee_box p{ |
| 238 | font-size: 13px; |
| 239 | } |
| 240 | .clearfix:after{ |
| 241 | clear: both; |
| 242 | content: "."; |
| 243 | display: block; |
| 244 | height: 0; |
| 245 | visibility: hidden; |
| 246 | font-size: 0; |
| 247 | } |
| 248 | |
| 249 | @media screen and (max-width: 750px){ |
| 250 | .sc_params label { |
| 251 | flex-basis: 50%; |
| 252 | } |
| 253 | } |