Skip to content

Commit

Permalink
Merge pull request #512 from Mishkoo93/Mishkoo93-patch-1
Browse files Browse the repository at this point in the history
style: input border radius + sidebar wide
  • Loading branch information
mengxiong10 authored Sep 4, 2020
2 parents 562aca2 + f5bb5a3 commit b0ff9d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/style/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
color: $input-color;
background-color: #fff;
border: 1px solid $input-border-color;
border-radius: 4px;
border-radius: $input-border-radius;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);

&:hover,
Expand Down Expand Up @@ -111,13 +111,13 @@
.#{$namespace}-datepicker-sidebar {
float: left;
box-sizing: border-box;
width: 100px;
width: $sidebar-margin-left;
padding: 6px;
overflow: auto;
}

.#{$namespace}-datepicker-sidebar + .#{$namespace}-datepicker-content {
margin-left: 100px;
margin-left: $sidebar-margin-left;
border-left: 1px solid $border-color;
}

Expand Down
3 changes: 3 additions & 0 deletions src/style/var.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ $time-active-background-color: transparent !default;

$time-hover-color: $default-color !default;
$time-hover-background-color: mix(#fff, $calendar-active-background-color, 95%) !default;

$input-border-radius: 4px !default;
$sidebar-margin-left: 100px !default;

0 comments on commit b0ff9d2

Please sign in to comment.