PluginProbe
TablePress – Tables in WordPress made easy / 1.9.2
TablePress – Tables in WordPress made easy v1.9.2
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.css

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

169 lines 3.8 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 /* Margins for messages on screens */
11 #tablepress-page div.notice {
12 margin: 10px 0 0;
13 }
14
15 /* Nav Tab Menu */
16 @media screen and (min-width: 783px) and (max-width: 1150px) {
17 /* Push nav bar down on small screens to not have tabs flow in mid-air, due to screen meta pushing */
18 #tablepress-nav {
19 padding-top: 30px;
20 }
21 }
22 @media screen and (max-width: 700px) {
23 #tablepress-nav {
24 border-bottom: 0;
25 }
26 #tablepress-nav .nav-tab {
27 margin: 0 0 10px 0.5em;
28 border-bottom: 1px solid #ccc;
29 }
30 }
31 #tablepress-nav .wp-heading-inline {
32 float: left;
33 padding: 5px 0 0;
34 line-height: inherit;
35 }
36 #tablepress-nav .nav-tab-separator {
37 margin-left: 2em;
38 }
39
40 /* Add New Table form */
41 #tablepress_add-add-table .form-wrap {
42 max-width: 500px;
43 }
44 #tablepress_add-add-table .form-field {
45 margin: 0;
46 }
47 /* Number of rows/columns in the "Add New Table" form */
48 #tablepress_add-add-table .form-field-small {
49 float: left;
50 width: 150px;
51 margin-right: 20px;
52 }
53
54 /* Placeholder fields in gray text color, but only if JS is enabled */
55 .js #tablepress-page .placeholder-active {
56 color: #bbbbbb;
57 }
58
59 /* Width of the columns on the "All Tables" list */
60 .tablepress-all-tables thead .column-table_id {
61 width: 50px;
62 }
63 .tablepress-all-tables thead .column-table_name {
64 width: 30%;
65 }
66 .tablepress-all-tables thead .column-table_author {
67 width: 12%;
68 }
69 .tablepress-all-tables thead .column-table_last_modified {
70 width: 15%;
71 }
72 /* Font weight for the table ID column */
73 .tablepress-all-tables tbody .column-table_id {
74 font-weight: bold;
75 }
76 /* Responsiveness on the All Tables screen */
77 @media screen and (max-width: 782px) {
78 .tablepress-all-tables .column-table_id {
79 display: none !important;
80 padding: 3px 8px 3px 35%;
81 }
82 }
83
84 /* Search results for WP_List_Table */
85 #tablepress-page .subtitle {
86 float: left;
87 padding-left: 0;
88 }
89
90 /* Inline Shortcodes, in texts */
91 #tablepress-page .table-shortcode-inline {
92 background: transparent;
93 border: none;
94 color: #333333;
95 width: 110px;
96 margin: 0;
97 padding: 0;
98 font-weight: bold;
99 -webkit-box-shadow: none;
100 box-shadow: none;
101 text-align: center;
102 vertical-align: top;
103 }
104 #tablepress-page .table-shortcode {
105 cursor: text;
106 }
107
108 /* Table ID/name dropdown on "Export" screen */
109 #tablepress-page #tables-export {
110 width: 100%;
111 height: auto;
112 line-height: normal;
113 }
114
115 /* Red border for form fields that have invalid values */
116 #tablepress-page form :invalid,
117 #tablepress-page form .invalid {
118 border-color: #cc0000 !important;
119 }
120
121 /* Tables in postboxes (on the "Edit" and "Plugin Options" screens) */
122 .tablepress-postbox-table {
123 border-spacing: 0;
124 max-width: 1000px;
125 width: 100%;
126 }
127 /* Default column widths */
128 .tablepress-postbox-table .column-1 {
129 width: 25%;
130 }
131 .tablepress-postbox-table .column-2 {
132 width: 75%;
133 }
134 .tablepress-postbox-table th {
135 text-align:left;
136 font-weight: normal;
137 }
138 .tablepress-postbox-table th,
139 .tablepress-postbox-table td {
140 padding: 2px;
141 word-wrap: break-word;
142 }
143 .tablepress-postbox-table .top-border th,
144 .tablepress-postbox-table .top-border td {
145 padding-top: 6px;
146 }
147 .tablepress-postbox-table .bottom-border th,
148 .tablepress-postbox-table .bottom-border td {
149 padding-bottom: 6px;
150 border-bottom: 1px solid #eeeeee;
151 }
152 .tablepress-postbox-table .top-align {
153 vertical-align: top;
154 padding-top: 6px;
155 }
156 /* Adjust positioning of labels in relation to checkboxes/radio buttons */
157 #tablepress_import-import-form .column-2 label,
158 #tablepress_import-import-wp-table-reloaded .column-2 label {
159 margin-right: 20px; /* some margin on radio buttons */
160 }
161 /* Red color for the "Uninstall TablePress" button on the "Plugin Options" screen */
162 #uninstall-tablepress {
163 color: #BC0B0B;
164 }
165 /* Select dropdown alignment on the "Plugin Options" screen */
166 #tablepress-page select {
167 vertical-align: baseline;
168 }
169