PluginProbe
TablePress – Tables in WordPress made easy / 2.1.7
TablePress – Tables in WordPress made easy v2.1.7
3.3.4 3.3.3 3.3.2 3.3.1 trunk 1.12 1.14 1.9.2 2.0.4 2.1.7 2.1.8 2.2 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.3 2.3.1 2.3.2 2.4 2.4.1 2.4.2 2.4.3 2.4.4 All 44 releases
tablepress / admin / css / common.scss

common.scss in TablePress – Tables in WordPress made easy 2.1.7, at admin/css/common.scss

234 lines 4.6 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 /**
2 * CSS code for all TablePress admin screens
3 *
4 * @package TablePress
5 * @subpackage Views CSS
6 * @author Tobias Bäthge
7 * @since 1.0.0
8 */
9
10 /* Move down the header when the Screen Options or Help tabs are opened. */
11 #screen-meta[style$="block;"]$="block;""] ~ #tablepress-page {
12 margin-top: 40px;
13 }
14
15 /* Move the Screen Options and Help link to their original position. Needed due to the full-width header. */
16 #screen-meta-links {
17 position: absolute;
18 right: 0;
19 z-index: 10001; /* Ensure that the tab is always above the arrow of WP feature pointers. */
20 }
21
22 #tablepress-page {
23 margin: 0 0 0 -20px;
24
25 /* Add space between WP core update nag and header navigation. */
26 .update-nag ~ & {
27 margin-top: 25px;
28 }
29
30 #tablepress-body {
31 padding: 0 20px;
32 }
33
34 .header {
35 background: #ffffff;
36 border-bottom: 1px solid #dedae6;
37 align-items: center;
38 display: flex;
39 flex-wrap: wrap;
40 padding-right: 260px; /* Space for the screen meta links. */
41
42 .name {
43 border-right: 1px solid #dedae6;
44 padding: 12px 24px 6px;
45
46 img {
47 vertical-align: middle;
48 margin: 0 12px 6px 0;
49 height: 32px;
50 }
51 }
52 }
53
54 #tablepress-nav {
55 background: #ffffff;
56 padding: 0 0 0 20px;
57 }
58
59 .nav-menu {
60 margin: 0;
61 padding: 0;
62 list-style-type: none;
63 list-style-image: none;
64 display: flex;
65 flex-wrap: wrap;
66
67 .nav-item {
68 margin-bottom: 0;
69 }
70
71 li:hover > a,
72 li > a:focus {
73 border-bottom-color: #049cdb;
74 background-color: #f9f9f9;
75 }
76 }
77
78 .nav-link {
79 white-space: nowrap;
80 border-bottom: 5px solid #ffffff;
81 padding: 18px 18px 12px;
82 font-size: 14px;
83 display: inline-block;
84 text-decoration: none;
85 color: #1e1e1e;
86
87 &.active {
88 border-bottom-color: #049cdb;
89 }
90
91 &.separator {
92 margin-right: 20px;
93 }
94 }
95
96 .buttons {
97 padding: 0 12px;
98
99 .tablepress-button {
100 cursor: pointer;
101 border: 1px solid #ffffff;
102 border-radius: 3px;
103 align-items: center;
104 margin: 10px 12px;
105 padding: 6px 4px 6px 12px;
106 font-size: 14px;
107 line-height: 1;
108 text-decoration: none;
109 transition: color 0.1s, background-color 0.1s, border-color 0.1s;
110 display: inline-flex;
111 color: #ffffff;
112 background-color: #8ab547;
113 border-color: #8ab547;
114
115 &:hover,
116 &:active,
117 &:focus {
118 color: #fff;
119 background-color: #69b547;
120 border-color: #69b547;
121 }
122
123 .dashicons {
124 margin: 0 6px 0 4px;
125 }
126 }
127 }
128
129 /* Margins for messages on screens */
130 div.notice {
131 margin: 20px 0 0;
132 }
133 }
134
135 /* Add New Table form */
136 #tablepress_add-add-table .form-wrap {
137 max-width: 500px;
138 }
139 #tablepress_add-add-table .form-field {
140 margin: 0;
141 }
142 /* Number of rows/columns in the "Add New Table" form */
143 #tablepress_add-add-table .form-field-small {
144 float: left;
145 width: 150px;
146 margin-right: 20px;
147 }
148
149 /* Width of the columns on the "All Tables" list */
150 .tablepress-all-tables thead .column-table_id {
151 width: 50px;
152 }
153 .tablepress-all-tables thead .column-table_name {
154 width: 30%;
155 }
156 .tablepress-all-tables thead .column-table_author {
157 width: 12%;
158 }
159 .tablepress-all-tables thead .column-table_last_modified {
160 width: 15%;
161 }
162 /* Font weight for the table ID column */
163 .tablepress-all-tables tbody .column-table_id {
164 font-weight: bold;
165 }
166 /* Responsiveness on the All Tables screen */
167 @media screen and (max-width: 782px) {
168 .tablepress-all-tables .column-table_id {
169 display: none !important;
170 padding: 3px 8px 3px 35%;
171 }
172 }
173
174 /* Search results for WP_List_Table */
175 #tablepress-page .subtitle {
176 float: left;
177 padding: 8px 0 0 0;
178 }
179
180 /* Table ID/name dropdown on "Export" screen */
181 #tablepress-page #tables-export {
182 width: 100%;
183 }
184
185 /* Tables in postboxes (on the "Edit" and "Plugin Options" screens) */
186 .tablepress-postbox-table {
187 border-spacing: 0;
188 max-width: 1000px;
189 width: 100%;
190 }
191 /* Default column widths */
192 .tablepress-postbox-table .column-1 {
193 width: 25%;
194 }
195 .tablepress-postbox-table .column-2 {
196 width: 75%;
197 }
198 .tablepress-postbox-table th {
199 text-align: left;
200 font-weight: normal;
201 }
202 .tablepress-postbox-table th,
203 .tablepress-postbox-table td {
204 padding: 2px;
205 word-wrap: break-word;
206 }
207 .tablepress-postbox-table .top-border th,
208 .tablepress-postbox-table .top-border td {
209 padding-top: 6px;
210 }
211 .tablepress-postbox-table .bottom-border th,
212 .tablepress-postbox-table .bottom-border td {
213 padding-bottom: 6px;
214 border-bottom: 1px solid #eeeeee;
215 }
216 .tablepress-postbox-table .top-align {
217 vertical-align: top;
218 padding-top: 6px;
219 }
220 /* Select dropdown alignment */
221 #tablepress-page select {
222 vertical-align: baseline;
223 }
224 /* Alignment of textareas and buttons in postboxes */
225 #tablepress-page textarea,
226 .tablepress-postbox-table .button {
227 margin: 1px;
228 }
229
230 /* Red color for the "Uninstall TablePress" button on the "Plugin Options" screen */
231 #uninstall-tablepress {
232 color: #bc0b0b;
233 }
234