change border colors and box-shadow

This commit is contained in:
t1m0n 2015-11-28 12:16:54 +03:00
parent 03e2105231
commit 3d1a6c0b27
5 changed files with 26 additions and 16 deletions

View File

@ -1,4 +1,14 @@
# Datepicker plugin
# Air Datepicker
Lightweight modern jQuery datepicker, built with es5 and css-flexbox. Works in all modern browsers.
## Install
```
bower i --save-dev air-datepicker
```
## Demo and docs
[Demo]()

View File

@ -38,7 +38,7 @@
height: 32px;
z-index: 1; }
.datepicker--cell:hover {
background: #eee; }
background: #f0f0f0; }
.datepicker--cell.-current- {
color: #4EB5E6; }
.datepicker--cell.-current-:hover {
@ -124,8 +124,8 @@
.datepicker {
background: #fff;
border: 1px solid #cccccc;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
border: 1px solid #dbdbdb;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
border-radius: 4px;
box-sizing: content-box;
font-family: Tahoma, sans-serif;
@ -178,8 +178,8 @@
.datepicker--pointer {
position: absolute;
background: #fff;
border-top: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-top: 1px solid #dbdbdb;
border-right: 1px solid #dbdbdb;
width: 10px;
height: 10px;
z-index: -1; }
@ -240,7 +240,7 @@
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
border-bottom: 1px solid #f4f4f4;
border-bottom: 1px solid #efefef;
min-height: 32px;
padding: 4px; }
@ -265,7 +265,7 @@
-ms-user-select: none;
user-select: none; }
.datepicker--nav-action:hover {
background: #eee; }
background: #f0f0f0; }
.datepicker--nav-action.-disabled- {
visibility: hidden; }
.datepicker--nav-action svg {
@ -284,7 +284,7 @@
color: #9c9c9c;
margin-left: 5px; }
.datepicker--nav-title:hover {
background: #eee; }
background: #f0f0f0; }
.datepicker--nav-title.-disabled- {
cursor: default;
background: none; }
@ -294,7 +294,7 @@
display: -ms-flexbox;
display: flex;
padding: 4px;
border-top: 1px solid #f4f4f4; }
border-top: 1px solid #efefef; }
.datepicker--button {
color: #4EB5E6;
@ -315,7 +315,7 @@
height: 32px; }
.datepicker--button:hover {
color: #4a4a4a;
background: #eee; }
background: #f0f0f0; }
.datepicker--cell-day.-other-month-, .datepicker--cell-year.-other-decade- {
color: #dedede; }

File diff suppressed because one or more lines are too long

View File

@ -21,13 +21,13 @@ $textColor: (
$bg: (
selected: #5cc4ef,
hover: #eee
hover: #f0f0f0
);
$borderColor: (
nav: #f4f4f4,
nav: #efefef,
inline: #d7d7d7,
default: #cccccc
default: #dbdbdb
);
$navigationHeight: 32px;

View File

@ -13,7 +13,7 @@
.datepicker {
background: #fff;
border: 1px solid map_get($borderColor, default);
box-shadow: 0 2px 8px rgba(0, 0, 0, .2);
box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
border-radius: $datepickerBorderRadius;
box-sizing: content-box;
font-family: $fontFamily, sans-serif;