PluginProbe
Advanced Forms for ACF / trunk
Advanced Forms for ACF vtrunk
1.9.0 1.9.1 1.9.2.1 1.9.3 1.9.3.1 1.9.3.2 1.9.3.3 1.9.3.4 1.9.3.5 1.9.3.6 1.9.3.7 1.9.3.8 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.3.1 1.0.3.2 1.0.3.3 1.0.4 1.1.0 1.1.1 1.2.0 1.3.0 All 51 releases
advanced-forms / assets / css / form.css

form.css in Advanced Forms for ACF trunk, at assets/css/form.css

154 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .af-form .hide-label .af-label {
2 display: none;
3 }
4
5 .af-submit {
6 clear: both;
7 padding: 15px 12px;
8 }
9
10
11 /**
12 * Field includes
13 */
14 .af-field-include {
15 border-collapse: collapse;
16 border-spacing: 0;
17 width: 100%;
18 }
19
20 .af-field-include th {
21 background-color: #fafafa;
22 border: 1px solid #ddd;
23 padding: 5px 10px;
24 text-align: left;
25 }
26
27 .af-field-include td {
28 border: 1px solid #ddd;
29 padding: 15px 20px;
30 }
31
32 .af-field-include-repeater td {
33 padding: 5px 10px;
34 }
35
36
37 /**
38 * Paging
39 */
40 .af-page-wrap {
41 border: 1px solid #EEE;
42 display: flex;
43 margin: 0 12px;
44 }
45
46 .af-page-button {
47 background: #F9F9F9;
48 color: inherit;
49 cursor: default;
50 flex: 1;
51 height: 50px;
52 line-height: 50px;
53 text-align: center;
54 border-right: 1px solid #EEE;
55 position: relative;
56 text-decoration: none;
57 }
58
59 .af-page-button:hover {
60 color: inherit;
61 }
62
63 .af-page-button:last-child {
64 border-right: none;
65 }
66
67 .af-page-button.enabled {
68 background: #fff;
69 cursor: pointer;
70 }
71
72 .af-page-button.current {
73 color: #318cf3;
74 }
75
76 /*
77 * The pointed button is constructed using two triangles, before and after.
78 * The before triangle is the same color as the border.
79 * The after triangle is 1px smaller and overlays the before triangle with the button background color.
80 */
81 .af-page-button:before,
82 .af-page-button:after {
83 box-sizing: border-box;
84 content: '';
85 position: absolute;
86 top: 0;
87 height: 50px;
88 left: 100%;
89 border-left: 15px solid #EEE;
90 border-bottom: 25px solid transparent;
91 border-top: 25px solid transparent;
92 z-index: 1;
93 }
94
95 .af-page-button:after {
96 top: 1px;
97 height: 48px;
98 border-left: 14px solid #F9F9F9;
99 border-bottom: 24px solid transparent;
100 border-top: 24px solid transparent;
101 }
102
103 .af-page-button.enabled:after {
104 border-left-color: #FFF;
105 }
106
107 .af-page-button:last-child:before,
108 .af-page-button:last-child:after {
109 content: none;
110 }
111
112 .af-page-button .index {
113 background: #ddd;
114 border-radius: 10px;
115 color: #888;
116 display: inline-block;
117 font-size: 12px;
118 margin-right: 10px;
119 width: 20px;
120 height: 20px;
121 line-height: 20px;
122 vertical-align: middle;
123 }
124
125 .af-page-button .title {
126 vertical-align: middle;
127 opacity: 0.5;
128 }
129
130 .af-page-button.enabled .title {
131 opacity: 1;
132 }
133
134 /* Remove top border from fields immediately following a page break */
135 .acf-fields .acf-field-page + .acf-field {
136 border-top: none;
137 }
138
139 .af-previous-button,
140 .af-next-button {
141 margin-right: 10px;
142 }
143
144 .af-field-type-page {
145 display: none;
146 }
147
148 .af-field-instructions {
149 margin: 0;
150 }
151
152 .af-field-instructions.-placement-field {
153 margin-top: 5px;
154 }