Skip to content

Commit 32d5ce7

Browse files
committed
version 2.0.14 released
1 parent 9861e22 commit 32d5ce7

19 files changed

+3557
-595
lines changed

.distignore

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,14 @@
22
/.git
33
/.github
44
/node_modules
5+
/assets/scss/
6+
/vite.config.js
7+
/composer.lock
8+
/package-lock.json
9+
/assets/vuejs/**
510

611
.distignore
712
.gitignore
8-
.gitattributes
13+
.gitattributes
14+
15+
assets/scss/

assets/scss/cbxpetition-admin.scss

Lines changed: 373 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,373 @@
1+
@import "misc/variable";
2+
@import "../../../../../cbxdesign/chota/chota";
3+
@import "misc/menu_branding";
4+
@import "misc/icons";
5+
@import "misc/app_status_colors";
6+
7+
@import "../../../../../cbxdesign/chota/support_dashboard";
8+
@import "../../../../../cbxdesign/chota/admin_dash_override";
9+
@import "../../../../../cbxdesign/chota/wplisting_filters";
10+
@import "../../../../../cbxdesign/chota/setting_fields/notice";
11+
@import "../../../../../cbxdesign/chota/magic_check/magic_extras";
12+
@import "../../../../../cbxdesign/chota/builders/misc";
13+
@import "petition/petition-add-edit";
14+
15+
16+
17+
18+
19+
.cbxpetition_display_none {
20+
display: none !important;
21+
}
22+
23+
.wp-heading-wrap {
24+
display: flex;
25+
flex-wrap: wrap;
26+
27+
#setting-error-settings_updated{
28+
width: 100%;
29+
p{
30+
margin-bottom: 0;
31+
}
32+
33+
button{
34+
background: transparent !important;
35+
border: none !important;
36+
}
37+
}
38+
39+
@media screen and (max-width: 600px) {
40+
justify-content: center;
41+
}
42+
43+
.wp-heading-inline {
44+
padding: 0 !important;
45+
margin: 0 !important;
46+
line-height: 1 !important;
47+
margin-right: auto;
48+
49+
@media screen and (max-width: 600px) {
50+
font-size: 25px !important;
51+
text-align: center;
52+
}
53+
}
54+
55+
.pull-left {
56+
order: 1;
57+
margin-right: auto;
58+
59+
@media screen and (max-width: 600px) {
60+
display: flex;
61+
flex-wrap: wrap;
62+
flex: 0 0 100% !important;
63+
width: 100% !important;
64+
justify-content: center;
65+
66+
margin-bottom: 20px;
67+
}
68+
}
69+
70+
.pull-right {
71+
order: 2;
72+
margin-left: auto;
73+
max-height: 28px;
74+
75+
@media screen and (max-width: 600px) {
76+
display: flex;
77+
flex-wrap: wrap;
78+
flex: 0 0 100% !important;
79+
width: 100% !important;
80+
justify-content: center;
81+
}
82+
}
83+
}
84+
85+
table.widefat {
86+
border-top: 1px solid var(--color-primary);
87+
border-bottom-right-radius: 8px;
88+
border-bottom-left-radius: 8px;
89+
box-shadow: 0 10px 22px 0 rgba(0, 4, 32, .05);
90+
border-bottom: none;
91+
border-left: none;
92+
border-right: none;
93+
}
94+
95+
input:not(.magic-radio)[type=radio] {
96+
//border: 1px solid #ccc !important;
97+
//box-shadow: none !important;
98+
//position: relative;
99+
}
100+
101+
input:not(.magic-radio)[type=radio]:checked::before {
102+
//border: 1px solid var(--color-primary) !important;
103+
//background-color: var(--color-primary) !important;
104+
}
105+
106+
input:not(.magic-radio)[type=radio]:focus {
107+
}
108+
109+
input:not(.magic-checkbox):not(.vtl-tbody-checkbox):not(.vtl-thead-checkbox)[type=checkbox] {
110+
border: 1px solid var(--color-primary) !important;
111+
box-shadow: none !important;
112+
transition: all .3s !important;
113+
}
114+
115+
input:not(.magic-checkbox):not(.vtl-tbody-checkbox):not(.vtl-thead-checkbox)[type=checkbox]:focus {
116+
border-color: var(--color-primary) !important;
117+
box-shadow: 0 0 0 1px var(--color-primary) !important;
118+
outline: none !important;
119+
}
120+
121+
.cbxpetition-page-wrapper{
122+
margin-top: 50px;
123+
.container{
124+
max-width: 1200px;
125+
}
126+
.postbox{
127+
border-radius: 8px;
128+
box-shadow: 0 10px 22px 0 rgba(0, 4, 32, .05) !important;
129+
border: 0 none;
130+
}
131+
132+
#col-left, #col-right{
133+
width: 100% !important;
134+
}
135+
136+
#titlediv #title-prompt-text{
137+
position: static !important;
138+
padding-left: 0 !important;
139+
}
140+
141+
.postbox{
142+
.newtag{
143+
display: inline-block !important;
144+
width: auto !important;
145+
}
146+
}
147+
148+
#post_status{
149+
display: inline-block !important;
150+
width: auto !important;
151+
}
152+
153+
&.cbxpetition-addedit-wrapper{
154+
box-shadow: 0 10px 22px 0 rgba(0,4,32,0.05)!important;
155+
background-color: #fff;
156+
padding: 10px;
157+
border-radius: 10px;
158+
}
159+
}
160+
161+
162+
#cbxpetition_signs_filters_wrap{
163+
.cbxpetition_signs_filters{
164+
165+
}
166+
}
167+
168+
169+
170+
//from pro addon
171+
#cbxpetition-import-wrapper{
172+
input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="color"]):not([type="button"]):not([type="reset"]),
173+
select,
174+
textarea,
175+
textarea[type="text"], input[type="file"] {
176+
width: 100% !important;
177+
max-width: 500px;
178+
}
179+
180+
.inside{
181+
width: 100%;
182+
max-width: 400px;
183+
}
184+
}
185+
186+
187+
.postbox-header{
188+
h2{
189+
font-size: 18px!important
190+
}
191+
}
192+
193+
#editable-post-name{
194+
input{
195+
display: inline-block;
196+
}
197+
}
198+
199+
//petition edit widgets
200+
#taxonomy-cbxpetition_cat{
201+
.tabs{
202+
display: initial;
203+
margin-bottom: 6px;
204+
}
205+
}
206+
207+
.flatpickr-current-month input.cur-year{
208+
min-height: auto !important;
209+
}
210+
211+
.cbxpetition-tax-wrapper{
212+
.col-wrap{
213+
padding-top: 20px !important;
214+
}
215+
#addtag{
216+
display: none;
217+
218+
}
219+
220+
#edittag, #addtag{
221+
width: 100%;
222+
max-width: 500px;
223+
input[type=text], input[type=email], input[type=url], input[type=number], textarea, select{
224+
width: 100%;
225+
max-width: 500px;
226+
}
227+
.edit-tag-actions{
228+
text-align: center;
229+
}
230+
p.submit{
231+
text-align: center;
232+
}
233+
}
234+
}
235+
236+
.cbxpetition-singature-wrapper{
237+
#cbxpetition_signs{
238+
padding-top: 20px !important;
239+
240+
#cbxpetition_signs_filters_wrap{
241+
margin-bottom: 20px;
242+
}
243+
}
244+
}
245+
246+
247+
#titlewrap{
248+
#title-prompt-text{
249+
padding-top: 0 !important;
250+
}
251+
}
252+
253+
#edit-slug-box{
254+
padding-left: 0 !important;
255+
}
256+
257+
.cbxpetition_fields_heading{
258+
.small{
259+
font-size: 13px !important;
260+
}
261+
}
262+
263+
.cbxpetition_signform_wrapper{
264+
width: 100%;
265+
max-width: 500px;
266+
267+
p.error{
268+
color: red !important;
269+
font-size: 13px !important;
270+
line-height: 1.5 !important;
271+
}
272+
273+
.cbxpetition-signform-field input[type="text"].error,
274+
.cbxpetition-signform-field input[type="email"].error,
275+
.cbxpetition-signform-field input[type="url"].error {
276+
border: 1px solid red !important;
277+
}
278+
279+
.cbxpetition-signform-field textarea.error {
280+
border: 1px solid red !important;
281+
}
282+
}
283+
284+
.cbxpetition_sign_row{
285+
.column-state{
286+
vertical-align: middle;
287+
text-align: left;
288+
}
289+
}
290+
291+
.cbx-chota{
292+
.cbx-sub-heading{
293+
margin-bottom:0 !important;
294+
}
295+
296+
textarea{
297+
font-weight: normal !important;
298+
}
299+
300+
.column-signature_received_value{
301+
}
302+
}
303+
304+
.button_actions_signatures{
305+
.card-menu{
306+
padding: 0!important;
307+
}
308+
}
309+
310+
#message.notice{
311+
display: flex !important;
312+
align-items: center !important;
313+
justify-content: space-between !important;
314+
padding: 5px 10px !important;
315+
316+
p{
317+
margin-bottom: 0 !important;
318+
}
319+
}
320+
321+
#ajax-response{
322+
.notice{
323+
display: flex !important;
324+
padding-left: 5px !important;
325+
padding-right: 5px !important;
326+
align-items: center !important;
327+
328+
p{
329+
line-height: 30px;
330+
margin-bottom: 0 !important;
331+
}
332+
333+
button{
334+
margin-left: auto !important;
335+
margin-bottom: 0 !important;
336+
position: relative !important;
337+
border: 1px solid var(--color-darkGrey) !important;
338+
background-color: transparent !important;
339+
padding: 0 4px !important;
340+
341+
&:before{
342+
width: 20px;
343+
height: 20px;
344+
background-position: center;
345+
background-size: contain;
346+
background-repeat: no-repeat;
347+
background-image: url("../icons/icon_close.svg") !important;
348+
content: '';
349+
}
350+
}
351+
}
352+
}
353+
354+
355+
.cbx-chota{
356+
#dashlisting_toolbar{
357+
padding: 10px;
358+
background-color: #EFF0FD;
359+
border: 1px solid #5d5dff33;
360+
border-radius: 10px;
361+
box-shadow: 0 10px 22px 0 rgba(0,4,32,.05) !important;
362+
363+
h2{
364+
margin-bottom: 0 !important;
365+
display: flex;
366+
align-items: center;
367+
}
368+
}
369+
}
370+
371+
.timestamp-wrap{
372+
display: flex;
373+
}

0 commit comments

Comments
 (0)