Skip to content

Commit

Permalink
themed CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
blackfalcon committed Dec 27, 2016
1 parent 66a354b commit 4e7b29c
Showing 1 changed file with 30 additions and 47 deletions.
77 changes: 30 additions & 47 deletions pikaday.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

@charset "UTF-8";

/*!
Expand All @@ -10,11 +9,17 @@
z-index: 9999;
display: block;
position: relative;
color: #333;
background: #fff;
color: #999;
background: #212121;
border: 1px solid #ccc;
border-bottom-color: #bbb;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
padding-bottom: 1rem;
}

.cal-container {
width: 25rem;
margin-top: 1.4rem;
}

/*
Expand All @@ -26,14 +31,8 @@ http://nicolasgallagher.com/micro-clearfix-hack/
content: " ";
display: table;
}

.pika-single:after {
clear: both
}

.pika-single {
*zoom: 1
}
.pika-single:after { clear: both }
.pika-single { *zoom: 1 }

.pika-single.is-hidden {
display: none;
Expand All @@ -46,8 +45,7 @@ http://nicolasgallagher.com/micro-clearfix-hack/

.pika-lendar {
float: left;
width: 240px;
margin: 8px;
margin: 1rem;
}

.pika-title {
Expand All @@ -66,9 +64,8 @@ http://nicolasgallagher.com/micro-clearfix-hack/
font-size: 14px;
line-height: 20px;
font-weight: bold;
background-color: #fff;
color: #fff;
}

.pika-title select {
cursor: pointer;
position: absolute;
Expand All @@ -88,17 +85,11 @@ http://nicolasgallagher.com/micro-clearfix-hack/
outline: none;
border: 0;
padding: 0;
width: 20px;
height: 30px;
/* hide text using text-indent trick, using width value (it's enough) */
text-indent: 20px;
line-height: 30px;
padding: 0 5px;
white-space: nowrap;
overflow: hidden;
background-color: transparent;
background-position: center center;
background-repeat: no-repeat;
background-size: 75% 75%;
opacity: .5;
color: #6B8E23;
*position: absolute;
*top: 0;
}
Expand All @@ -111,21 +102,19 @@ http://nicolasgallagher.com/micro-clearfix-hack/
.pika-prev,
.is-rtl .pika-next {
float: left;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAUklEQVR42u3VMQoAIBADQf8Pgj+OD9hG2CtONJB2ymQkKe0HbwAP0xucDiQWARITIDEBEnMgMQ8S8+AqBIl6kKgHiXqQqAeJepBo/z38J/U0uAHlaBkBl9I4GwAAAABJRU5ErkJggg==');
*left: 0;
}

.pika-next,
.is-rtl .pika-prev {
float: right;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAeCAYAAAAsEj5rAAAAU0lEQVR42u3VOwoAMAgE0dwfAnNjU26bYkBCFGwfiL9VVWoO+BJ4Gf3gtsEKKoFBNTCoCAYVwaAiGNQGMUHMkjGbgjk2mIONuXo0nC8XnCf1JXgArVIZAQh5TKYAAAAASUVORK5CYII=');
*right: 0;
}

.pika-prev.is-disabled,
.pika-next.is-disabled {
cursor: default;
opacity: .2;
opacity: 0;
}

.pika-select {
Expand All @@ -144,6 +133,7 @@ http://nicolasgallagher.com/micro-clearfix-hack/
.pika-table td {
width: 14.285714285714286%;
padding: 0;
padding: 5px;
}

.pika-table th {
Expand All @@ -160,15 +150,15 @@ http://nicolasgallagher.com/micro-clearfix-hack/
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
border: 0;
margin: 0;
width: 100%;
padding: 5px;
color: #666;
font-size: 12px;
line-height: 15px;
text-align: right;
background: #f5f5f5;
padding: .6rem;
color: #999;
font-size: 1rem;
line-height: 1rem;
text-align: center;
background-color: #212121;
border: 1px solid #999;
}

.pika-week {
Expand All @@ -177,16 +167,13 @@ http://nicolasgallagher.com/micro-clearfix-hack/
}

.is-today .pika-button {
color: #33aaff;
font-weight: bold;
color: #6B8E23;
border-color: #6B8E23;
}

.is-selected .pika-button {
color: #fff;
font-weight: bold;
background: #33aaff;
box-shadow: inset 0 1px 3px #178fe5;
border-radius: 3px;
color: #6B8E23;
border-color: #6B8E23;
}

.is-inrange .pika-button {
Expand Down Expand Up @@ -216,16 +203,12 @@ http://nicolasgallagher.com/micro-clearfix-hack/
}

.pika-button:hover {
color: #fff;
background: #ff8000;
box-shadow: none;
border-radius: 3px;
color: #6B8E23;
border-color: #6B8E23;
}

/* styling for abbr */
.pika-table abbr {
border-bottom: none;
cursor: help;
}


0 comments on commit 4e7b29c

Please sign in to comment.