| @@ -1,200 +1,100 @@ | ||
| 1 | -/** | |
| 2 | - * Snippets list table | |
| 3 | - */ | |
| 4 | -.wp-list-table th#title { | |
| 5 | - width: 20% !important; | |
| 6 | -} | |
| 7 | -.wp-list-table th#winp_snippet_type { | |
| 8 | - width: 70px !important; | |
| 9 | -} | |
| 10 | -.wp-list-table th#winp_actions { | |
| 11 | - width: 50px !important; | |
| 12 | -} | |
| 13 | -.wp-list-table th#winp_where_use { | |
| 14 | - width: 200px !important; | |
| 15 | -} | |
| 16 | -.wp-list-table th#winp_priority { | |
| 17 | - width: 90px !important; | |
| 18 | -} | |
| 19 | -.wp-list-table th#winp_taxonomy-wbcr-snippet-tags { | |
| 20 | - width: 100px; | |
| 21 | -} | |
| 22 | -.wp-list-table .winp-taxonomy-href { | |
| 23 | - text-decoration: underline; | |
| 24 | -} | |
| 25 | -.wp-list-table td { | |
| 26 | - vertical-align: middle; | |
| 27 | - /*&.column-snippet_type { | |
| 28 | - text-align: center; | |
| 29 | - }*/ | |
| 30 | -} | |
| 31 | -.wp-list-table td.column-winp_actions { | |
| 32 | - vertical-align: top; | |
| 33 | -} | |
| 34 | -.wp-list-table td .winp-snippet-active-switch, | |
| 35 | -.wp-list-table td .winp-snippet-inactive-switch { | |
| 36 | - background-color: #6366f1; | |
| 37 | - margin-top: 5px; | |
| 38 | - width: 40px; | |
| 39 | - height: 20px; | |
| 40 | - border-radius: 34px; | |
| 41 | - display: inline-block; | |
| 42 | -} | |
| 43 | -.wp-list-table td .winp-snippet-active-switch:before, | |
| 44 | -.wp-list-table td .winp-snippet-inactive-switch:before { | |
| 45 | - -webkit-transform: translateX(100%); | |
| 46 | - transform: translateX(100%); | |
| 47 | - -webkit-transition: all 0.4s; | |
| 48 | - transition: all 0.4s; | |
| 49 | - content: ""; | |
| 50 | - height: 16px; | |
| 51 | - width: 17px; | |
| 52 | - display: inline-block; | |
| 53 | - margin: 2px; | |
| 54 | - background-color: #fff; | |
| 55 | - border-radius: 50%; | |
| 56 | -} | |
| 57 | -.wp-list-table td .winp-snippet-active-switch:hover:before, | |
| 58 | -.wp-list-table td .winp-snippet-inactive-switch:hover:before { | |
| 59 | - -webkit-transform: translateX(80%); | |
| 60 | - transform: translateX(80%); | |
| 61 | -} | |
| 62 | -.wp-list-table td .winp-inactive.winp-snippet-active-switch { | |
| 63 | - background-color: #ccc; | |
| 64 | -} | |
| 65 | -.wp-list-table td .winp-inactive.winp-snippet-active-switch:before { | |
| 66 | - -webkit-transform: none; | |
| 67 | - transform: none; | |
| 68 | -} | |
| 69 | -.wp-list-table td .winp-inactive.winp-snippet-active-switch:hover:before { | |
| 70 | - -webkit-transform: translateX(20%); | |
| 71 | - transform: translateX(20%); | |
| 72 | -} | |
| 73 | -.wp-list-table td .winp-snippet-switch-loader:before { | |
| 74 | - -webkit-transform: translateX(55%) !important; | |
| 75 | - transform: translateX(55%) !important; | |
| 76 | -} | |
| 77 | -.wp-list-table .wbcr-inp-enable-snippet-button .dashicons { | |
| 78 | - margin-top: 3px; | |
| 79 | -} | |
| 80 | -.wp-list-table .wbcr-inp-enable-snippet-button .dashicons.dashicons-controls-pause { | |
| 81 | - color: #8bc34a; | |
| 82 | -} | |
| 83 | -.wp-list-table .wbcr-inp-snippet-type-label { | |
| 84 | - display: inline-block; | |
| 85 | - padding: 3px 8px 6px; | |
| 86 | - border-radius: 3px; | |
| 87 | - font-weight: bold; | |
| 88 | - width: 30px; | |
| 89 | - text-align: center; | |
| 90 | - float: right; | |
| 91 | - margin-right: 5px; | |
| 92 | -} | |
| 93 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-php { | |
| 94 | - background: #777bb3; | |
| 95 | - color: #ffffff; | |
| 96 | -} | |
| 97 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-text { | |
| 98 | - background: #4CAF50; | |
| 99 | - color: #fffffd; | |
| 100 | -} | |
| 101 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-universal { | |
| 102 | - background: #607D8B; | |
| 103 | - color: #ffffff; | |
| 104 | -} | |
| 105 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-css { | |
| 106 | - background: #1572b6; | |
| 107 | - color: #ffffff; | |
| 108 | -} | |
| 109 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-js { | |
| 110 | - background: #f7df1e; | |
| 111 | - color: #655b0e; | |
| 112 | -} | |
| 113 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-html { | |
| 114 | - background: #e44d26; | |
| 115 | - color: #fffffd; | |
| 116 | -} | |
| 117 | -.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-advert { | |
| 118 | - background: #d56700; | |
| 119 | - color: #fffffd; | |
| 120 | -} | |
| 121 | -.wp-list-table .wbcr-inp-status-marker { | |
| 122 | - display: inline-block; | |
| 123 | - border-radius: 100%; | |
| 124 | - width: 10px; | |
| 125 | - height: 10px; | |
| 126 | - margin-left: 5px; | |
| 127 | -} | |
| 128 | -.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-green { | |
| 129 | - background: #8bc34a; | |
| 130 | -} | |
| 131 | -.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-grey { | |
| 132 | - background: #c0c0c0; | |
| 133 | -} | |
| 134 | -.wp-list-table .wbcr_inp_shortcode_input, | |
| 135 | -.wp-list-table .wbcr_inp_shortcode_input:focus { | |
| 136 | - border: 1px solid #cbcbcb; | |
| 137 | - background: #f6f6f6; | |
| 138 | - box-shadow: none; | |
| 139 | - outline: none; | |
| 140 | - width: 100%; | |
| 141 | - color: #555; | |
| 142 | - font-size: 13px; | |
| 143 | - padding: 5px; | |
| 144 | - margin: 0; | |
| 145 | - text-align: center; | |
| 146 | -} | |
| 147 | -.wp-list-table .wbcr_inp_input_priority, | |
| 148 | -.wp-list-table .wbcr_inp_input_priority:focus { | |
| 149 | - width: 50px; | |
| 150 | - color: #555; | |
| 151 | - font-size: 13px; | |
| 152 | - margin: 0; | |
| 153 | - padding: 0; | |
| 154 | - text-align: center; | |
| 155 | -} | |
| 156 | -.wp-list-table .wbcr_inp_input_priority.winp-loader { | |
| 157 | - background: url('../img/loader.gif') no-repeat right center; | |
| 158 | - background-size: 20px; | |
| 159 | -} | |
| 160 | -@media screen and (max-width: 1350px) { | |
| 161 | - .wp-list-table th#description, | |
| 162 | - .wp-list-table th.column-description { | |
| 163 | - width: 0; | |
| 164 | - font-size: 0; | |
| 165 | - } | |
| 166 | - .wp-list-table th#actions { | |
| 167 | - width: 50px !important; | |
| 168 | - } | |
| 169 | - .wp-list-table th#where_use { | |
| 170 | - width: 100px !important; | |
| 171 | - } | |
| 172 | - .wp-list-table th#taxonomy-wbcr-snippet-tags { | |
| 173 | - width: 60px !important; | |
| 174 | - } | |
| 175 | - .wp-list-table th#snippet_type { | |
| 176 | - width: 50px !important; | |
| 177 | - } | |
| 178 | - .wp-list-table td.column-description { | |
| 179 | - width: 0; | |
| 180 | - font-size: 0; | |
| 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%); | |
| 200 | -} | |
| 1 | +/** | |
| 2 | + * Snippets list table | |
| 3 | + * @author Webcraftic <wordpress.webraftic@gmail.com> | |
| 4 | + * @copyright Webcraftic 02.06.2018 | |
| 5 | + */ | |
| 6 | +.wp-list-table th#title { | |
| 7 | + width: 20% !important; | |
| 8 | +} | |
| 9 | +.wp-list-table th#snippet_type { | |
| 10 | + width: 70px !important; | |
| 11 | +} | |
| 12 | +.wp-list-table th#actions { | |
| 13 | + width: 50px !important; | |
| 14 | +} | |
| 15 | +.wp-list-table th#where_use { | |
| 16 | + width: 200px !important; | |
| 17 | +} | |
| 18 | +.wp-list-table th#taxonomy-wbcr-snippet-tags { | |
| 19 | + width: 100px; | |
| 20 | +} | |
| 21 | +.wp-list-table td { | |
| 22 | + vertical-align: middle !important; | |
| 23 | + /*&.column-snippet_type { | |
| 24 | + text-align: center; | |
| 25 | + }*/ | |
| 26 | +} | |
| 27 | +.wp-list-table .wbcr-inp-enable-snippet-button .dashicons { | |
| 28 | + margin-top: 3px; | |
| 29 | +} | |
| 30 | +.wp-list-table .wbcr-inp-enable-snippet-button .dashicons.dashicons-controls-pause { | |
| 31 | + color: #8bc34a; | |
| 32 | +} | |
| 33 | +.wp-list-table .wbcr-inp-snippet-type-label { | |
| 34 | + display: inline-block; | |
| 35 | + padding: 3px 8px 6px; | |
| 36 | + border-radius: 3px; | |
| 37 | + font-weight: bold; | |
| 38 | + width: 30px; | |
| 39 | + text-align: center; | |
| 40 | +} | |
| 41 | +.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-php { | |
| 42 | + background: #777bb3; | |
| 43 | + color: #ffffff; | |
| 44 | +} | |
| 45 | +.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-text { | |
| 46 | + background: #4CAF50; | |
| 47 | + color: #fffffd; | |
| 48 | +} | |
| 49 | +.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-universal { | |
| 50 | + background: #607D8B; | |
| 51 | + color: #ffffff; | |
| 52 | +} | |
| 53 | +.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-css { | |
| 54 | + background: #1572b6; | |
| 55 | + color: #ffffff; | |
| 56 | +} | |
| 57 | +.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-js { | |
| 58 | + background: #f7df1e; | |
| 59 | + color: #655b0e; | |
| 60 | +} | |
| 61 | +.wp-list-table .wbcr-inp-snippet-type-label.wbcr-inp-type-html { | |
| 62 | + background: #e44d26; | |
| 63 | + color: #fffffd; | |
| 64 | +} | |
| 65 | +.wp-list-table .wbcr-inp-status-marker { | |
| 66 | + display: inline-block; | |
| 67 | + border-radius: 100%; | |
| 68 | + width: 10px; | |
| 69 | + height: 10px; | |
| 70 | + margin-left: 5px; | |
| 71 | +} | |
| 72 | +.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-green { | |
| 73 | + background: #8bc34a; | |
| 74 | +} | |
| 75 | +.wp-list-table .wbcr-inp-status-marker.wbcr-inp-status-grey { | |
| 76 | + background: #c0c0c0; | |
| 77 | +} | |
| 78 | +@media screen and (max-width: 1350px) { | |
| 79 | + .wp-list-table th#description, | |
| 80 | + .wp-list-table th.column-description { | |
| 81 | + width: 0; | |
| 82 | + font-size: 0; | |
| 83 | + } | |
| 84 | + .wp-list-table th#actions { | |
| 85 | + width: 50px !important; | |
| 86 | + } | |
| 87 | + .wp-list-table th#where_use { | |
| 88 | + width: 100px !important; | |
| 89 | + } | |
| 90 | + .wp-list-table th#taxonomy-wbcr-snippet-tags { | |
| 91 | + width: 60px !important; | |
| 92 | + } | |
| 93 | + .wp-list-table th#snippet_type { | |
| 94 | + width: 50px !important; | |
| 95 | + } | |
| 96 | + .wp-list-table td.column-description { | |
| 97 | + width: 0; | |
| 98 | + font-size: 0; | |
| 99 | + } | |
| 100 | +} | |