Skip to content

Commit fc4a674

Browse files
author
shin
committed
wip: ui redesign
1 parent eb58af9 commit fc4a674

File tree

26 files changed

+225
-213
lines changed

26 files changed

+225
-213
lines changed

modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/min/ui-button.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/cherry-ui-elements/inc/ui-elements/ui-button/assets/ui-kit/_mixins.scss

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
@mixin button_base() {
22
position: relative;
33
display: inline-block;
4-
font-size: 12px;
4+
font-size: 11px;
55
line-height: 18px;
6-
font-weight: 900;
7-
letter-spacing: 0.5px;
86
text-decoration: none;
9-
padding: 15px 20px;
7+
padding: 4px 22px;
108
color: $dark_color;
119
text-transform: uppercase;
1210
border-radius: $border_radius_small;

modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/min/ui-checkbox.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

modules/cherry-ui-elements/inc/ui-elements/ui-checkbox/assets/ui-checkbox.scss

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -13,34 +13,40 @@ label.cherry-label{
1313
display: none !important;
1414
}
1515
.cherry-checkbox-item{
16-
width: 26px;
17-
height: 26px;
16+
width: 20px;
17+
height: 20px;
1818
display: inline-block;
1919
border-radius: $border_radius_extra_small;
2020
margin-right: 10px;
21-
margin-bottom: 6px;
21+
margin-bottom: 10px;
2222
cursor: pointer;
2323
position: relative;
2424
background-color: $grey_color_3;
2525
user-select: none;
2626
transition: all 0.4s cubic-bezier(0.77, 0, 0.175, 1);
27-
.marker{
28-
position: absolute;
29-
width: 26px;
30-
height: 26px;
31-
top: 0px;
32-
left: 0px;
33-
color: #fff;
34-
font-size: 28px;
27+
28+
.marker{
29+
position: absolute;
30+
width: 20px;
31+
height: 20px;
32+
top: 0px;
33+
left: 0px;
34+
color: #fff;
35+
font-size: 20px;
36+
transition:inherit;
37+
transform: scale(0);
38+
39+
&:before{
3540
transition:inherit;
36-
transform: scale(0);
37-
&:before{
38-
transition:inherit;
39-
position: relative;
40-
left: -2px;
41-
}
41+
position: relative;
42+
left: -1px;
4243
}
44+
}
4345
}
46+
.cherry-lable-content {
47+
display: flex;
48+
}
49+
4450
.cherry-checkbox-input{
4551
&[checked]{
4652
&+.cherry-checkbox-item{
@@ -52,10 +58,8 @@ label.cherry-label{
5258
}
5359
}
5460
.cherry-checkbox-label{
55-
display: inline-block;
56-
vertical-align: top;
57-
font-size: 14px;
58-
line-height: 26px;
61+
font-size: 12px;
62+
line-height: 20px;
5963
color: $dark_color_1;
6064
user-select: none;
6165
&:focus{

modules/cherry-ui-elements/inc/ui-elements/ui-dimensions/ui-dimensions.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,13 +238,13 @@ public function get_id_attr( $name = '' ) {
238238
* @since 1.0.0
239239
*/
240240
public static function enqueue_assets() {
241-
wp_enqueue_style(
241+
/*wp_enqueue_style(
242242
'ui-dimensions',
243243
esc_url( Cherry_Core::base_url( 'inc/ui-elements/ui-dimensions/assets/min/ui-dimensions.min.css', Cherry_UI_Elements::$module_path ) ),
244244
array(),
245245
Cherry_UI_Elements::$core_version,
246246
'all'
247-
);
247+
);*/
248248

249249
wp_enqueue_script(
250250
'ui-dimensions',

modules/cherry-ui-elements/inc/ui-elements/ui-radio/assets/min/ui-radio.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)