| @@ -1,8 +1,6 @@ | ||
| 1 | 1 | /** |
| 2 | 2 | * Snippets list table |
| 3 | - * @author Webcraftic <[email protected]> | |
| 4 | - * @copyright Webcraftic 02.06.2018 | |
| 5 | 3 | */ |
| 6 | 4 | .wp-list-table th#title { |
| 7 | 5 | width: 20% !important; |
| 8 | 6 | } |
| @@ -34,9 +32,9 @@ | ||
| 34 | 32 | vertical-align: top; |
| 35 | 33 | } |
| 36 | 34 | .wp-list-table td .winp-snippet-active-switch, |
| 37 | 35 | .wp-list-table td .winp-snippet-inactive-switch { |
| 38 | - background-color: #2196f3; | |
| 36 | + background-color: #6366f1; | |
| 39 | 37 | margin-top: 5px; |
| 40 | 38 | width: 40px; |
| 41 | 39 | height: 20px; |
| 42 | 40 | border-radius: 34px; |
| @@ -134,18 +132,18 @@ | ||
| 134 | 132 | background: #c0c0c0; |
| 135 | 133 | } |
| 136 | 134 | .wp-list-table .wbcr_inp_shortcode_input, |
| 137 | 135 | .wp-list-table .wbcr_inp_shortcode_input:focus { |
| 138 | - border: 0; | |
| 139 | - background: transparent; | |
| 136 | + border: 1px solid #cbcbcb; | |
| 137 | + background: #f6f6f6; | |
| 140 | 138 | box-shadow: none; |
| 141 | 139 | outline: none; |
| 142 | 140 | width: 100%; |
| 143 | 141 | color: #555; |
| 144 | 142 | font-size: 13px; |
| 145 | - line-height: 1.5em; | |
| 146 | - padding: 0; | |
| 143 | + padding: 5px; | |
| 147 | 144 | margin: 0; |
| 145 | + text-align: center; | |
| 148 | 146 | } |
| 149 | 147 | .wp-list-table .wbcr_inp_input_priority, |
| 150 | 148 | .wp-list-table .wbcr_inp_input_priority:focus { |
| 151 | 149 | width: 50px; |
| @@ -180,5 +178,23 @@ | ||
| 180 | 178 | .wp-list-table td.column-description { |
| 181 | 179 | width: 0; |
| 182 | 180 | font-size: 0; |
| 183 | 181 | } |
| 182 | +} | |
| 183 | +[dir="rtl"] .wp-list-table td .winp-snippet-active-switch:before, | |
| 184 | +[dir="rtl"] .wp-list-table td .winp-snippet-inactive-switch:before { | |
| 185 | + -webkit-transform: translateX(0); | |
| 186 | + transform: translateX(0); | |
| 187 | +} | |
| 188 | +[dir="rtl"] .wp-list-table td .winp-snippet-active-switch:hover:before, | |
| 189 | +[dir="rtl"] .wp-list-table td .winp-snippet-inactive-switch:hover:before { | |
| 190 | + -webkit-transform: translateX(-20%); | |
| 191 | + transform: translateX(-20%); | |
| 192 | +} | |
| 193 | +[dir="rtl"] .wp-list-table td .winp-inactive.winp-snippet-active-switch:before { | |
| 194 | + -webkit-transform: translateX(-100%); | |
| 195 | + transform: translateX(-100%); | |
| 196 | +} | |
| 197 | +[dir="rtl"] .wp-list-table td .winp-inactive.winp-snippet-active-switch:hover:before { | |
| 198 | + -webkit-transform: translateX(-80%); | |
| 199 | + transform: translateX(-80%); | |
| 184 | 200 | } |