| 1 |
/** |
| 2 |
* Snippets list table |
| 3 |
* @author Webcraftic <wordpress.webraftic@gmail.com> |
| 4 |
* @copyright Webcraftic 02.06.2018 |
| 5 |
*/ |
| 6 |
|
| 7 |
.wp-list-table { |
| 8 |
& th { |
| 9 |
&#title { |
| 10 |
width: 20% !important; |
| 11 |
} |
| 12 |
|
| 13 |
&#winp_snippet_type { |
| 14 |
width: 70px !important; |
| 15 |
} |
| 16 |
|
| 17 |
&#winp_actions { |
| 18 |
width: 50px !important; |
| 19 |
} |
| 20 |
|
| 21 |
&#winp_where_use { |
| 22 |
width: 200px !important; |
| 23 |
} |
| 24 |
|
| 25 |
&#winp_taxonomy-wbcr-snippet-tags { |
| 26 |
width: 100px; |
| 27 |
} |
| 28 |
} |
| 29 |
|
| 30 |
& td { |
| 31 |
vertical-align: middle !important; |
| 32 |
|
| 33 |
&.column-status { |
| 34 |
//text-align: center; |
| 35 |
} |
| 36 |
|
| 37 |
/*&.column-snippet_type { |
| 38 |
text-align: center; |
| 39 |
}*/ |
| 40 |
} |
| 41 |
|
| 42 |
.wbcr-inp-enable-snippet-button { |
| 43 |
.dashicons { |
| 44 |
margin-top: 3px; |
| 45 |
|
| 46 |
&.dashicons-controls-pause { |
| 47 |
color: #8bc34a; |
| 48 |
} |
| 49 |
} |
| 50 |
} |
| 51 |
|
| 52 |
.wbcr-inp-snippet-type-label { |
| 53 |
display: inline-block; |
| 54 |
padding: 3px 8px 6px; |
| 55 |
border-radius: 3px; |
| 56 |
font-weight: bold; |
| 57 |
width: 30px; |
| 58 |
text-align: center; |
| 59 |
|
| 60 |
&.wbcr-inp-type-php { |
| 61 |
background: #777bb3; |
| 62 |
color: #ffffff; |
| 63 |
} |
| 64 |
|
| 65 |
&.wbcr-inp-type-text { |
| 66 |
background: #4CAF50; |
| 67 |
color: #fffffd; |
| 68 |
} |
| 69 |
|
| 70 |
&.wbcr-inp-type-universal { |
| 71 |
background: #607D8B; |
| 72 |
color: #ffffff; |
| 73 |
} |
| 74 |
|
| 75 |
&.wbcr-inp-type-css { |
| 76 |
background: #1572b6; |
| 77 |
color: #ffffff; |
| 78 |
} |
| 79 |
|
| 80 |
&.wbcr-inp-type-js { |
| 81 |
background: #f7df1e; |
| 82 |
color: #655b0e; |
| 83 |
} |
| 84 |
|
| 85 |
&.wbcr-inp-type-html { |
| 86 |
background: #e44d26; |
| 87 |
color: #fffffd; |
| 88 |
} |
| 89 |
} |
| 90 |
|
| 91 |
.wbcr-inp-status-marker { |
| 92 |
display: inline-block; |
| 93 |
border-radius: 100%; |
| 94 |
width: 10px; |
| 95 |
height: 10px; |
| 96 |
margin-left: 5px; |
| 97 |
|
| 98 |
&.wbcr-inp-status-green { |
| 99 |
background: #8bc34a; |
| 100 |
} |
| 101 |
|
| 102 |
&.wbcr-inp-status-grey { |
| 103 |
background: #c0c0c0; |
| 104 |
} |
| 105 |
} |
| 106 |
|
| 107 |
|
| 108 |
} |
| 109 |
|
| 110 |
@media screen and (max-width: 1350px) { |
| 111 |
.wp-list-table { |
| 112 |
& th { |
| 113 |
&#description, &.column-description { |
| 114 |
width: 0; |
| 115 |
font-size: 0; |
| 116 |
} |
| 117 |
|
| 118 |
&#actions { |
| 119 |
width: 50px !important; |
| 120 |
} |
| 121 |
|
| 122 |
&#where_use { |
| 123 |
width: 100px !important; |
| 124 |
} |
| 125 |
|
| 126 |
&#taxonomy-wbcr-snippet-tags { |
| 127 |
width: 60px !important; |
| 128 |
} |
| 129 |
|
| 130 |
&#snippet_type { |
| 131 |
width: 50px !important; |
| 132 |
} |
| 133 |
} |
| 134 |
|
| 135 |
& td { |
| 136 |
&.column-description { |
| 137 |
width: 0; |
| 138 |
font-size: 0; |
| 139 |
} |
| 140 |
} |
| 141 |
} |
| 142 |
} |
| 143 |
|
| 144 |
|