Skip to content

Commit

Permalink
Merge pull request #151 from picturepan2/feature/components
Browse files Browse the repository at this point in the history
Feature/components
  • Loading branch information
picturepan2 authored Mar 3, 2017
2 parents 30dd6ac + edd52af commit a6baa2b
Show file tree
Hide file tree
Showing 53 changed files with 1,370 additions and 707 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "spectre.css",
"version": "0.2.4",
"version": "0.2.5",
"description": "Spectre.css: a lightweight, responsive and modern CSS framework.",
"homepage": "http://picturepan2.github.io/spectre",
"repository": "picturepan2/spectre",
Expand Down
102 changes: 93 additions & 9 deletions dist/spectre-exp.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
appearance: none;
background: #f8f8f8;
border: 0;
border-radius: .2rem;
display: block;
height: 1.6rem;
width: 100%;
Expand All @@ -31,23 +32,105 @@
background: #e85600;
}
.meter::-moz-meter-bar,
.meter::-moz-meter-optimum,
.meter::-moz-meter-sub-optimum,
.meter::-moz-meter-sub-sub-optimum {
.meter:-moz-meter-optimum,
.meter:-moz-meter-sub-optimum,
.meter:-moz-meter-sub-sub-optimum {
border-radius: .2rem;
}
.meter::-moz-meter-bar {
background: #f8f8f8;
}
.meter:-moz-meter-optimum {
.meter:-moz-meter-optimum::-moz-meter-bar {
background: #32b643;
}
.meter:-moz-meter-sub-optimum {
.meter:-moz-meter-sub-optimum::-moz-meter-bar {
background: #ffb700;
}
.meter:-moz-meter-sub-sub-optimum {
.meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
background: #e85600;
}
.parallax {
display: block;
height: auto;
position: relative;
width: auto;
}
.parallax .parallax-content {
box-shadow: 0 2.5rem 5rem rgba(0, 0, 0, .45);
height: auto;
-webkit-transform: perspective(600px);
transform: perspective(600px);
-webkit-transform-style: preserve-3d;
transform-style: preserve-3d;
transition: all .4s ease;
width: 100%;
}
.parallax .parallax-content::before {
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
}
.parallax .parallax-top-left {
height: 50%;
left: 0;
position: absolute;
top: 0;
width: 50%;
z-index: 99;
}
.parallax .parallax-top-left:hover ~ .parallax-content {
-webkit-transform: perspective(600px) rotateX(3deg) rotateY(-3deg);
transform: perspective(600px) rotateX(3deg) rotateY(-3deg);
}
.parallax .parallax-top-left:hover ~ .parallax-content::before {
background: linear-gradient(135deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 50%);
}
.parallax .parallax-top-right {
height: 50%;
position: absolute;
right: 0;
top: 0;
width: 50%;
z-index: 99;
}
.parallax .parallax-top-right:hover ~ .parallax-content {
-webkit-transform: perspective(600px) rotateX(3deg) rotateY(3deg);
transform: perspective(600px) rotateX(3deg) rotateY(3deg);
}
.parallax .parallax-top-right:hover ~ .parallax-content::before {
background: linear-gradient(-135deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 50%);
}
.parallax .parallax-bottom-left {
bottom: 0;
height: 50%;
left: 0;
position: absolute;
width: 50%;
z-index: 99;
}
.parallax .parallax-bottom-left:hover ~ .parallax-content {
-webkit-transform: perspective(600px) rotateX(-3deg) rotateY(-3deg);
transform: perspective(600px) rotateX(-3deg) rotateY(-3deg);
}
.parallax .parallax-bottom-left:hover ~ .parallax-content::before {
background: linear-gradient(45deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 50%);
}
.parallax .parallax-bottom-right {
bottom: 0;
height: 50%;
position: absolute;
right: 0;
width: 50%;
z-index: 99;
}
.parallax .parallax-bottom-right:hover ~ .parallax-content {
-webkit-transform: perspective(600px) rotateX(-3deg) rotateY(3deg);
transform: perspective(600px) rotateX(-3deg) rotateY(3deg);
}
.parallax .parallax-bottom-right:hover ~ .parallax-content::before {
background: linear-gradient(-45deg, rgba(255, 255, 255, .25) 0%, rgba(255, 255, 255, 0) 50%);
}
.progress {
-webkit-appearance: none;
-moz-appearance: none;
Expand Down Expand Up @@ -108,6 +191,7 @@
.slider::-webkit-slider-thumb {
-webkit-appearance: none;
background: #5764c6;
border: 0;
border-radius: 50%;
height: 1.2rem;
margin-top: -.4rem;
Expand Down
2 changes: 1 addition & 1 deletion dist/spectre-exp.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a6baa2b

Please sign in to comment.