Skip to content

Commit 7db32f1

Browse files
committed
version 2.0.2 released, scss files added
1 parent db1bcc3 commit 7db32f1

21 files changed

+1998
-241
lines changed

.distignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,6 @@
55

66
.distignore
77
.gitignore
8-
.gitattributes
8+
.gitattributes
9+
10+
assets/scss/

assets/scss/cbxpoll-admin.scss

Lines changed: 201 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,201 @@
1+
@import "misc/variable";
2+
@import "../../../../../cbxdesign/chota/chota";
3+
@import "misc/icons";
4+
5+
@import "misc/menu_branding";
6+
7+
8+
@import "../../../../../cbxdesign/chota/support_dashboard";
9+
@import "../../../../../cbxdesign/chota/admin_dash_override";
10+
@import "../../../../../cbxdesign/chota/wplisting_filters";
11+
@import "../../../../../cbxdesign/chota/setting_fields/notice";
12+
@import "../../../../../cbxdesign/chota/magic_check/magic_extras";
13+
14+
15+
.cbxpoll_display_none {
16+
display: none !important;
17+
}
18+
19+
table.widefat {
20+
border-top: 1px solid var(--color-primary);
21+
border-bottom-right-radius: 8px;
22+
border-bottom-left-radius: 8px;
23+
box-shadow: 0 10px 22px 0 rgba(0, 4, 32, .05);
24+
border-bottom: none;
25+
border-left: none;
26+
border-right: none;
27+
}
28+
29+
.cbxpoll-page-wrapper {
30+
margin-top: 50px;
31+
.container {
32+
max-width: 1200px;
33+
}
34+
}
35+
36+
.cbx-chota{
37+
.widefat .check-column{
38+
vertical-align: middle;
39+
}
40+
}
41+
42+
.postbox-header {
43+
h2 {
44+
padding: 5px 12px !important;
45+
font-size: 16px !important;
46+
line-height: 1.2 !important;
47+
margin-bottom: 0 !important;
48+
}
49+
}
50+
51+
52+
input:not(.magic-radio)[type=radio] {
53+
border: 1px solid #ccc !important;
54+
box-shadow: none !important;
55+
}
56+
57+
input:not(.magic-radio)[type=radio]:checked::before {
58+
background-color: var(--color-primary) !important;
59+
}
60+
61+
input:not(.magic-radio)[type=radio]:focus {
62+
}
63+
64+
input:not(.magic-checkbox)[type=checkbox] {
65+
border: 1px solid #ccc !important;
66+
box-shadow: 0 2px 4px rgba(0, 0, 0, .3) !important;
67+
transition: all .3s !important;
68+
}
69+
70+
input:not(.magic-checkbox)[type=checkbox]:focus {
71+
border-color: var(--color-primary) !important;
72+
box-shadow: 0 0 0 1px var(--color-primary) !important;
73+
outline: none !important;
74+
}
75+
76+
.wp-heading-wrap {
77+
display: flex;
78+
flex-wrap: wrap;
79+
80+
#setting-error-settings_updated {
81+
width: 100%;
82+
83+
p {
84+
margin-bottom: 0;
85+
}
86+
87+
button {
88+
background: transparent !important;
89+
border: none !important;
90+
}
91+
}
92+
93+
@media screen and (max-width: 600px) {
94+
justify-content: center;
95+
}
96+
97+
.wp-heading-inline, .wp-heading-inline-cbx {
98+
padding: 0 !important;
99+
margin: 0 !important;
100+
line-height: 1 !important;
101+
margin-right: auto;
102+
103+
@media screen and (max-width: 600px) {
104+
font-size: 25px !important;
105+
text-align: center;
106+
}
107+
}
108+
109+
.pull-left {
110+
order: 1;
111+
margin-right: auto;
112+
113+
@media screen and (max-width: 600px) {
114+
display: flex;
115+
flex-wrap: wrap;
116+
flex: 0 0 100% !important;
117+
width: 100% !important;
118+
justify-content: center;
119+
120+
margin-bottom: 20px;
121+
}
122+
}
123+
124+
.pull-right {
125+
order: 2;
126+
margin-left: auto;
127+
max-height: 30px;
128+
129+
@media screen and (max-width: 600px) {
130+
display: flex;
131+
flex-wrap: wrap;
132+
flex: 0 0 100% !important;
133+
width: 100% !important;
134+
justify-content: center;
135+
}
136+
}
137+
138+
.wp-heading-wrap-left{
139+
display: flex;
140+
align-items: center;
141+
}
142+
143+
.wp-heading-wrap-right{
144+
display: flex;
145+
align-items: center;
146+
}
147+
148+
@media screen and (max-width: 600px) {
149+
justify-content: center;
150+
}
151+
}
152+
153+
.cbxpoll_wplisting_filters_wrap {
154+
width: 100%;
155+
margin-top: 10px;
156+
display: flex;
157+
flex-wrap: wrap;
158+
159+
.pull-right, .search-box {
160+
margin-left: auto !important;
161+
162+
@media screen and (max-width: 782px) {
163+
display: flex;
164+
position: initial !important;
165+
flex: 0 0 100% !important;
166+
width: 100% !important;
167+
justify-content: center;
168+
height: auto !important;
169+
margin-bottom: 0;
170+
}
171+
}
172+
173+
174+
.pull-left {
175+
margin-right: auto !important;
176+
@media screen and (max-width: 782px) {
177+
margin-bottom: 10px;
178+
display: flex;
179+
position: initial !important;
180+
flex: 0 0 100% !important;
181+
width: 100% !important;
182+
justify-content: center;
183+
}
184+
}
185+
186+
187+
}
188+
189+
.cbxpoll-logs-wrapper {
190+
.manage-column {
191+
&.column-id {
192+
width: 70px;
193+
}
194+
}
195+
196+
#the-list {
197+
td.column-id {
198+
199+
}
200+
}
201+
}

assets/scss/cbxpoll-block.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.cbxpoll_block_note {
2+
font-size: 13px;
3+
}
4+
5+
.cbxpoll_block_note:before {
6+
content: "\f348";
7+
display: inline-block;
8+
-webkit-font-smoothing: antialiased;
9+
font: normal 15px/1 'dashicons';
10+
vertical-align: middle;
11+
}
12+
13+
.cbxpoll_block_note_custom_attribute {
14+
15+
}

0 commit comments

Comments
 (0)