Summary Files Commits Branches @commit @diff @stats
path: root / docs / dist / spectre-exp.css
diff options
context:
space:
mode:
Commita8ba146553cdbe25c782aea323a8f7df0ad664f0 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:06:33 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-08-15 16:06:33 +0800
Filese5383338e34ed9fcefa1fdafdb91346cf0e5d82f /docs/dist/spectre-exp.css
Spectre-Dark-Gruvbox-a8ba146553cdbe25c782aea323a8f7df0ad664f0.tar
Spectre-Dark-Gruvbox-a8ba146553cdbe25c782aea323a8f7df0ad664f0.tar.gz
Spectre-Dark-Gruvbox-a8ba146553cdbe25c782aea323a8f7df0ad664f0.zip
Parent38962f94d497a40435862d187f30b04f2b68205d (diff)
IMPORTANT: Change back to rem unit, and default html font size is 20px.
1 files changed, 88 insertions, 88 deletions
-rw-r--r--docs/dist/spectre-exp.css176
diff --git a/docs/dist/spectre-exp.css b/docs/dist/spectre-exp.css
index f1b8b6e..a77cf87 100644
--- a/docs/dist/spectre-exp.css
+++ b/docs/dist/spectre-exp.css
@@ -1,7 +1,7 @@
/*! Spectre.css Experimentals | MIT License | github.com/picturepan2/spectre */
.calendar {
- border: 1px solid #e7e9ed;
- border-radius: 2px;
+ border: .05rem solid #e7e9ed;
+ border-radius: .1rem;
display: block;
min-width: 280px;
text-align: center;
@@ -10,14 +10,14 @@
-webkit-align-items: center;
align-items: center;
background: #f8f9fa;
- border-top-left-radius: 2px;
- border-top-right-radius: 2px;
+ border-top-left-radius: .1rem;
+ border-top-right-radius: .1rem;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
-ms-flex-align: center;
- font-size: 16px;
- padding: 10px;
+ font-size: .8rem;
+ padding: .4rem;
}
.calendar .calendar-header,
.calendar .calendar-body {
@@ -30,7 +30,7 @@
flex-wrap: wrap;
-webkit-justify-content: center;
justify-content: center;
- padding: 10px 0;
+ padding: .4rem 0;
}
.calendar .calendar-header .calendar-date,
.calendar .calendar-body .calendar-date {
@@ -41,44 +41,44 @@
}
.calendar .calendar-header {
background: #f8f9fa;
- border-bottom: 1px solid #e7e9ed;
+ border-bottom: .05rem solid #e7e9ed;
color: #acb3c2;
- font-size: 12px;
+ font-size: .6rem;
}
.calendar .calendar-body {
color: #727e96;
}
.calendar .calendar-date {
border: 0;
- padding: 4px;
+ padding: .2rem;
}
.calendar .calendar-date .date-item {
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background: transparent;
- border: 1px solid transparent;
+ border: .05rem solid transparent;
border-radius: 50%;
color: #727e96;
cursor: pointer;
- height: 28px;
- line-height: 20px;
+ height: 1.4rem;
+ line-height: 1rem;
outline: none;
- padding: 2px;
+ padding: .1rem;
position: relative;
text-align: center;
text-decoration: none;
transition: all .2s ease;
vertical-align: middle;
white-space: nowrap;
- width: 28px;
+ width: 1.4rem;
}
.calendar .calendar-date .date-item.date-today {
border-color: #e4e6f6;
color: #5764c6;
}
.calendar .calendar-date .date-item:focus {
- box-shadow: 0 0 0 2px rgba(87, 100, 198, .2);
+ box-shadow: 0 0 0 .1rem rgba(87, 100, 198, .2);
}
.calendar .calendar-date .date-item:focus,
.calendar .calendar-date .date-item:hover {
@@ -115,7 +115,7 @@
.calendar .calendar-range::before {
background: #eff1fa;
content: "";
- height: 28px;
+ height: 1.4rem;
left: 0;
position: absolute;
right: 0;
@@ -137,15 +137,15 @@
padding: 0;
}
.calendar.calendar-lg .calendar-body .calendar-date {
- border-bottom: 1px solid #e7e9ed;
- border-right: 1px solid #e7e9ed;
+ border-bottom: .05rem solid #e7e9ed;
+ border-right: .05rem solid #e7e9ed;
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
-webkit-flex-direction: column;
-ms-flex-direction: column;
flex-direction: column;
- height: 110px;
+ height: 5.5rem;
padding: 0;
}
.calendar.calendar-lg .calendar-body .calendar-date:nth-child(7n) {
@@ -158,9 +158,9 @@
-webkit-align-self: flex-end;
align-self: flex-end;
-ms-flex-item-align: end;
- height: 28px;
- margin-right: 5px;
- margin-top: 5px;
+ height: 1.4rem;
+ margin-right: .2rem;
+ margin-top: .2rem;
}
.calendar.calendar-lg .calendar-range::before {
top: 19px;
@@ -178,15 +178,15 @@
-ms-flex-positive: 1;
line-height: 1;
overflow-y: auto;
- padding: 5px;
+ padding: .2rem;
}
.calendar.calendar-lg .calendar-event {
background: #eff1fa;
- border-radius: 2px;
+ border-radius: .1rem;
color: #5764c6;
display: block;
- font-size: 12px;
- margin: 2px auto;
+ font-size: .6rem;
+ margin: .1rem auto;
overflow: hidden;
padding: 3px 4px;
text-align: left;
@@ -241,10 +241,10 @@
z-index: 200;
}
.carousel .carousel-container .item-prev {
- left: 20px;
+ left: 1rem;
}
.carousel .carousel-container .item-next {
- right: 20px;
+ right: 1rem;
}
.carousel .carousel-locator:nth-of-type(1):checked ~ .carousel-container .carousel-item:nth-of-type(1),
.carousel .carousel-locator:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2),
@@ -262,7 +262,7 @@
color: #e7e9ed;
}
.carousel .carousel-nav {
- bottom: 10px;
+ bottom: .4rem;
display: -webkit-flex;
display: flex;
display: -ms-flexbox;
@@ -274,7 +274,7 @@
-webkit-transform: translateX(-50%);
-ms-transform: translateX(-50%);
transform: translateX(-50%);
- width: 200px;
+ width: 10rem;
z-index: 200;
}
.carousel .carousel-nav .nav-item {
@@ -283,18 +283,18 @@
-webkit-flex: 1 0 auto;
-ms-flex: 1 0 auto;
flex: 1 0 auto;
- height: 32px;
- margin: 4px;
- max-width: 50px;
+ height: 1.6rem;
+ margin: .2rem;
+ max-width: 2.5rem;
position: relative;
}
.carousel .carousel-nav .nav-item::before {
background: currentColor;
content: "";
display: block;
- height: 2px;
+ height: .1rem;
position: absolute;
- top: 10px;
+ top: .5rem;
width: 100%;
}
@-webkit-keyframes carousel-slidein {
@@ -369,7 +369,7 @@
z-index: 1;
}
.comparison-slider .comparison-before .comparison-label {
- right: 16px;
+ right: .8rem;
}
.comparison-slider .comparison-after {
max-width: 100%;
@@ -383,7 +383,7 @@
height: 100%;
left: 0;
position: absolute;
- right: 16px;
+ right: .8rem;
top: 0;
z-index: 1;
}
@@ -395,7 +395,7 @@
content: "";
height: 3px;
position: absolute;
- right: 8px;
+ right: .4rem;
top: 50%;
-webkit-transform: translate(50%, -50%);
-ms-transform: translate(50%, -50%);
@@ -403,16 +403,16 @@
width: 3px;
}
.comparison-slider .comparison-after .comparison-label {
- left: 16px;
+ left: .8rem;
}
.comparison-slider .comparison-resizer {
-webkit-animation: first-run 1.5s 1 ease-in-out;
animation: first-run 1.5s 1 ease-in-out;
cursor: ew-resize;
- height: 15px;
+ height: .8rem;
left: 0;
max-width: 100%;
- min-width: 16px;
+ min-width: .8rem;
opacity: 0;
outline: none;
position: relative;
@@ -425,9 +425,9 @@
}
.comparison-slider .comparison-label {
background: rgba(69, 77, 93, .5);
- bottom: 16px;
+ bottom: .8rem;
color: #fff;
- padding: 4px 8px;
+ padding: .2rem .4rem;
position: absolute;
-webkit-user-select: none;
-moz-user-select: none;
@@ -439,13 +439,13 @@
width: 0;
}
25% {
- width: 48px;
+ width: 2.4rem;
}
50% {
- width: 16px;
+ width: .8rem;
}
75% {
- width: 24px;
+ width: 1.2rem;
}
100% {
width: 0;
@@ -456,20 +456,20 @@
width: 0;
}
25% {
- width: 48px;
+ width: 2.4rem;
}
50% {
- width: 16px;
+ width: .8rem;
}
75% {
- width: 24px;
+ width: 1.2rem;
}
100% {
width: 0;
}
}
.filter .filter-nav {
- margin: 10px 0;
+ margin: .4rem 0;
}
.filter .filter-body {
display: flex;
@@ -499,9 +499,9 @@
appearance: none;
background: #f8f9fa;
border: 0;
- border-radius: 2px;
+ border-radius: .1rem;
display: block;
- height: 16px;
+ height: .8rem;
width: 100%;
}
.meter::-webkit-meter-inner-element {
@@ -511,7 +511,7 @@
.meter::-webkit-meter-optimum-value,
.meter::-webkit-meter-suboptimum-value,
.meter::-webkit-meter-even-less-good-value {
- border-radius: 2px;
+ border-radius: .1rem;
}
.meter::-webkit-meter-bar {
background: #f8f9fa;
@@ -529,7 +529,7 @@
.meter:-moz-meter-optimum,
.meter:-moz-meter-sub-optimum,
.meter:-moz-meter-sub-sub-optimum {
- border-radius: 2px;
+ border-radius: .1rem;
}
.meter:-moz-meter-optimum::-moz-meter-bar {
background: #32b643;
@@ -547,7 +547,7 @@
width: auto;
}
.parallax .parallax-content {
- box-shadow: 0 20px 42px rgba(69, 77, 93, .3);
+ box-shadow: 0 1rem 2.1rem rgba(69, 77, 93, .3);
height: auto;
-webkit-transform: perspective(1000px);
transform: perspective(1000px);
@@ -670,23 +670,23 @@
appearance: none;
background: #f0f1f4;
border: 0;
- border-radius: 2px;
+ border-radius: .1rem;
color: #5764c6;
- height: 4px;
+ height: .2rem;
position: relative;
width: 100%;
}
.progress::-webkit-progress-bar {
background: transparent;
- border-radius: 2px;
+ border-radius: .1rem;
}
.progress::-webkit-progress-value {
background: #5764c6;
- border-radius: 2px;
+ border-radius: .1rem;
}
.progress::-moz-progress-bar {
background: #5764c6;
- border-radius: 2px;
+ border-radius: .1rem;
}
.progress:indeterminate {
-webkit-animation: progress-indeterminate 1.5s linear infinite;
@@ -718,11 +718,11 @@
appearance: none;
background: transparent;
display: block;
- height: 24px;
+ height: 1.2rem;
width: 100%;
}
.slider:focus {
- box-shadow: 0 0 0 2px rgba(87, 100, 198, .2);
+ box-shadow: 0 0 0 .1rem rgba(87, 100, 198, .2);
outline: none;
}
.slider::-webkit-slider-thumb {
@@ -730,32 +730,32 @@
background: #5764c6;
border: 0;
border-radius: 50%;
- height: 12px;
- margin-top: -5px;
+ height: .6rem;
+ margin-top: -.25rem;
transition: transform .2s ease, -webkit-transform .2s ease;
transition: transform .2s ease;
transition: -webkit-transform .2s ease;
- width: 12px;
+ width: .6rem;
}
.slider::-moz-range-thumb {
background: #5764c6;
border: 0;
border-radius: 50%;
- height: 12px;
+ height: .6rem;
transition: transform .2s ease, -webkit-transform .2s ease;
transition: transform .2s ease;
transition: -webkit-transform .2s ease;
- width: 12px;
+ width: .6rem;
}
.slider::-ms-thumb {
background: #5764c6;
border: 0;
border-radius: 50%;
- height: 12px;
+ height: .6rem;
transition: transform .2s ease, -webkit-transform .2s ease;
transition: transform .2s ease;
transition: -webkit-transform .2s ease;
- width: 12px;
+ width: .6rem;
}
.slider:active::-webkit-slider-thumb {
-webkit-transform: scale(1.25);
@@ -787,20 +787,20 @@
}
.slider::-webkit-slider-runnable-track {
background: #f0f1f4;
- border-radius: 2px;
- height: 2px;
+ border-radius: .1rem;
+ height: .1rem;
width: 100%;
}
.slider::-moz-range-track {
background: #f0f1f4;
- border-radius: 2px;
- height: 2px;
+ border-radius: .1rem;
+ height: .1rem;
width: 100%;
}
.slider::-ms-track {
background: #f0f1f4;
- border-radius: 2px;
- height: 2px;
+ border-radius: .1rem;
+ height: .1rem;
width: 100%;
}
.slider::-ms-fill-lower {
@@ -810,7 +810,7 @@
display: flex;
display: -ms-flexbox;
display: -webkit-flex;
- margin-bottom: 24px;
+ margin-bottom: 1.2rem;
position: relative;
}
.timeline .timeline-item::before {
@@ -819,7 +819,7 @@
height: 100%;
left: 11px;
position: absolute;
- top: 24px;
+ top: 1.2rem;
width: 2px;
}
.timeline .timeline-item .timeline-left {
@@ -831,31 +831,31 @@
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
- padding: 2px 0 2px 15px;
+ padding: 2px 0 2px .8rem;
}
.timeline .timeline-item .timeline-icon {
border-radius: 50%;
color: #fff;
display: block;
- height: 24px;
+ height: 1.2rem;
text-align: center;
- width: 24px;
+ width: 1.2rem;
}
.timeline .timeline-item .timeline-icon::before {
- border: 2px solid #5764c6;
+ border: .1rem solid #5764c6;
border-radius: 50%;
content: "";
display: block;
- height: 8px;
- left: 8px;
+ height: .4rem;
+ left: .4rem;
position: absolute;
- top: 8px;
- width: 8px;
+ top: .4rem;
+ width: .4rem;
}
.timeline .timeline-item .timeline-icon.icon-lg {
background: #5764c6;
- font-size: 16px;
- line-height: 20px;
+ font-size: .8rem;
+ line-height: 1rem;
}
.timeline .timeline-item .timeline-icon.icon-lg::before {
content: none;