1st commit
This commit is contained in:
540
css/_animation.scss
Normal file
540
css/_animation.scss
Normal file
@@ -0,0 +1,540 @@
|
||||
/*-- FadeIn animation --*/
|
||||
|
||||
.kk_fadeIn {
|
||||
animation: kk_fadeIn 1s;
|
||||
-webkit-animation: kk_fadeIn 1s;
|
||||
-moz-animation: kk_fadeIn 1s;
|
||||
-ms-animation: kk_fadeIn 1s;
|
||||
}
|
||||
@keyframes kk_fadeIn {
|
||||
0% {
|
||||
transform: scale3d(0,0,0);
|
||||
}
|
||||
50% {
|
||||
transform: scale3d(1,1,1);
|
||||
}
|
||||
}
|
||||
@-ms-keyframes kk_fadeIn {
|
||||
0% {
|
||||
-ms-transform: scale3d(0,0,0);
|
||||
}
|
||||
50% {
|
||||
-ms-transform: scale3d(1,1,1);
|
||||
}
|
||||
}
|
||||
@-webkit-keyframes kk_fadeIn {
|
||||
0% {
|
||||
-webkit-transform: scale3d(0,0,0);
|
||||
}
|
||||
50% {
|
||||
-webkit-transform: scale3d(1,1,1);
|
||||
}
|
||||
}
|
||||
|
||||
/* -- Heart animation --*/
|
||||
|
||||
.likeThis:hover > i{
|
||||
animation: kk_heart linear 0.2s;
|
||||
animation-iteration-count: 1;
|
||||
-webkit-animation: kk_heart linear 0.2s;
|
||||
-moz-animation: kk_heart linear 0.2s;
|
||||
-webkit-animation-iteration-count: 1;
|
||||
-moz-animation-iteration-count: 1;
|
||||
-ms-animation: kk_heart linear 0.2s;
|
||||
-ms-animation-iteration-count: 1;
|
||||
}
|
||||
|
||||
#grid .likeThis:hover > i, .single-post .likeThis:hover > i {
|
||||
animation: none;
|
||||
-webkit-animation: none;
|
||||
-ms-animation: none;
|
||||
-moz-animation: none;
|
||||
}
|
||||
|
||||
@keyframes kk_heart{
|
||||
0% {
|
||||
transform: scaleX(1) ;
|
||||
}
|
||||
50% {
|
||||
transform: scaleX(1.15) ;
|
||||
}
|
||||
100% {
|
||||
transform: scaleX(1) ;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes kk_heart {
|
||||
0% {
|
||||
-webkit-transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
-webkit-transform: scale(1.15) ;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: scale(1) ;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes kk_heart {
|
||||
0% {
|
||||
-moz-transform: scale(1);
|
||||
}
|
||||
50% {
|
||||
-moz-transform: scale(1.15) ;
|
||||
}
|
||||
100% {
|
||||
-moz-transform: scale(1) ;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes kk_heart {
|
||||
0% {
|
||||
-ms-transform: scale(1) ;
|
||||
}
|
||||
50% {
|
||||
-ms-transform: scale(1.15) ;
|
||||
}
|
||||
100% {
|
||||
-ms-transform: scale(1) ;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/*--- Button ---*/
|
||||
|
||||
.kk-menu-trigger {
|
||||
position: relative;
|
||||
display: block;
|
||||
margin-left: 0;
|
||||
padding: 5px;
|
||||
cursor: pointer;
|
||||
-webkit-transition: opacity 0.4s ease, -webkit-transform 0.4s ease;
|
||||
transition: opacity 0.4s ease, transform 0.4s ease;
|
||||
}
|
||||
|
||||
.kk-menu-trigger span {
|
||||
position: relative;
|
||||
margin-top: 9px;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.kk-menu-trigger span,
|
||||
.kk-menu-trigger span:before,
|
||||
.kk-menu-trigger span:after {
|
||||
display: block;
|
||||
width: 26px;
|
||||
height: 3px;
|
||||
background-color: #444;
|
||||
-webkit-transition-property: background-color, -webkit-transform;
|
||||
transition-property: background-color, transform;
|
||||
-webkit-transition-duration: 0.4s;
|
||||
transition-duration: 0.4s;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span,
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span:before,
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span:after {
|
||||
width: 20px;
|
||||
}
|
||||
|
||||
.kk-menu-open .kk-menu-trigger span:before,
|
||||
.kk-menu-open .kk-menu-trigger span:after {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.kk-menu-trigger span:before, .kk-menu-trigger span:after {
|
||||
position: absolute;
|
||||
content: "";
|
||||
}
|
||||
|
||||
.kk-menu-trigger span:before {
|
||||
top: -8px;
|
||||
}
|
||||
|
||||
.kk-menu-trigger span:after {
|
||||
top: 8px;
|
||||
}
|
||||
|
||||
.kk-menu-open .kk-menu-trigger span {
|
||||
background-color: transparent!important;
|
||||
}
|
||||
|
||||
.kk-menu-open .kk-menu-trigger span:before {
|
||||
-webkit-transform: translate3d(0, 8px, 0) rotate(45deg);
|
||||
-ms-transform: translate(0, 8px) rotate(45deg);
|
||||
transform: translate3d(0, 8px, 0) rotate(45deg);
|
||||
}
|
||||
|
||||
.kk-menu-open .kk-menu-trigger span:after {
|
||||
-webkit-transform: translate3d(0, -8px, 0) rotate(-225deg);
|
||||
-ms-transform: translate(0, -8px) rotate(-225deg);
|
||||
transform: translate3d(0, -8px, 0) rotate(-225deg);
|
||||
}
|
||||
|
||||
|
||||
/*--- Menu effects ---*/
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden.kk-menu-open .content {
|
||||
margin: 0;
|
||||
-webkit-transform: translate3d(300px, 0, 0);
|
||||
-ms-transform: translate(300px, 0);
|
||||
transform: translate3d(300px, 0, 0);
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1690px) {
|
||||
|
||||
.kk-content-fullwidth.kk_menu_default_hidden.kk-menu-open .content {
|
||||
margin: 0;
|
||||
-webkit-transform: translate3d(200px, 0, 0);
|
||||
-webkit-transform: translate(200px, 0);
|
||||
transform: translate3d(200px, 0, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1290px) {
|
||||
|
||||
.kk-content-fullwidth.kk_menu_default_hidden.kk-menu-open .content {
|
||||
margin: 0;
|
||||
-webkit-transform: translate3d(240px, 0, 0);
|
||||
-ms-transform: translate(240px, 0);
|
||||
transform: translate3d(240px, 0, 0);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .menu-wrapper {
|
||||
-webkit-transform: translate3d(-80%, 0, 0);
|
||||
-ms-transform: translate(-80%, 0);
|
||||
transform: translate3d(-80%, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden.kk-menu-open .menu-wrapper {
|
||||
visibility: visible;
|
||||
-webkit-transition: -webkit-transform 0.5s;
|
||||
transition: transform 0.5s;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate(0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden.kk-menu-open .menu-helper {
|
||||
-webkit-transform: translate3d(-100%, 0, 0);
|
||||
-ms-transform: translate(-100%, 0);
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .royalSlider_fullscreen,
|
||||
.kk_menu_slide_right .video-bg,
|
||||
.kk_menu_slide_right #kenburns {
|
||||
-webkit-transition: -webkit-transform 0.6s ease;
|
||||
transition: transform 0.6s ease;
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate(0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .royalSlider_fullscreen,
|
||||
.kk_menu_slide_right.kk-menu-open .video-bg,
|
||||
.kk_menu_slide_right.kk-menu-open #kenburns {
|
||||
-webkit-transform: translate3d(-50%, 0, 0);
|
||||
-ms-transform: translate(-50%, 0);
|
||||
transform: translate3d(-50%, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-menu-open .content {
|
||||
-webkit-transform: translateX(-49.97%);
|
||||
-ms-transform: translate(-49.97%, 0);
|
||||
transform: translateX(-49.97%);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav {
|
||||
-webkit-transition: -webkit-transform 0.7s;
|
||||
transition: transform 0.7s;
|
||||
-webkit-transform: translate3d(20%, -50%, 0);
|
||||
-ms-transform: translate(20%, -50%);
|
||||
transform: translate3d(20%, -50%, 0);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .main-nav {
|
||||
-webkit-transform: translate3d(0, -50%, 0);
|
||||
-ms-transform: translate(0, -50%);
|
||||
transform: translate3d(0, -50%, 0);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav .dl-menu {
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav .dl-menu.dl-menuopen, .kk_menu_fullscreen .main-nav .dl-menu.dl-menuopen {
|
||||
pointer-events: auto;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav li .sub-menu, .kk_menu_fullscreen .main-nav li .sub-menu {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dl-menu.dl-subview li,
|
||||
.dl-menu.dl-subview li.dl-subviewopen > a,
|
||||
.dl-menu.dl-subview li.dl-subview > a {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dl-menu.dl-subview li.dl-subview,
|
||||
.dl-menu.dl-subview li.dl-subview .sub-menu,
|
||||
.dl-menu.dl-subview li.dl-subviewopen,
|
||||
.dl-menu.dl-subview li.dl-subviewopen > .sub-menu {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dl-menu.dl-subview li.dl-subviewopen > .sub-menu > li {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .menu.dl-menu.dl-animate-out-1, .kk_menu_fullscreen.kk-menu-open .menu.dl-menu.dl-animate-out-1 {
|
||||
-webkit-animation: MenuAnimOut1 0.4s;
|
||||
-ms-animation: MenuAnimOut1 0.4s;
|
||||
animation: MenuAnimOut1 0.4s;
|
||||
}
|
||||
|
||||
@-webkit-keyframes MenuAnimOut1 {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translate3d(-20%, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes MenuAnimOut1 {
|
||||
0% {
|
||||
-ms-transform: translate(0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translate(-20%, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes MenuAnimOut1 {
|
||||
0% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(-20%, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .menu.dl-menu.dl-animate-in-1, .kk_menu_fullscreen.kk-menu-open .menu.dl-menu.dl-animate-in-1 {
|
||||
-webkit-animation: MenuAnimIn1 0.4s ease;
|
||||
-ms-animation: MenuAnimIn1 0.4s ease;
|
||||
animation: MenuAnimIn1 0.4s ease;
|
||||
}
|
||||
|
||||
@-webkit-keyframes MenuAnimIn1 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-webkit-transform: translate3d(-20%, 0, 0);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes MenuAnimIn1 {
|
||||
0% {
|
||||
opacity: 0;
|
||||
-ms-transform: translate(-20%, 0);
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translate(0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes MenuAnimIn1 {
|
||||
0% {
|
||||
transform: translate3d(-20%, 0, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .main-nav > .sub-menu.dl-animate-in-1, .kk_menu_fullscreen.kk-menu-open .main-nav > .sub-menu.dl-animate-in-1 {
|
||||
-webkit-animation: SubMenuAnimIn1 0.4s ease;
|
||||
-ms-animation: SubMenuAnimIn1 0.4s ease;
|
||||
animation: SubMenuAnimIn1 0.4s ease;
|
||||
}
|
||||
|
||||
@-webkit-keyframes SubMenuAnimIn1 {
|
||||
0% {
|
||||
-webkit-transform: translate3d(30%, -50%, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, -50%, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes SubMenuAnimIn1 {
|
||||
0% {
|
||||
-ms-transform: translate(30%, -50%);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translate(0, -50%);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes SubMenuAnimIn1 {
|
||||
0% {
|
||||
transform: translate3d(30%, -50%, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(0, -50%, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .main-nav > .sub-menu.dl-animate-out-1, .kk_menu_fullscreen.kk-menu-open .main-nav > .sub-menu.dl-animate-out-1 {
|
||||
-webkit-animation: SubMenuAnimOut1 0.4s cubic-bezier(0.49, 0.06, 0.66, 0.68);
|
||||
-ms-animation: SubMenuAnimOut1 0.4s cubic-bezier(0.49, 0.06, 0.66, 0.68);
|
||||
animation: SubMenuAnimOut1 0.4s cubic-bezier(0.49, 0.06, 0.66, 0.68);
|
||||
}
|
||||
|
||||
@-webkit-keyframes SubMenuAnimOut1 {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, -50%, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translate3d(30%, -50%, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes SubMenuAnimOut1 {
|
||||
0% {
|
||||
-ms-transform: translate(0, -50%);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translate(30%, -50%);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes SubMenuAnimOut1 {
|
||||
0% {
|
||||
transform: translate3d(0, -50%, 0);
|
||||
opacity: 1;
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(30%, -50%, 0);
|
||||
opacity: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .main-nav .menu-item-has-children>a:hover:after, .kk_menu_fullscreen.kk-menu-open .main-nav .menu-item-has-children>a:hover:after {
|
||||
-webkit-animation: arrAnim 0.7s linear infinite;
|
||||
-ms-animation: arrAnim 0.7s linear infinite;
|
||||
animation: arrAnim 0.7s linear infinite;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@-webkit-keyframes arrAnim {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
}
|
||||
50% {
|
||||
-webkit-transform: translate3d(8px, 0, 0);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes arrAnim {
|
||||
0% {
|
||||
-ms-transform: translate(0, 0);
|
||||
}
|
||||
50% {
|
||||
-ms-transform: translate(8px, 0);
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translate(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes arrAnim {
|
||||
0% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
50% {
|
||||
transform: translate3d(8px, 0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .main-nav .sub-menu .dl-back>a:hover:before, .kk_menu_fullscreen.kk-menu-open .main-nav .sub-menu .dl-back>a:hover:before {
|
||||
-webkit-animation: arrAnimb 0.7s linear infinite;
|
||||
-ms-animation: arrAnimb 0.7s linear infinite;
|
||||
animation: arrAnimb 0.7s linear infinite;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@-webkit-keyframes arrAnimb {
|
||||
0% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
}
|
||||
50% {
|
||||
-webkit-transform: translate3d(-8px, 0, 0);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes arrAnimb {
|
||||
0% {
|
||||
-ms-transform: translate(0, 0);
|
||||
}
|
||||
50% {
|
||||
-ms-transform: translate(-8px, 0);
|
||||
}
|
||||
100% {
|
||||
-ms-transform: translate(0, 0);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes arrAnimb {
|
||||
0% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
50% {
|
||||
transform: translate3d(-8px, 0, 0);
|
||||
}
|
||||
100% {
|
||||
transform: translate3d(0, 0, 0);
|
||||
}
|
||||
}
|
||||
0
css/dark-light-style.css
Normal file
0
css/dark-light-style.css
Normal file
269
css/default.css
Normal file
269
css/default.css
Normal file
@@ -0,0 +1,269 @@
|
||||
/* Alignment */
|
||||
|
||||
.alignleft {
|
||||
display: inline;
|
||||
float: left;
|
||||
margin-right: 1.625em;
|
||||
}
|
||||
|
||||
.alignright {
|
||||
display: inline;
|
||||
float: right;
|
||||
margin-left: 1.625em;
|
||||
}
|
||||
|
||||
.aligncenter {
|
||||
clear: both;
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
sup, sub {
|
||||
font-size: 10px;
|
||||
height: 0;
|
||||
line-height: 1;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
bottom: 1ex;
|
||||
}
|
||||
|
||||
sub {
|
||||
top: .5ex;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
font-weight: 600;
|
||||
text-transform: uppercase;
|
||||
margin: 0 25px 20px 25px;
|
||||
border-left: 2px solid #888;
|
||||
background-color: #f7f7f7;
|
||||
padding: 15px 20px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
blockquote cite, blockquote em, blockquote i {
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
blockquote p {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
pre {
|
||||
background: #f4f4f4;
|
||||
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
line-height: 1.5;
|
||||
margin-bottom: 1.625em;
|
||||
overflow: auto;
|
||||
padding: 0.75em 1.625em;
|
||||
margin: 0 40px;
|
||||
}
|
||||
|
||||
code, kbd {
|
||||
font: 13px Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
|
||||
}
|
||||
|
||||
.gallery-wrapper ul, .portfolio-wrapper ul, .filter ul, .gallery-magic ul {
|
||||
margin: 0;
|
||||
list-style:none;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0 0 1.625em 2.5em;
|
||||
}
|
||||
|
||||
.sidebar ul, .sidebar ol {
|
||||
list-style: none!important;
|
||||
margin: 0!important;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
.sendError {
|
||||
list-style: none!important;
|
||||
margin:0 0 20px 0!important;
|
||||
}
|
||||
|
||||
.page-content ol, .post-entry ol , .container ol, .portfolio-entry ol {
|
||||
list-style-type: decimal;
|
||||
}
|
||||
|
||||
.page-content ol ol, .post-entry ol ol {
|
||||
list-style: upper-alpha;
|
||||
}
|
||||
|
||||
.page-content ol ol ol, .post-entry ol ol ol {
|
||||
list-style: lower-roman;
|
||||
}
|
||||
|
||||
.page-content ol ol ol ol, .post-entry ol ol ol ol {
|
||||
list-style: lower-alpha;
|
||||
}
|
||||
|
||||
.page-content ul ul, .post-entry ul ul, .post-entry ol ol, .page-content ol ol, .page-content ul ol, .post-entry ul ol, .page-content ol ul, .post-entry ol ul {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.sticky {
|
||||
|
||||
}
|
||||
|
||||
.gallery-caption {
|
||||
|
||||
}
|
||||
|
||||
.bypostauthor {
|
||||
|
||||
}
|
||||
|
||||
.wp-caption p.wp-caption-text {
|
||||
color: #888;
|
||||
font-size: 13px;
|
||||
margin: 5px;
|
||||
padding:0;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Calendar Widget */
|
||||
|
||||
.widget_calendar {
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.widget_calendar #wp-calendar {
|
||||
color: #555;
|
||||
width: 95%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.widget_calendar #wp-calendar caption,
|
||||
.widget_calendar #wp-calendar td,
|
||||
.widget_calendar #wp-calendar th {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.widget_calendar #wp-calendar caption {
|
||||
font-size: 12px;
|
||||
font-weight: 700;
|
||||
padding: 5px 0 8px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.widget_calendar #wp-calendar th {
|
||||
background: #f4f4f4;
|
||||
border-top: 1px solid #ccc;
|
||||
border-bottom: 1px solid #ccc;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.widget_calendar #wp-calendar th {
|
||||
background: none repeat scroll 0 0 #F4F4F4;
|
||||
border-bottom: 1px solid #CCCCCC;
|
||||
border-top: 1px solid #CCCCCC;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
/* Visual Composer styles */
|
||||
|
||||
.kk_vc .wpb_content_element.wpb_tabs .wpb_tour_tabs_wrapper .wpb_tab {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_content_element .wpb_tour_tabs_wrapper .wpb_tabs_nav a,
|
||||
.kk_vc .wpb_content_element .wpb_accordion_header a,
|
||||
.kk_vc .vc_toggle_title > h4,
|
||||
.kk_vc .vc_tta.vc_general .vc_tta-panel-title {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_content_element .wpb_tour_tabs_wrapper .wpb_tabs_nav a:hover,
|
||||
.kk_vc .wpb_content_element .wpb_accordion_header a:hover {
|
||||
color: #444;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_tabs_nav li.ui-tabs-active,
|
||||
.kk_vc .wpb_tabs_nav li:hover {
|
||||
background-color: transparent;
|
||||
border-top: 2px solid #dba425;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_content_element .wpb_tabs_nav li,
|
||||
.kk_vc .vc_tta-panel .vc_tta-panel-heading a {
|
||||
border-top: 2px solid transparent;
|
||||
-ms-transition: all 0.1s linear;
|
||||
-webkit-transition: all 0.1s linear;
|
||||
transition: all 0.1s linear;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_content_element .wpb_tour_tabs_wrapper .wpb_tab,
|
||||
.kk_vc .wpb_content_element .wpb_accordion_wrapper .wpb_accordion_content {
|
||||
padding: 1em 0;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_tour .wpb_tour_tabs_wrapper .wpb_tab {
|
||||
padding: 0 0 0 21.73913043px;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header a,
|
||||
.kk_vc .vc_tta.vc_general .vc_tta-panel.vc_active a {
|
||||
border-left: 2px solid transparent;
|
||||
}
|
||||
|
||||
.kk_vc .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header.ui-state-active a,
|
||||
.kk_vc .vc_tta.vc_general .vc_tta-panel.vc_active a {
|
||||
border-color: #dba425;
|
||||
}
|
||||
|
||||
.kk_vc .vc_progress_bar .vc_single_bar .vc_label {
|
||||
font-weight: 600;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.kk_vc .vc_pie_chart_back {
|
||||
opacity: 0.1;
|
||||
border: 26px solid #f7f7f7;
|
||||
}
|
||||
|
||||
.kk_vc .vc_tta-panel .vc_tta-panel-heading {
|
||||
|
||||
}
|
||||
|
||||
.kk_vc .wpb_pie_chart_heading {
|
||||
margin: 25px 0 0 0;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.kk_vc .vc_label_units {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.kk_vc small.vc_label {
|
||||
top: -25px;
|
||||
padding: 0!important;
|
||||
}
|
||||
|
||||
.kk_vc .vc_progress_bar .vc_single_bar {
|
||||
height: 15px;
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.kk_vc .vc_progress_bar {
|
||||
top: 25px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.kk_vc span.vc_pie_chart_value {
|
||||
}
|
||||
|
||||
.kk_vc .vc_separator h4 {
|
||||
font-weight: 600;
|
||||
font-size: 20px;
|
||||
}
|
||||
BIN
css/font/fontello.eot
Normal file
BIN
css/font/fontello.eot
Normal file
Binary file not shown.
98
css/font/fontello.svg
Normal file
98
css/font/fontello.svg
Normal file
@@ -0,0 +1,98 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Copyright (C) 2016 by original authors @ fontello.com</metadata>
|
||||
<defs>
|
||||
<font id="fontello" horiz-adv-x="1000" >
|
||||
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="gplus" unicode="" d="M410 406q0-20 18-40t43-37 51-41 43-59 18-79q0-50-27-96-40-68-118-101t-166-32q-74 0-138 24t-95 76q-21 34-21 73 0 46 25 84t66 64q73 46 225 56-18 24-26 41t-9 41q0 20 12 48-26-3-38-3-83 0-139 54t-57 137q0 45 20 88t55 73q43 37 102 55t122 18h233l-77-49h-73q41-35 62-74t21-90q0-40-13-72t-33-52-39-36-33-34-14-37z m-81 53q21 0 43 10t37 24q30 32 30 89 0 32-10 69t-27 73-47 57-65 23q-24 0-46-11t-37-29q-26-33-26-89 0-26 5-55t18-57 29-52 42-37 54-15z m1-487q32 0 62 7t55 22 41 41 15 61q0 14-4 27t-8 24-15 23-16 19-22 20-20 16-23 16-21 15q-8 1-26 1-30 0-59-4t-60-14-54-25-38-42-15-59q0-39 19-69t51-46 67-25 71-8z m452 489h119v-60h-119v-122h-59v122h-118v60h118v121h59v-121z" horiz-adv-x="928.6" />
|
||||
|
||||
<glyph glyph-name="down" unicode="" d="M427 125q4-10-3-19l-195-215q-6-5-13-5-8 0-13 5l-198 215q-8 9-3 19 5 11 16 11h125v696q0 8 5 13t13 5h107q8 0 13-5t5-13v-696h125q11 0 16-11z" horiz-adv-x="428.6" />
|
||||
|
||||
<glyph glyph-name="youtube" unicode="" d="M542 156v-118q0-37-22-37-13 0-25 12v168q12 12 25 12 22 0 22-37z m188-1v-25h-50v25q0 38 25 38t25-38z m-539 122h60v52h-174v-52h59v-318h55v318z m161-318h50v276h-50v-211q-17-23-32-23-10 0-11 11-1 2-1 20v203h-50v-218q0-28 5-41 7-21 32-21 27 0 57 34v-30z m240 83v110q0 41-5 55-10 31-40 31-28 0-52-30v121h-50v-370h50v27q25-31 52-31 30 0 40 31 5 15 5 56z m188 6v7h-51q0-29-1-34-4-20-22-20-26 0-26 38v49h100v57q0 44-15 65-22 28-59 28-38 0-60-28-15-21-15-65v-96q0-44 16-65 22-29 60-29 40 0 60 30 10 15 12 30 1 5 1 33z m-339 509v117q0 39-24 39t-24-39v-117q0-39 24-39t24 39z m401-419q0-131-14-195-8-33-33-56t-57-25q-102-12-309-12t-310 12q-32 3-57 25t-32 56q-15 62-15 195 0 131 15 195 7 33 32 56t57 26q103 11 310 11t309-11q33-4 57-26t33-56q14-62 14-195z m-557 712h57l-67-223v-151h-56v151q-8 42-34 119-21 57-37 104h60l39-147z m207-186v-97q0-46-16-66-21-29-59-29-38 0-59 29-15 21-15 66v97q0 45 15 65 21 29 59 29 38 0 59-29 16-20 16-65z m187 91v-279h-51v31q-30-35-58-35-25 0-33 21-4 13-4 42v220h51v-205q0-19 0-20 2-12 12-12 15 0 32 24v213h51z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="instagramm" unicode="" d="M760 54v362h-75q11-35 11-73 0-71-36-130t-97-94-134-35q-110 0-188 76t-78 183q0 38 11 73h-79v-362q0-14 10-24t25-10h596q14 0 24 10t10 24z m-158 298q0 69-51 118t-122 49q-71 0-121-49t-51-118 51-118 121-49q72 0 122 49t51 118z m158 201v92q0 15-11 27t-27 11h-98q-16 0-27-11t-11-27v-92q0-17 11-28t27-11h98q16 0 27 11t11 28z m97 116v-638q0-45-32-77t-78-33h-637q-45 0-78 33t-32 77v638q0 45 32 77t78 33h637q45 0 78-33t32-77z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="linkedin" unicode="" d="M195 501v-553h-184v553h184z m12 171q0-41-29-68t-75-27h-1q-46 0-74 27t-28 68q0 41 29 68t75 27 74-27 29-68z m650-407v-317h-183v296q0 59-23 92t-71 33q-35 0-58-19t-36-48q-6-17-6-45v-309h-184q1 223 1 361t0 165l-1 27h184v-80h-1q11 18 23 31t31 29 49 24 64 9q95 0 153-63t58-186z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="twitter" unicode="" d="M904 622q-37-54-90-93 0-8 0-23 0-73-21-145t-64-139-103-117-144-82-181-30q-151 0-276 81 19-2 43-2 126 0 224 77-59 1-105 36t-64 89q19-3 34-3 24 0 48 6-63 13-104 62t-41 115v2q38-21 82-23-37 25-59 64t-22 86q0 49 25 91 68-83 164-133t208-55q-5 21-5 41 0 75 53 127t127 53q79 0 132-57 61 12 114 44-20-64-79-100 52 6 104 28z" horiz-adv-x="928.6" />
|
||||
|
||||
<glyph glyph-name="tumblr" unicode="" d="M527 108l44-132q-12-19-61-37t-99-18q-58-1-107 15t-79 41-53 59-31 67-9 66v304h-94v120q40 14 72 39t51 50 32 57 19 55 8 49q1 3 3 5t4 2h136v-237h186v-140h-186v-289q0-17 3-32t13-29 28-23 45-8q44 1 75 16z" horiz-adv-x="571.4" />
|
||||
|
||||
<glyph glyph-name="pinterest" unicode="" d="M320 190q-26-130-58-211t-96-129q-6 74-7 120t11 110 22 104 26 99 24 99q-24 52-19 116t48 106 99 20q40-16 44-59t-13-95-32-103-4-90 63-49q68-14 121 38t74 131 11 163-54 128q-62 64-151 70t-163-33-120-117-32-170q4-22 22-52t21-47-17-67q-146 34-140 230 4 138 105 234t233 112q164 18 290-57t144-219q26-176-66-317t-252-129q-22 2-42 9t-30 13-31 21-31 21z" horiz-adv-x="778" />
|
||||
|
||||
<glyph glyph-name="vimeo" unicode="" d="M896 558q-32-186-171-351t-245-237q-42-28-81-17t-66 38-43 61q-16 32-78 239t-74 223q-16 12-38 5t-44-21l-20-14-36 50q18 20 46 52t100 89 124 67q30 6 53-7t36-35 23-60 15-70 12-75 13-67q14-54 21-80t17-54 18-39 18-11q40 0 126 166 42 76 6 124t-112 2q22 126 140 188 104 54 182 8 80-46 58-174z" horiz-adv-x="901" />
|
||||
|
||||
<glyph glyph-name="facebook" unicode="" d="M500 644l-142 0q-14 0-25-15t-11-37l0-102 178 0 0-148-178 0 0-442-170 0 0 442-152 0 0 148 152 0 0 86q0 94 59 159t147 65l142 0 0-156z" horiz-adv-x="500" />
|
||||
|
||||
<glyph glyph-name="skype" unicode="" d="M894 250q26-58 26-118 0-108-75-185t-179-77q-62 0-120 32-52-8-80-8-182 0-311 132t-129 320q0 44 10 90-36 60-36 134 0 108 74 184t180 76q74 0 136-40 32 8 76 8 182 0 310-132t128-320q0-46-10-96z m-204-120q30 46 30 100 0 44-16 80-16 30-50 54-36 22-76 36-68 20-96 26-14 2-35 7t-27 7q-24 8-34 14-16 8-26 22-10 10-10 26 0 24 28 42 26 20 76 20t74-18q26-22 38-50 16-26 26-36 16-12 38-12 26 0 46 20 18 18 18 44 0 20-14 52-16 24-42 48-28 22-74 38-48 14-102 14-72 0-128-22-56-20-86-60t-30-92 28-90q34-40 76-56 48-22 116-36 12-2 29-7t30-8 21-5q28-10 46-28 18-14 18-42 0-34-32-56-36-24-90-24-40 0-64 12-26 14-36 28-24 44-26 46-8 24-24 40-20 14-40 14-28 0-46-18t-18-42q0-38 28-82 26-40 72-66 64-34 158-34 78 0 138 24 60 28 88 70z" horiz-adv-x="920" />
|
||||
|
||||
<glyph glyph-name="flickr" unicode="" d="M196 150q-80 0-138 59t-58 141q0 84 57 142t139 58 139-58 57-142q0-82-58-141t-138-59z m508 0q-80 0-138 59t-58 141q0 84 57 142t139 58 139-58 57-142q0-82-58-141t-138-59z" horiz-adv-x="900" />
|
||||
|
||||
<glyph glyph-name="right" unicode="" d="M964 352q0-8-5-14l-215-197q-9-8-19-4-11 5-11 17v125h-696q-8 0-13 5t-5 12v108q0 7 5 12t13 5h696v125q0 12 11 17t19-3l215-195q5-6 5-13z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="left" unicode="" d="M1000 404v-108q0-7-5-12t-13-5h-696v-125q0-12-11-17t-19 3l-215 196q-5 5-5 12 0 8 5 14l215 197q9 8 19 4 11-5 11-17v-125h696q8 0 13-5t5-12z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="dribbble" unicode="" d="M438 480q-30 54-66 109t-56 84-24 33q-82-40-139-112t-77-162q182 0 362 48z m50-132q8 4 14 4-10 28-32 68-182-56-402-56l0-14q0-150 100-262 4 8 13 21t39 50 64 69 89 66 115 54z m-270-306q-2 0-4 2l-4 4z m148 690z m354-86q-114 98-260 98-48 0-92-12 82-108 146-228 138 52 204 140z m-260-756q-190 0-325 135t-135 325 135 325 325 135 325-135 135-325-135-325-325-135z m68 396q-216-74-308-242l-2-2q110-84 242-84 78 0 154 32-24 140-84 298z m16 158q12-24 26-56 2-2 5-9t5-11q66 8 129 4t101-10 42-8q0 138-88 246l-8-10q-8-10-26-27t-42-36-62-42-82-41z m60-138q52-148 76-280 140 92 168 262-8 4-39 11t-88 12-117-5z" horiz-adv-x="920" />
|
||||
|
||||
<glyph glyph-name="paypal" unicode="" d="M771 610l8-4q38-22 60-62 20-38 20-96 0-130-110-210-106-80-306-80l-30 0q-16 0-32-12t-20-28l-36-156q-12-42-52-42l-106 0q-18 0-28 13t-6 29l6 24 68 0q16 0 32 13t20 29l36 156q10 40 52 40l30 0q196 0 306 80 110 82 110 210 0 56-22 96z m-580-516q-2-16-18-29t-32-13l-108 0q-18 0-27 13t-5 29l150 646q10 40 52 40l224 0q78 0 126-8 56-12 94-34 36-24 58-62 20-38 20-96 0-130-110-210-106-80-304-80l-32 0q-16 0-32-12t-18-28z m88 374q-4-16 6-28t26-12l28 0q86 0 134 36 48 34 48 98 0 44-30 64-32 20-94 20l-34 0q-42 0-52-40z" horiz-adv-x="859" />
|
||||
|
||||
<glyph glyph-name="picasa" unicode="" d="M250 760q10-12 158-144l-396-362q-12 48-12 96 0 130 67 240t183 170z m400 10l0-278-328 296q64 22 138 22 98 0 190-40z m70-40q94-64 147-165t53-215q0-80-26-152l-174 0 0 532z m-686-550q12 12 66 60l102 92 0-362q-116 80-168 210z m238-250l0 198 590 0q-56-100-151-163t-209-75l-84 0q-84 10-146 40z" horiz-adv-x="920" />
|
||||
|
||||
<glyph glyph-name="soundcloud" unicode="" d="M34 178q0-4-10-4-6 0-10 4l-14 70 14 72q4 4 10 4 10 0 10-4l16-72z m102-38q0-8-12-8t-12 8l-12 108 12 166q0 8 12 8t12-8l14-166z m102 2q0-10-14-10t-14 8l-10 108 10 222q0 10 14 10t14-10l12-222z m102 0q0-10-16-10t-16 10l-8 106 8 224q0 10 16 10t16-10l10-224z m102 2q0-12-18-12-16 0-18 12l-6 104 6 256q4 14 18 14 18 0 18-14l8-256z m72-12q-14 0-14 14l0 396q0 10 12 14 36 14 84 14 88 0 153-58t73-142q24 10 50 10 52 0 90-37t38-87q0-52-38-89t-90-37z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="up" unicode="" d="M427 575q-5-11-16-11h-125v-696q0-8-5-13t-13-5h-107q-8 0-13 5t-5 13v696h-125q-12 0-16 11t3 19l195 215q5 5 13 5 7 0 13-5l198-215q7-9 3-19z" horiz-adv-x="428.6" />
|
||||
|
||||
<glyph glyph-name="cancel" unicode="" d="M452 194q18-18 18-43t-18-43q-18-16-43-16t-43 16l-132 152-132-152q-18-16-43-16t-43 16q-16 18-16 43t16 43l138 156-138 158q-16 18-16 43t16 43q18 16 43 16t43-16l132-152 132 152q18 16 43 16t43-16q18-18 18-43t-18-43l-138-158z" horiz-adv-x="470" />
|
||||
|
||||
<glyph glyph-name="right-open" unicode="" d="M98 626l226-236q16-16 16-40 0-22-16-38l-226-236q-16-16-40-16t-40 16q-36 36 0 80l186 194-186 196q-36 44 0 80 16 16 41 16t39-16z" horiz-adv-x="340" />
|
||||
|
||||
<glyph glyph-name="left-open" unicode="" d="M242 626q14 16 39 16t41-16q38-36 0-80l-186-196 186-194q38-44 0-80-16-16-40-16t-40 16l-226 236q-16 16-16 38 0 24 16 40 206 214 226 236z" horiz-adv-x="341" />
|
||||
|
||||
<glyph glyph-name="up-open" unicode="" d="M564 280q16-16 16-41t-16-41q-38-38-78 0l-196 188-196-188q-40-38-78 0-16 16-16 41t16 41l234 224q16 16 40 16t40-16z" horiz-adv-x="580" />
|
||||
|
||||
<glyph glyph-name="down-open-mini" unicode="" d="M405 470q22 26 48 0 26-22 0-48l-196-192q-22-22-48 0l-196 192q-26 26 0 48 24 24 50 0l170-156z" horiz-adv-x="466" />
|
||||
|
||||
<glyph glyph-name="down-open" unicode="" d="M564 422l-234-224q-18-18-40-18t-40 18l-234 224q-16 16-16 41t16 41q38 38 78 0l196-188 196 188q40 38 78 0 16-16 16-41t-16-41z" horiz-adv-x="580" />
|
||||
|
||||
<glyph glyph-name="left-open-mini" unicode="" d="M252 180q26-26 0-48-26-26-48 0l-192 194q-24 24 0 50l192 194q22 26 48 0 26-22 0-48l-156-172z" horiz-adv-x="265" />
|
||||
|
||||
<glyph glyph-name="right-open-mini" unicode="" d="M13 180l158 170-158 172q-26 26 0 48 26 26 48 0l192-194q24-26 0-50l-192-194q-22-26-48 0-26 22 0 48z" horiz-adv-x="265" />
|
||||
|
||||
<glyph glyph-name="up-open-mini" unicode="" d="M62 230q-26-22-50 0-24 24 0 50l196 190q26 26 48 0l196-190q24-26 0-50-24-22-50 0l-170 158z" horiz-adv-x="464" />
|
||||
|
||||
<glyph glyph-name="down-open-big" unicode="" d="M63 570l370-356 372 356q22 26 48 0 26-22 0-48l-396-392q-22-22-48 0l-396 392q-26 26 0 48 24 24 50 0z" horiz-adv-x="866" />
|
||||
|
||||
<glyph glyph-name="left-open-big" unicode="" d="M452-20q26-26 0-48-26-26-48 0l-392 394q-24 24 0 50l392 394q22 26 48 0 26-22 0-48l-358-372z" horiz-adv-x="465" />
|
||||
|
||||
<glyph glyph-name="right-open-big" unicode="" d="M13-20l358 370-358 372q-26 26 0 48 26 26 48 0l392-394q24-26 0-50l-392-394q-22-26-48 0-26 22 0 48z" horiz-adv-x="465" />
|
||||
|
||||
<glyph glyph-name="up-open-big" unicode="" d="M804 130l-372 358-370-358q-26-22-50 0-24 24 0 50l396 390q26 26 48 0l396-390q24-26 0-50-26-22-48 0z" horiz-adv-x="864" />
|
||||
|
||||
<glyph glyph-name="pencil" unicode="" d="M203-7l50 51-131 131-51-51v-60h72v-71h60z m291 518q0 12-12 12-5 0-9-4l-303-302q-4-4-4-10 0-12 13-12 5 0 9 4l303 302q3 4 3 10z m-30 107l232-232-464-465h-232v233z m381-54q0-29-20-50l-93-93-232 233 93 92q20 21 50 21 29 0 51-21l131-131q20-22 20-51z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="comment-empty" unicode="" d="M500 636q-114 0-213-39t-157-105-59-142q0-62 40-119t113-98l48-28-15-54q-13-50-39-96 85 36 154 96l24 21 31-3q39-5 73-5 114 0 213 39t157 105 59 142-59 142-157 105-213 39z m500-286q0-97-67-179t-182-130-251-48q-39 0-81 4-110-97-257-135-27-8-63-12h-3q-8 0-15 6t-9 15v1q-2 2 0 6t1 6 2 5l4 5t4 5 4 5q4 5 17 19t20 22 17 22 18 28 15 33 15 42q-88 50-138 123t-51 157q0 97 67 179t182 130 251 48 251-48 182-130 67-179z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="folder-open-empty" unicode="" d="M994 330q0 20-30 20h-607q-22 0-48-12t-39-29l-164-203q-11-13-11-22 0-20 30-20h607q22 0 48 13t40 29l164 203q10 12 10 21z m-637 91h429v90q0 22-16 38t-38 15h-321q-23 0-38 16t-16 38v36q0 22-15 38t-38 15h-179q-22 0-38-15t-16-38v-476l143 175q25 30 65 49t78 19z m708-91q0-34-25-66l-165-203q-24-30-65-49t-78-19h-607q-51 0-88 37t-37 88v536q0 51 37 88t88 37h179q51 0 88-37t37-88v-18h303q51 0 88-37t37-88v-90h107q30 0 56-13t37-40q8-17 8-38z" horiz-adv-x="1071.4" />
|
||||
|
||||
<glyph glyph-name="heart-empty" unicode="" d="M929 517q0 46-12 80t-31 55-46 33-52 18-55 4-62-14-62-36-48-40-34-34q-10-13-27-13t-27 13q-14 15-34 34t-48 40-62 36-62 14-55-4-52-18-46-33-31-55-12-80q0-93 105-198l324-312 324 312q105 105 105 198z m71 0q0-123-128-251l-347-335q-10-10-25-10t-25 10l-348 336q-5 5-15 15t-31 36-38 55-30 67-13 77q0 123 71 192t196 70q34 0 70-12t67-33 54-38 42-38q20 20 42 38t54 38 67 33 70 12q125 0 196-70t71-192z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="clock" unicode="" d="M500 546v-250q0-7-5-12t-13-5h-178q-8 0-13 5t-5 12v36q0 8 5 13t13 5h125v196q0 8 5 13t12 5h36q8 0 13-5t5-13z m232-196q0 83-41 152t-110 111-152 41-153-41-110-111-41-152 41-152 110-111 153-41 152 41 110 111 41 152z m125 0q0-117-57-215t-156-156-215-58-216 58-155 156-58 215 58 215 155 156 216 58 215-58 156-156 57-215z" horiz-adv-x="857.1" />
|
||||
|
||||
<glyph glyph-name="heart" unicode="" d="M500-79q-14 0-25 10l-348 336q-5 5-15 15t-31 36-38 55-30 67-13 77q0 123 71 192t196 70q34 0 70-12t67-33 54-38 42-38q20 20 42 38t54 38 67 33 70 12q125 0 196-70t71-192q0-123-128-251l-347-335q-10-10-25-10z" horiz-adv-x="1000" />
|
||||
|
||||
<glyph glyph-name="angle-down" unicode="" d="M600 439q0-7-6-13l-260-260q-5-5-13-5t-12 5l-260 260q-6 6-6 13t6 13l27 28q6 6 13 6t13-6l219-219 220 219q5 6 13 6t12-6l28-28q6-5 6-13z" horiz-adv-x="642.9" />
|
||||
|
||||
<glyph glyph-name="search" unicode="" d="M772 78q30-34 6-62l-46-46q-36-32-68 0l-190 190q-74-42-156-42-128 0-223 95t-95 223 90 219 218 91 224-95 96-223q0-88-46-162z m-678 358q0-88 68-156t156-68 151 63 63 153q0 88-68 155t-156 67-151-63-63-151z" horiz-adv-x="789" />
|
||||
|
||||
<glyph glyph-name="reply" unicode="" d="M900 10q-86 152-208 197t-330 45l0-218-362 334 362 322 0-192q90 0 168-27t131-70 96-95 69-104 44-95 24-69z" horiz-adv-x="900" />
|
||||
|
||||
<glyph glyph-name="info" unicode="" d="M352 850q48 0 74-27t26-69q0-50-39-88t-95-38q-48 0-74 26t-24 72q0 46 35 85t97 39z m-206-1000q-100 0-54 178l60 254q14 56 0 56-12 0-54-18t-72-38l-26 44q90 78 189 126t151 48q78 0 36-162l-70-266q-16-64 6-64 44 0 118 60l30-40q-84-86-175-132t-139-46z" horiz-adv-x="460" />
|
||||
|
||||
<glyph glyph-name="th-large-outline-1" unicode="" d="M365 872q43 0 73-31t31-74l0-260q0-44-31-74t-73-30l-261 0q-44 0-74 30t-30 74l0 260q0 43 31 74t73 31l261 0z m0-365l0 260-261 0 0-260 261 0z m573 365q42 0 73-31t30-74l0-260q0-44-30-74t-73-30l-260 0q-44 0-75 30t-30 74l0 260q0 43 31 74t74 31l260 0z m0-365l0 260-260 0 0-260 260 0z m-573-209q43 0 73-30t31-74l0-260q0-44-31-74t-73-31l-261 0q-43 0-73 31t-31 74l0 260q0 44 30 74t74 30l261 0z m0-364l0 260-261 0 0-260 261 0z m573 364q42 0 73-30t30-74l0-260q0-44-30-74t-73-31l-260 0q-43 0-74 31t-31 74l0 260q0 43 30 73t75 31l260 0z m0-364l0 260-260 0 0-260 260 0z" horiz-adv-x="1041" />
|
||||
|
||||
<glyph glyph-name="fivehundredpx" unicode="" d="M0 236l119 0q5-40 30-64t64-24q48 0 77 33t28 81q0 48-28 79t-75 31q-38 0-65-24t-51-25q-53 0-80 2 9 52 29 161t28 164l330 0 0-98-243 0q-14-71-24-134l3 0q17 21 51 32t65 11q113 0 160-103 24 60 72 94t111 34q49 0 91-19t66-42 63-66q3-3 5-5t4-4l4-5q35 40 50 56t46 40 62 35 70 9q90 0 145-60t55-152q0-93-55-156t-147-63q-116 0-226 131-7-7-39-38t-42-40-37-25-52-23-58-6q-63 0-111 33t-74 92q-62-128-203-128-95 0-156 48t-62 138z m515 30q0-42 26-68t67-26q75 0 155 95-34 35-48 49t-47 33-64 19q-39 0-64-31t-25-71z m389 0q27-29 46-45t49-33 61-16q43 0 68 28t24 70q0 42-25 70t-68 28q-25 0-49-11t-36-22-38-36-32-33z" horiz-adv-x="1262" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 16 KiB |
BIN
css/font/fontello.ttf
Normal file
BIN
css/font/fontello.ttf
Normal file
Binary file not shown.
BIN
css/font/fontello.woff
Normal file
BIN
css/font/fontello.woff
Normal file
Binary file not shown.
BIN
css/font/fontello.woff2
Normal file
BIN
css/font/fontello.woff2
Normal file
Binary file not shown.
101
css/fontello.css
vendored
Normal file
101
css/fontello.css
vendored
Normal file
@@ -0,0 +1,101 @@
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../css/font/fontello.eot?64692809');
|
||||
src: url('../css/font/fontello.eot?64692809#iefix') format('embedded-opentype'),
|
||||
url('../css/font/fontello.woff2?64692809') format('woff2'),
|
||||
url('../css/font/fontello.woff?64692809') format('woff'),
|
||||
url('../css/font/fontello.ttf?64692809') format('truetype'),
|
||||
url('../css/font/fontello.svg?64692809#fontello') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
|
||||
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
|
||||
/*
|
||||
@media screen and (-webkit-min-device-pixel-ratio:0) {
|
||||
@font-face {
|
||||
font-family: 'fontello';
|
||||
src: url('../css/font/fontello.svg?1533309#fontello') format('svg');
|
||||
}
|
||||
}
|
||||
*/
|
||||
|
||||
[class^="kk-icon-"]:before, [class*=" kk-icon-"]:before {
|
||||
font-family: "fontello";
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
speak: none;
|
||||
|
||||
display: inline-block;
|
||||
text-decoration: inherit;
|
||||
width: 1em;
|
||||
margin-right: .2em;
|
||||
text-align: center;
|
||||
/* opacity: .8; */
|
||||
|
||||
/* For safety - reset parent styles, that can break glyph codes*/
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
|
||||
/* fix buttons height, for twitter bootstrap */
|
||||
line-height: 1em;
|
||||
|
||||
/* Animation center compensation - margins should be symmetric */
|
||||
/* remove if not needed */
|
||||
margin-left: .2em;
|
||||
|
||||
/* you can be more comfortable with increased icons size */
|
||||
/* font-size: 120%; */
|
||||
|
||||
/* Font smoothing. That was taken from TWBS */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
|
||||
/* Uncomment for 3D effect */
|
||||
/* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
|
||||
}
|
||||
|
||||
.kk-icon-social_google:before { content: '\e800'; } /* '' */
|
||||
.kk-icon-down:before { content: '\e801'; } /* '' */
|
||||
.kk-icon-social_youtube:before { content: '\e802'; } /* '' */
|
||||
.kk-icon-social_instagram:before { content: '\e803'; } /* '' */
|
||||
.kk-icon-social_linkedin:before { content: '\e804'; } /* '' */
|
||||
.kk-icon-social_ftwitter:before { content: '\e805'; } /* '' */
|
||||
.kk-icon-social_tumblr:before { content: '\e806'; } /* '' */
|
||||
.kk-icon-social_pinterest:before { content: '\e807'; } /* '' */
|
||||
.kk-icon-social_vimeo:before { content: '\e808'; } /* '' */
|
||||
.kk-icon-social_facebook:before { content: '\e809'; } /* '' */
|
||||
.kk-icon-social_skype:before { content: '\e80a'; } /* '' */
|
||||
.kk-icon-social_flickr:before { content: '\e80b'; } /* '' */
|
||||
.kk-icon-right:before { content: '\e80c'; } /* '' */
|
||||
.kk-icon-left:before { content: '\e80d'; } /* '' */
|
||||
.kk-icon-dribbble:before { content: '\e80e'; } /* '' */
|
||||
.kk-icon-paypal:before { content: '\e80f'; } /* '' */
|
||||
.kk-icon-picasa:before { content: '\e810'; } /* '' */
|
||||
.kk-icon-social_soundcloud:before { content: '\e811'; } /* '' */
|
||||
.kk-icon-up:before { content: '\e812'; } /* '' */
|
||||
.kk-icon-cancel:before { content: '\e813'; } /* '' */
|
||||
.kk-icon-right-open:before { content: '\e814'; } /* '' */
|
||||
.kk-icon-left-open:before { content: '\e815'; } /* '' */
|
||||
.kk-icon-up-open:before { content: '\e816'; } /* '' */
|
||||
.kk-icon-down-open-mini:before { content: '\e817'; } /* '' */
|
||||
.kk-icon-down-open:before { content: '\e818'; } /* '' */
|
||||
.kk-icon-left-open-mini:before { content: '\e819'; } /* '' */
|
||||
.kk-icon-right-open-mini:before { content: '\e81a'; } /* '' */
|
||||
.kk-icon-up-open-mini:before { content: '\e81b'; } /* '' */
|
||||
.kk-icon-down-open-big:before { content: '\e81c'; } /* '' */
|
||||
.kk-icon-left-open-big:before { content: '\e81d'; } /* '' */
|
||||
.kk-icon-right-open-big:before { content: '\e81e'; } /* '' */
|
||||
.kk-icon-up-open-big:before { content: '\e81f'; } /* '' */
|
||||
.kk-icon-pencil:before { content: '\e820'; } /* '' */
|
||||
.kk-icon-comment-empty:before { content: '\e821'; } /* '' */
|
||||
.kk-icon-folder-open-empty:before { content: '\e822'; } /* '' */
|
||||
.kk-icon-heart-empty:before { content: '\e823'; } /* '' */
|
||||
.kk-icon-clock:before { content: '\e824'; } /* '' */
|
||||
.kk-icon-heart:before { content: '\e825'; } /* '' */
|
||||
.kk-icon-angle-down:before { content: '\e826'; } /* '' */
|
||||
.kk-icon-search:before { content: '\e827'; } /* '' */
|
||||
.kk-icon-reply:before { content: '\e828'; } /* '' */
|
||||
.kk-icon-info:before { content: '\e829'; } /* '' */
|
||||
.kk-icon-th-large-outline:before { content: '\e82a'; } /* '' */
|
||||
.kk-icon-social_fivehundredpx:before { content: '\e82b'; } /* '' */
|
||||
1
css/layout.css
Normal file
1
css/layout.css
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
508
css/lightbox.css
Normal file
508
css/lightbox.css
Normal file
@@ -0,0 +1,508 @@
|
||||
/* Magnific Popup CSS */
|
||||
.mfp-bg {
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1042;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
background: #111111;
|
||||
opacity: 0.9;
|
||||
filter: alpha(opacity=80); }
|
||||
|
||||
.mfp-kk-open {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.mfp-kk-close {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.mfp-wrap {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1043;
|
||||
position: fixed;
|
||||
outline: none !important;
|
||||
-webkit-backface-visibility: hidden; }
|
||||
|
||||
.mfp-container {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 0 8px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.mfp-container:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle; }
|
||||
|
||||
.mfp-align-top .mfp-container:before {
|
||||
display: none; }
|
||||
|
||||
.mfp-content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
z-index: 1045; }
|
||||
|
||||
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
|
||||
width: 100%;
|
||||
cursor: auto; }
|
||||
|
||||
.mfp-ajax-cur {
|
||||
cursor: progress; }
|
||||
|
||||
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
||||
cursor: -moz-zoom-out;
|
||||
cursor: -webkit-zoom-out;
|
||||
cursor: zoom-out; }
|
||||
|
||||
.mfp-zoom {
|
||||
cursor: pointer;
|
||||
cursor: -webkit-zoom-in;
|
||||
cursor: -moz-zoom-in;
|
||||
cursor: zoom-in; }
|
||||
|
||||
.mfp-auto-cursor .mfp-content {
|
||||
cursor: auto; }
|
||||
|
||||
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.mfp-loading.mfp-figure {
|
||||
display: none; }
|
||||
|
||||
.mfp-hide {
|
||||
display: none !important; }
|
||||
|
||||
.mfp-preloader {
|
||||
color: #cccccc;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
margin-top: -0.8em;
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
z-index: 1044; }
|
||||
.mfp-preloader a {
|
||||
color: #cccccc; }
|
||||
.mfp-preloader a:hover {
|
||||
color: white; }
|
||||
|
||||
.mfp-s-ready .mfp-preloader {
|
||||
display: none; }
|
||||
|
||||
.mfp-s-error .mfp-content {
|
||||
display: none; }
|
||||
|
||||
button.mfp-close, button.mfp-arrow {
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
z-index: 1046;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none; }
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0; }
|
||||
|
||||
.mfp-close {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
opacity: 0.65;
|
||||
filter: alpha(opacity=65);
|
||||
padding: 0 0 18px 10px;
|
||||
color: white;
|
||||
font-style: normal;
|
||||
font-size: 28px;
|
||||
font-family: Arial, Baskerville, monospace; }
|
||||
.mfp-close:hover, .mfp-close:focus {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100); }
|
||||
.mfp-close:active {
|
||||
top: 1px; }
|
||||
|
||||
.mfp-close-btn-in .mfp-close {
|
||||
color: #333333; }
|
||||
|
||||
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
|
||||
color: white;
|
||||
right: -6px;
|
||||
text-align: right;
|
||||
padding-right: 6px;
|
||||
width: 100%; }
|
||||
|
||||
.mfp-counter {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #f3f3f3;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
line-height: 18px; }
|
||||
|
||||
.mfp-arrow {
|
||||
position: absolute;
|
||||
opacity: 0.65;
|
||||
filter: alpha(opacity=65);
|
||||
margin: 0;
|
||||
top: 50%;
|
||||
margin-top: -55px;
|
||||
padding: 0;
|
||||
width: 90px;
|
||||
height: 110px;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
|
||||
.mfp-arrow:active {
|
||||
margin-top: -54px; }
|
||||
.mfp-arrow:hover, .mfp-arrow:focus {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100); }
|
||||
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-top: 35px;
|
||||
margin-left: 35px;
|
||||
border: medium inset transparent; }
|
||||
.mfp-arrow:after, .mfp-arrow .mfp-a {
|
||||
border-top-width: 13px;
|
||||
border-bottom-width: 13px;
|
||||
top: 8px; }
|
||||
.mfp-arrow:before, .mfp-arrow .mfp-b {
|
||||
border-top-width: 21px;
|
||||
border-bottom-width: 21px;
|
||||
opacity: 0.7; }
|
||||
|
||||
.mfp-arrow-left {
|
||||
left: 0; }
|
||||
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
|
||||
border-right: 17px solid white;
|
||||
margin-left: 31px; }
|
||||
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
|
||||
margin-left: 25px;
|
||||
border-right: 27px solid #3f3f3f; }
|
||||
|
||||
.mfp-arrow-right {
|
||||
right: 0; }
|
||||
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
|
||||
border-left: 17px solid white;
|
||||
margin-left: 39px; }
|
||||
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
|
||||
border-left: 27px solid #3f3f3f; }
|
||||
|
||||
.mfp-iframe-holder {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px; }
|
||||
.mfp-iframe-holder .mfp-content {
|
||||
line-height: 0;
|
||||
width: 100%;
|
||||
max-width: 900px; }
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
top: -40px; }
|
||||
|
||||
.mfp-iframe-scaler {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
padding-top: 56.25%; }
|
||||
.mfp-iframe-scaler iframe {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
||||
background: black; }
|
||||
|
||||
/* Main image in popup */
|
||||
img.mfp-img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 40px 0 40px;
|
||||
margin: 0 auto; }
|
||||
|
||||
/* The shadow behind the image */
|
||||
.mfp-figure {
|
||||
line-height: 0; }
|
||||
.mfp-figure:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 40px;
|
||||
bottom: 40px;
|
||||
display: block;
|
||||
right: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
z-index: -1;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
||||
background: #444444; }
|
||||
.mfp-figure small {
|
||||
color: #bdbdbd;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 14px; }
|
||||
.mfp-figure figure {
|
||||
margin: 0; }
|
||||
|
||||
.mfp-bottom-bar {
|
||||
margin-top: -36px;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
cursor: auto; }
|
||||
|
||||
.mfp-title {
|
||||
text-align: left;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
line-height: 1.2em;
|
||||
color: #fff;
|
||||
word-wrap: break-word;
|
||||
padding-right: 36px; }
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 90%; }
|
||||
|
||||
.mfp-gallery .mfp-image-holder .mfp-figure {
|
||||
cursor: pointer; }
|
||||
|
||||
/* overlay at start */
|
||||
.mfp-fade.mfp-bg {
|
||||
opacity: 0;
|
||||
-webkit-transition: width 0.4s ease-out, opacity 0.4s ease-out;
|
||||
-moz-transition: width 0.4s ease-out, opacity 0.4s ease-out;
|
||||
-o-transition: width 0.4s ease-out, opacity 0.4s ease-out;
|
||||
transition: width 0.4s ease-out, opacity 0.4s ease-out;
|
||||
width: 0;
|
||||
}
|
||||
/* overlay animate in */
|
||||
.mfp-fade.mfp-bg.mfp-ready {
|
||||
opacity: 0.9;
|
||||
width: 100%;
|
||||
}
|
||||
/* overlay animate out */
|
||||
.mfp-fade.mfp-bg.mfp-removing {
|
||||
opacity: 0;
|
||||
width: 0;
|
||||
}
|
||||
|
||||
/* content at start */
|
||||
.mfp-fade.mfp-wrap .mfp-content {
|
||||
opacity: 0;
|
||||
transform: translate3d(-50px, 0, 0);
|
||||
-ms-transform:: translate3d(-50px, 0, 0);
|
||||
-webkit-transform: translate3d(-50px, 0, 0);
|
||||
-webkit-transition: transform 0.15s ease-out, opacity 0.15s ease-out;
|
||||
-moz-transition: all 0.15s ease-out, opacity 0.15s ease-out;;
|
||||
-o-transition: all 0.15s ease-out, opacity 0.15s ease-out;;
|
||||
transition: all 0.15s ease-out, opacity 0.15s ease-out;;
|
||||
}
|
||||
/* content animate in */
|
||||
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
|
||||
opacity: 1;
|
||||
transform: translate3d(0, 0, 0);
|
||||
-ms-transform:: translate3d(0, 0, 0);
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
}
|
||||
/* content animate out */
|
||||
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
|
||||
opacity: 0;
|
||||
transform: translate3d(60px, 0, 0);
|
||||
-ms-transform:: translate3d(60px, 0, 0);
|
||||
-webkit-transform: translate3d(60px, 0, 0);
|
||||
}
|
||||
|
||||
.mfp-figure, .mpf-iframe {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.mfp-open .mfp-figure, .mfp-open .mfp-iframe,
|
||||
.mfp-open-bd .mfp-figure, .mfp-open-bd .mfp-iframe {
|
||||
-webkit-animation-duration: 0.4s;
|
||||
-moz-animation-duration: 0.4s;
|
||||
-ms-animation-duration: 0.4s;
|
||||
-o-animation-duration: 0.4s;
|
||||
animation-duration: 0.4s;
|
||||
-webkit-animation-fill-mode: both;
|
||||
-moz-animation-fill-mode: both;
|
||||
-ms-animation-fill-mode: both;
|
||||
-o-animation-fill-mode: both;
|
||||
animation-fill-mode: both;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
|
||||
}
|
||||
.mfp-open .mfp-figure, .mfp-open .mfp-iframe {
|
||||
-webkit-animation-name: imgfadeIn;
|
||||
-moz-animation-name: imgfadeIn;
|
||||
-o-animation-name: imgfadeIn;
|
||||
animation-name: imgfadeIn;
|
||||
|
||||
}
|
||||
.mfp-open-bd .mfp-figure, .mfp-open-bd .mfp-iframe {
|
||||
-webkit-animation-name: imgfadeInB;
|
||||
-moz-animation-name: imgfadeInB;
|
||||
-o-animation-name: imgfadeInB;
|
||||
animation-name: imgfadeInB;
|
||||
}
|
||||
.mfp-iframe-scaler .mfp-counter {
|
||||
position: absolute;
|
||||
top: auto;
|
||||
}
|
||||
.mfp-iframe-scaler .mfp-title {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
|
||||
@-webkit-keyframes imgfadeIn {
|
||||
0% {opacity: 0; transform: translate3d(50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@-moz-keyframes imgfadeIn {
|
||||
0% {opacity: 0; transform: translate3d(50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@-o-keyframes imgfadeIn {
|
||||
0% {opacity: 0; transform: translate3d(50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@keyframes imgfadeIn {
|
||||
0% {opacity: 0; transform: translate3d(50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@-webkit-keyframes imgfadeInB {
|
||||
0% {opacity: 0; transform: translate3d(-50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@-moz-keyframes imgfadeInB {
|
||||
0% {opacity: 0; transform: translate3d(-50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@-o-keyframes imgfadeInB {
|
||||
0% {opacity: 0; transform: translate3d(-50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
@keyframes imgfadeInB {
|
||||
0% {opacity: 0; transform: translate3d(-50px,0,0);}
|
||||
100% {opacity: 1; transform: translate3d(0,0,0);}
|
||||
}
|
||||
|
||||
|
||||
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
|
||||
/**
|
||||
* Remove all paddings around the image on small screen
|
||||
*/
|
||||
.mfp-img-mobile .mfp-image-holder {
|
||||
padding-left: 0;
|
||||
padding-right: 0; }
|
||||
.mfp-img-mobile img.mfp-img {
|
||||
padding: 0; }
|
||||
.mfp-img-mobile .mfp-figure:after {
|
||||
top: 0;
|
||||
bottom: 0; }
|
||||
.mfp-img-mobile .mfp-figure small {
|
||||
display: inline;
|
||||
margin-left: 5px; }
|
||||
.mfp-img-mobile .mfp-bottom-bar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
top: auto;
|
||||
padding: 3px 5px;
|
||||
position: fixed;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box; }
|
||||
.mfp-img-mobile .mfp-bottom-bar:empty {
|
||||
padding: 0; }
|
||||
.mfp-img-mobile .mfp-counter {
|
||||
right: 5px;
|
||||
top: 3px; }
|
||||
.mfp-img-mobile .mfp-close {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
padding: 0; } }
|
||||
|
||||
@media all and (max-width: 900px) {
|
||||
.mfp-arrow {
|
||||
-webkit-transform: scale(0.75);
|
||||
transform: scale(0.75); }
|
||||
.mfp-arrow-left {
|
||||
-webkit-transform-origin: 0;
|
||||
transform-origin: 0; }
|
||||
.mfp-arrow-right {
|
||||
-webkit-transform-origin: 100%;
|
||||
transform-origin: 100%; }
|
||||
.mfp-container {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px; } }
|
||||
|
||||
.mfp-ie7 .mfp-img {
|
||||
padding: 0; }
|
||||
.mfp-ie7 .mfp-bottom-bar {
|
||||
width: 600px;
|
||||
left: 50%;
|
||||
margin-left: -300px;
|
||||
margin-top: 5px;
|
||||
padding-bottom: 5px; }
|
||||
.mfp-ie7 .mfp-container {
|
||||
padding: 0; }
|
||||
.mfp-ie7 .mfp-content {
|
||||
padding-top: 44px; }
|
||||
.mfp-ie7 .mfp-close {
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding-top: 0; }
|
||||
203
css/main.css.php
Normal file
203
css/main.css.php
Normal file
@@ -0,0 +1,203 @@
|
||||
<?php
|
||||
global $wp_query;
|
||||
|
||||
// Background image
|
||||
|
||||
$postid = kk_postid();
|
||||
|
||||
$bg_type_selector = get_post_meta($postid, '_custom_bg_type_value', true);
|
||||
$bg_image = get_post_meta($postid, '_bg_image_value', true);
|
||||
|
||||
if (function_exists('rwmb_meta')) {
|
||||
$bg_title = rwmb_meta( 'kk_title_bg', 'type=image_advanced', $postid );
|
||||
} else {
|
||||
$bg_title = false;
|
||||
}
|
||||
|
||||
if( $bg_title !== false ) {
|
||||
$title_image = array_shift($bg_title);
|
||||
}
|
||||
|
||||
if( empty($bg_image ) ) {
|
||||
$bg_image = get_option( 'toppic_theme_default_background_image');
|
||||
$bg_repeat = get_option( 'toppic_theme_default_background_repeat');
|
||||
$bg_pos = get_option( 'toppic_theme_default_background_position');
|
||||
$bg_size = get_option( 'toppic_theme_default_background_size');
|
||||
} else {
|
||||
$bg_repeat = get_post_meta($postid, '_custom_bg_repeat_value', true);
|
||||
$bg_pos = get_post_meta($postid, '_custom_bg_position_value', true);
|
||||
$bg_size = get_post_meta($postid, '_custom_bg_size_value', true);
|
||||
}
|
||||
|
||||
?>
|
||||
<style type='text/css' id='kk-custom-style'>
|
||||
<?php
|
||||
if( $bg_image ) { ?>
|
||||
body {
|
||||
background-attachment: fixed;
|
||||
background-clip: border-box;
|
||||
background-image: url("<?php echo esc_url($bg_image) ?>");
|
||||
background-origin: padding-box;
|
||||
background-position: <?php echo esc_html($bg_pos) ?>;
|
||||
background-repeat: <?php echo esc_html($bg_repeat) ?>;
|
||||
<?php if($bg_size == 'full' || $bg_size == 'Full') { ?>
|
||||
background-size: cover;
|
||||
<?php } ?>
|
||||
}
|
||||
<?php }
|
||||
|
||||
if (isset($title_image)) { ?>
|
||||
|
||||
.kk-parallax-wrapper .kk-parallax-bg {
|
||||
background-image: url('<?php echo esc_url ( $title_image['full_url'] ) ?>');
|
||||
}
|
||||
|
||||
<?php } ?>
|
||||
|
||||
.main-nav .sub-menu li a:hover,
|
||||
.kk_menu_default .main-nav .current-menu-parent .current-menu-item > a,
|
||||
.kk_menu_default .main-nav .menu-item-has-children .current-menu-parent > a,
|
||||
.kk_menu_default_hidden .main-nav .current-menu-parent .current-menu-item > a,
|
||||
.kk_menu_default_hidden .main-nav .menu-item-has-children .current-menu-parent > a,
|
||||
.kk_menu_left_boxed .main-nav .current-menu-parent .current-menu-item > a,
|
||||
.kk_menu_left_boxed .main-nav .menu-item-has-children .current-menu-parent > a,
|
||||
ul#thumb-list li:hover,
|
||||
ul#thumb-list li.current-thumb,
|
||||
.pagination .current,
|
||||
input[type="reset"]:hover,
|
||||
.blog-entry .moretag:hover,
|
||||
.bg-slider-ctrl span:hover,
|
||||
.woocommerce .container table.shop_table th,
|
||||
.woocommerce-page .container table.shop_table th {
|
||||
background-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
color: <?php echo get_option( 'toppic_theme_color_scheme_links' )?>;
|
||||
}
|
||||
|
||||
.woocommerce #content input.button:hover,
|
||||
.woocommerce #respond input#submit:hover,
|
||||
.woocommerce a.button:hover,
|
||||
.woocommerce button .button:hover,
|
||||
.woocommerce input.button:hover,
|
||||
.woocommerce-page #content input.button:hover,
|
||||
.woocommerce-page #respond input#submit:hover,
|
||||
.woocommerce-page a.button:hover,
|
||||
.woocommerce-page button.button:hover,
|
||||
.woocommerce-page input.button:hover,
|
||||
.woocommerce ul.products li.product a.added_to_cart:hover,
|
||||
.woocommerce-page ul.products li.product a.added_to_cart:hover,
|
||||
.woocommerce #respond input#submit.alt:hover,
|
||||
.woocommerce a.button.alt:hover,
|
||||
.woocommerce button.button.alt:hover,
|
||||
.woocommerce input.button.alt:hover,
|
||||
.pagination .current,
|
||||
.pagination a:hover,
|
||||
.blog-entry .more-link:hover,
|
||||
.single .post-tags a:hover,
|
||||
.moretag:hover,
|
||||
.main-nav ul li a:hover,
|
||||
.main-nav .current-menu-parent > a,
|
||||
blockquote,
|
||||
.linkto:hover .gallery-title,
|
||||
.linkto:hover .portfolio-title,
|
||||
input.submit:hover,
|
||||
input[type="submit"]:hover,
|
||||
.kk_vc .wpb_accordion .wpb_accordion_wrapper .wpb_accordion_header.ui-state-active a,
|
||||
.kk_vc .vc_tta.vc_general .vc_tta-panel.vc_active a,
|
||||
.more-link:hover {
|
||||
border-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
}
|
||||
|
||||
.blog-title a:hover,
|
||||
.blog-meta a:hover,
|
||||
.format-standard
|
||||
.blog-thumb a:hover,
|
||||
.format-image
|
||||
.blog-thumb a:hover,
|
||||
.flickr_badge_image a:hover,
|
||||
.portfolio-thumb a:hover,
|
||||
.widget-img a:hover,
|
||||
.sub-footer a:hover, a:hover,
|
||||
.current-menu-item,
|
||||
.blog-entry a,
|
||||
.post-entry a,
|
||||
.home-teaser a,
|
||||
.social li a:hover,
|
||||
.kk-content-fullwidth .kk-parallax-wrapper .blog-meta a:hover {
|
||||
color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
}
|
||||
|
||||
.single .post-tags a:hover,
|
||||
.tipsy-inner,
|
||||
.kk-loader,
|
||||
#filter-trigger,
|
||||
#filter ul {
|
||||
background-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
}
|
||||
|
||||
.kk-preloader:before,
|
||||
.kk-content-fullwidth.kk-parallax-title.kk-parallax-title-fullheight .kk-parallax-wrapper .is-loading.kk-down:after {
|
||||
border-top-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
border-left-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
}
|
||||
|
||||
.over-more,
|
||||
.over-more-title {
|
||||
background: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
color: <?php echo get_option( 'toppic_theme_color_scheme_links' )?>;
|
||||
}
|
||||
|
||||
::selection {
|
||||
background-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
color: <?php echo get_option( 'toppic_theme_color_scheme_links' )?>;
|
||||
}
|
||||
::-moz-selection {
|
||||
background-color: <?php echo get_option( 'toppic_theme_color_scheme' )?>;
|
||||
color: <?php echo get_option( 'toppic_theme_color_scheme_links' )?>;
|
||||
}
|
||||
|
||||
.menu-wrapper,
|
||||
.main-nav .sub-menu,
|
||||
.kk_menu_classic .menu-wrapper,
|
||||
.kk_menu_classic .main-nav .sub-menu,
|
||||
.dark-skin.kk_menu_classic .menu-wrapper,
|
||||
.dark-skin.kk_menu_classic .main-nav .sub-menu,
|
||||
.kk_menu_default_hidden .menu-helper,
|
||||
.kk_menu_left_boxed .menu-wrapper,
|
||||
.kk_menu_left_boxed .main-nav .sub-menu,
|
||||
.kk_menu_left_boxed.kk-grid-active .menu-wrapper,
|
||||
.kk_menu_left_boxed.kk-grid-active .main-nav .sub-menu {
|
||||
background-color: <?php echo kk_menuColor() ?>;
|
||||
}
|
||||
|
||||
.main-nav li a,
|
||||
.kk_menu_default_hidden .kk-search i,
|
||||
.kk_menu_default_hidden.kk-fs-g .kk-info-trigger,
|
||||
.kk_menu_default_hidden.kk-template-fullscreen .kk-thumbs-trigger,
|
||||
.kk_menu_classic .menu-wrapper,
|
||||
.dark-skin.kk_menu_classic .menu-wrapper {
|
||||
color: <?php echo get_option( 'toppic_theme_menu_links_color' )?>;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .kk-mobile-trigger span,
|
||||
.kk_menu_left_boxed .kk-mobile-trigger span:before,
|
||||
.kk_menu_left_boxed .kk-mobile-trigger span:after,
|
||||
.kk_menu_default .kk-mobile-trigger span,
|
||||
.kk_menu_default .kk-mobile-trigger span:before,
|
||||
.kk_menu_default .kk-mobile-trigger span:after,
|
||||
.kk_menu_default_hidden .kk-mobile-trigger span,
|
||||
.kk_menu_default_hidden .kk-mobile-trigger span:before,
|
||||
.kk_menu_default_hidden .kk-mobile-trigger span:after,
|
||||
.kk_menu_default_hidden .kk-menu-trigger span,
|
||||
.kk_menu_default_hidden .kk-menu-trigger span:before,
|
||||
.kk_menu_default_hidden .kk-menu-trigger span:after,
|
||||
.kk-menu-open .kk-menu-trigger span:before,
|
||||
.kk-menu-open .kk-menu-trigger span:after,
|
||||
.kk_menu_fullscreen.kk-menu-open .kk-menu-trigger span:before,
|
||||
.kk_menu_fullscreen.kk-menu-open .kk-menu-trigger span:after {
|
||||
background-color: <?php echo get_option( 'toppic_theme_menu_links_color' )?>;
|
||||
}
|
||||
|
||||
/* custom css */
|
||||
<?php echo stripslashes(get_option("toppic_theme_custom_css"))?>
|
||||
|
||||
</style>
|
||||
175
css/meta-style.css
Normal file
175
css/meta-style.css
Normal file
@@ -0,0 +1,175 @@
|
||||
/*
|
||||
|
||||
Styles for meta boxes
|
||||
Benue theme by Kotofey
|
||||
|
||||
*/
|
||||
.rwmb-label {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.rwmb-input {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
.rwmb-label label {
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
/* .rwmb-field.projimg_wrapper,
|
||||
#kktfwp-homepage-settings,
|
||||
.kktfwp-filter-wrapper,
|
||||
.kktfwp-columns-wrapper,
|
||||
.kktfwp-gaps-wrapper,
|
||||
.kktfwp-video-wrapper,
|
||||
.kktfwp-visibility-wrapper,
|
||||
|
||||
.kktfwp-ppp,
|
||||
.kktfwp-offset,
|
||||
.kktfwp-load-more,
|
||||
.kktfwp-portfolio-style-wrapper {
|
||||
display: none;
|
||||
} */
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav {
|
||||
width: 160px;
|
||||
background-color: #f7f7f7;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav li {
|
||||
border-left: 4px solid transparent;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav li[class*="active"] {
|
||||
border-left-color: #0073aa;
|
||||
border-top-color: transparent;
|
||||
font-weight: 500;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav li[data-panel="portfolio"] {
|
||||
display: none;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav a {
|
||||
padding: 24px 12px;
|
||||
color: #444;
|
||||
transition: background-color .2s linear;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav a:hover {
|
||||
background-color: #fff;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-tabs-left .rwmb-tab-nav i {
|
||||
vertical-align: bottom;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-group-wrapper .rwmb-input:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range {
|
||||
margin: 8px 0;
|
||||
padding: 3px 5px;
|
||||
border-radius: 3px;
|
||||
border: 1px solid transparent;
|
||||
-webkit-appearance: none;
|
||||
width: 100%;
|
||||
max-width: 240px;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range:focus {
|
||||
outline: none;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-webkit-slider-runnable-track {
|
||||
cursor: pointer;
|
||||
height: 8px;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-webkit-slider-thumb {
|
||||
cursor: pointer;
|
||||
border: 1px solid transparent;
|
||||
width: 26px;
|
||||
height: 22px;
|
||||
margin-top: -10px;
|
||||
border-radius: 3px;
|
||||
background: #f7f7f7;
|
||||
-webkit-appearance: none;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range:focus::-webkit-slider-runnable-track {
|
||||
background: transparent;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-moz-range-track {
|
||||
cursor: pointer;
|
||||
height: 8px;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 1px solid #D9D9D9;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-moz-range-thumb {
|
||||
cursor: pointer;
|
||||
width: 26px;
|
||||
height: 22px;
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: 3px;
|
||||
background: #f7f7f7;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-ms-track {
|
||||
cursor: pointer;
|
||||
height: 8px;
|
||||
background: transparent;
|
||||
border-color: transparent;
|
||||
border-width: 28px 0;
|
||||
color: transparent;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-ms-fill-lower {
|
||||
background: transparent;
|
||||
border: 1px solid #D9D9D9;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-ms-fill-upper {
|
||||
background: transparent;
|
||||
border: 1px solid #D9D9D9;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range::-ms-thumb {
|
||||
cursor: pointer;
|
||||
width: 26px;
|
||||
height: 22px;
|
||||
border: 1px solid #D9D9D9;
|
||||
border-radius: 3px;
|
||||
background: #f7f7f7;
|
||||
box-shadow: inset 0 0 1px #FFF, inset 0 1px 7px #EBEBEB, 0 3px 6px -3px #BBB;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range:focus::-ms-fill-lower {
|
||||
background: transparent;
|
||||
}
|
||||
div[id^="kktfwp"] .rwmb-range:focus::-ms-fill-upper {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.media-modal .attachment-details .setting.vc-image-filter-setting {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.media-modal .media-sidebar .attachment-details .setting.vc-image-filter-setting {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.customize-control-title {
|
||||
color: #000;
|
||||
}
|
||||
|
||||
.customize-control {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
input {
|
||||
border: 1px solid #ddd;
|
||||
box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.07);
|
||||
color: #32373c;
|
||||
}
|
||||
|
||||
.rwmb-input .description {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.edit-post-layout__metaboxes:not(:empty) .editor-meta-boxes-area {
|
||||
max-width: 100% !important;
|
||||
}
|
||||
|
||||
/*# sourceMappingURL=meta-style.css.map */
|
||||
218
css/options.css
Normal file
218
css/options.css
Normal file
@@ -0,0 +1,218 @@
|
||||
.colorpicker {
|
||||
width: 356px;
|
||||
height: 176px;
|
||||
overflow: hidden;
|
||||
position: absolute;
|
||||
background: url(../admin/i/colorpicker/colorpicker_background.png);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
display: none;
|
||||
z-index:9999!important;
|
||||
}
|
||||
.colorpicker_color {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
left: 14px;
|
||||
top: 13px;
|
||||
position: absolute;
|
||||
background: #f00;
|
||||
overflow: hidden;
|
||||
cursor: crosshair;
|
||||
}
|
||||
.colorpicker_color div {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
background: url(../admin/i/colorpicker/colorpicker_overlay.png);
|
||||
}
|
||||
.colorpicker_color div div {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
overflow: hidden;
|
||||
background: url(../admin/i/colorpicker/colorpicker_select.gif);
|
||||
margin: -5px 0 0 -5px;
|
||||
}
|
||||
#option_wrapper {
|
||||
background: none repeat scroll 0 0 #232323;
|
||||
color: #e0e0e0;
|
||||
right: -200px;
|
||||
padding: 0 0 15px;
|
||||
position: fixed;
|
||||
top: 85px;
|
||||
opacity:0.9;
|
||||
width: 200px;
|
||||
z-index: 9999 !important;
|
||||
}
|
||||
#settings-button {
|
||||
cursor: pointer;
|
||||
right: 200px;
|
||||
position: absolute;
|
||||
float:right;
|
||||
top: 10px;
|
||||
z-index: 9999!important;
|
||||
}
|
||||
#headerBG, #footerBG, #contentBG , #headersBG , #metaBG, #titleBG, #borderBG, #imagesBG, #textcol {
|
||||
cursor: pointer;
|
||||
height: 25px;
|
||||
position: relative;
|
||||
width: 50px;
|
||||
z-index: 99999;
|
||||
border:1px solid #555555;
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.colorpicker_hue {
|
||||
position: absolute;
|
||||
top: 13px;
|
||||
left: 171px;
|
||||
width: 35px;
|
||||
height: 150px;
|
||||
cursor: n-resize;
|
||||
}
|
||||
.colorpicker_hue div {
|
||||
position: absolute;
|
||||
width: 35px;
|
||||
height: 9px;
|
||||
overflow: hidden;
|
||||
background: url(../admin/i/colorpicker/colorpicker_indic.gif) left top;
|
||||
margin: -4px 0 0 0;
|
||||
left: 0px;
|
||||
}
|
||||
.colorpicker_new_color {
|
||||
position: absolute;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
left: 213px;
|
||||
top: 13px;
|
||||
background: #f00;
|
||||
}
|
||||
.colorpicker_current_color {
|
||||
position: absolute;
|
||||
width: 60px;
|
||||
height: 30px;
|
||||
left: 283px;
|
||||
top: 13px;
|
||||
background: #f00;
|
||||
}
|
||||
.colorpicker input {
|
||||
background-color: transparent;
|
||||
border: 1px solid transparent;
|
||||
position: absolute;
|
||||
font-size: 10px;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
color: #898989;
|
||||
top: 4px;
|
||||
right: 11px;
|
||||
text-align: right;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
height: 12px;
|
||||
width:40px!important;
|
||||
height:14px!important;
|
||||
}
|
||||
.colorpicker_hex {
|
||||
position: absolute;
|
||||
width: 72px;
|
||||
height: 22px;
|
||||
background: url(../admin/i/colorpicker/colorpicker_hex.png) top;
|
||||
left: 212px;
|
||||
top: 142px;
|
||||
}
|
||||
.colorpicker_hex input {
|
||||
right: 6px;
|
||||
}
|
||||
.colorpicker_field {
|
||||
height: 22px;
|
||||
width: 62px;
|
||||
background-position: top;
|
||||
position: absolute;
|
||||
}
|
||||
.colorpicker_field span {
|
||||
position: absolute;
|
||||
width: 12px;
|
||||
height: 22px;
|
||||
overflow: hidden;
|
||||
top: 0;
|
||||
right: 0;
|
||||
cursor: n-resize;
|
||||
}
|
||||
.colorpicker_rgb_r {
|
||||
background-image: url(../admin/i/colorpicker/colorpicker_rgb_r.png);
|
||||
top: 52px;
|
||||
left: 212px;
|
||||
}
|
||||
.colorpicker_rgb_g {
|
||||
background-image: url(../admin/i/colorpicker/colorpicker_rgb_g.png);
|
||||
top: 82px;
|
||||
left: 212px;
|
||||
}
|
||||
.colorpicker_rgb_b {
|
||||
background-image: url(../admin/i/colorpicker/colorpicker_rgb_b.png);
|
||||
top: 112px;
|
||||
left: 212px;
|
||||
}
|
||||
.colorpicker_hsb_h {
|
||||
background-image: url(../admin/i/colorpicker/colorpicker_hsb_h.png);
|
||||
top: 52px;
|
||||
left: 282px;
|
||||
}
|
||||
.colorpicker_hsb_s {
|
||||
background-image: url(../admin/i/colorpicker/colorpicker_hsb_s.png);
|
||||
top: 82px;
|
||||
left: 282px;
|
||||
}
|
||||
.colorpicker_hsb_b {
|
||||
background-image: url(../admin/i/colorpicker/colorpicker_hsb_b.png);
|
||||
top: 112px;
|
||||
left: 282px;
|
||||
}
|
||||
|
||||
.patterns {
|
||||
cursor: pointer;
|
||||
float: left;
|
||||
height: 25px;
|
||||
margin: 5px;
|
||||
width: 25px;
|
||||
}
|
||||
.colorpicker_submit {
|
||||
position: absolute;
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
background: url(../admin/i/colorpicker/colorpicker_submit.png) top;
|
||||
left: 322px;
|
||||
top: 142px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.colorpicker_focus {
|
||||
background-position: center;
|
||||
}
|
||||
.colorpicker_hex.colorpicker_focus {
|
||||
background-position: bottom;
|
||||
}
|
||||
.colorpicker_submit.colorpicker_focus {
|
||||
background-position: bottom;
|
||||
}
|
||||
.colorpicker_slider {
|
||||
background-position: bottom;
|
||||
}
|
||||
|
||||
.colorSelector {
|
||||
position: relative;
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
background: url(../admin/i/colorpicker/select.png);
|
||||
float:left;
|
||||
}
|
||||
.colorSelector div {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 3px;
|
||||
width: 21px;
|
||||
height: 19px;
|
||||
background: url(../admin/i/colorpicker/select.png) center;
|
||||
}
|
||||
BIN
css/preloaders/preloader-white.gif
Normal file
BIN
css/preloaders/preloader-white.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 869 B |
BIN
css/preloaders/preloader.gif
Normal file
BIN
css/preloaders/preloader.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.9 KiB |
53
css/reset original.css
Normal file
53
css/reset original.css
Normal file
@@ -0,0 +1,53 @@
|
||||
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none},q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
|
||||
|
||||
.clearfix:after, .clear:after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
html[xmlns] .clearfix {
|
||||
clear:both;
|
||||
}
|
||||
* html .clearfix {
|
||||
height: 1%;
|
||||
}
|
||||
*, *:before, *:after {
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
|
||||
.admin-bar .fullscreen-top-fixed {
|
||||
padding-top: 32px;
|
||||
}
|
||||
|
||||
input::-webkit-input-placeholder {
|
||||
font-weight: 300;
|
||||
color: #7B7B7B;
|
||||
transition: line-height 0.3s ease;
|
||||
}
|
||||
|
||||
input:focus::-webkit-input-placeholder {
|
||||
line-height: 100px;
|
||||
transition: line-height 0.5s ease;
|
||||
}
|
||||
|
||||
input::-moz-placeholder {
|
||||
font-weight: 300;
|
||||
color: #7B7B7B;
|
||||
}
|
||||
|
||||
input:-ms-input-placeholder {
|
||||
font-weight: 300;
|
||||
color: #7B7B7B;
|
||||
transition: line-height 0.5s ease;
|
||||
}
|
||||
|
||||
input:focus:-ms-input-placeholder {
|
||||
line-height: 100px;
|
||||
transition: line-height 0.5s ease;
|
||||
}
|
||||
|
||||
61
css/reset.css
Normal file
61
css/reset.css
Normal file
@@ -0,0 +1,61 @@
|
||||
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td{margin:0;padding:0;border:0;outline:0;font-size:100%;vertical-align:baseline;background:transparent}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none},q:before,q:after{content:'';content:none}:focus{outline:0}ins{text-decoration:none}del{text-decoration:line-through}table{border-collapse:collapse;border-spacing:0}
|
||||
/**/
|
||||
.clearfix:after, .clear:after {
|
||||
content: '';
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
html[xmlns] .clearfix {
|
||||
clear:both;
|
||||
}
|
||||
* html .clearfix {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
/* Origine: border-box */
|
||||
*, *:before, *:after {
|
||||
box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
}
|
||||
/*
|
||||
*, *:before, *:after {
|
||||
box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box;
|
||||
}
|
||||
*/
|
||||
.admin-bar .fullscreen-top-fixed {
|
||||
padding-top: 32px;
|
||||
}
|
||||
|
||||
input::-webkit-input-placeholder {
|
||||
font-weight: 300;
|
||||
color: #7B7B7B;
|
||||
transition: line-height 0.3s ease;
|
||||
}
|
||||
|
||||
input:focus::-webkit-input-placeholder {
|
||||
line-height: 100px;
|
||||
transition: line-height 0.5s ease;
|
||||
}
|
||||
|
||||
input::-moz-placeholder {
|
||||
font-weight: 300;
|
||||
color: #7B7B7B;
|
||||
}
|
||||
|
||||
input:-ms-input-placeholder {
|
||||
font-weight: 300;
|
||||
color: #7B7B7B;
|
||||
transition: line-height 0.5s ease;
|
||||
}
|
||||
|
||||
input:focus:-ms-input-placeholder {
|
||||
line-height: 100px;
|
||||
transition: line-height 0.5s ease;
|
||||
}
|
||||
|
||||
766
css/responsive.css
Normal file
766
css/responsive.css
Normal file
@@ -0,0 +1,766 @@
|
||||
/* Responsive styles ========================================================= */
|
||||
|
||||
@media screen and (max-width: 1440px) {
|
||||
|
||||
.kk-content-boxed.kk_menu_default .content {
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.kk-content-fullwidth.kk_menu_default .content-inner-wrapper {
|
||||
width: 960px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content {
|
||||
margin: 0 0 0 300px;
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default .content.kk-is-homecaption,
|
||||
.kk-content-boxed.kk_menu_default_hidden .content.kk-is-homecaption {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content.kk-is-homecaption {
|
||||
margin: 0;
|
||||
padding: 0 0 0 300px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1366px) {
|
||||
|
||||
.kk-content-boxed.kk_menu_default .content {
|
||||
width: 940px;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden .content {
|
||||
width: 890px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content {
|
||||
margin: 0 0 0 280px;
|
||||
width: 960px;
|
||||
}
|
||||
|
||||
.kk_menu_fullscreen.kk-content-boxed .fullscreen-top-wrapper,
|
||||
.kk_menu_fullscreen.kk-content-boxed .content,
|
||||
.kk_menu_classic.kk-content-boxed .fullscreen-top-wrapper,
|
||||
.kk_menu_classic.kk-content-boxed .content {
|
||||
width: 900px;
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 80%;
|
||||
}
|
||||
|
||||
.kk-content-fullwidth.kk_menu_default .content-inner-wrapper {
|
||||
width: 93%;
|
||||
max-width: 940px;
|
||||
}
|
||||
|
||||
.kk_menu_default .fullmasonry ul li {
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
.fullmasonry ul li {
|
||||
width: 25%;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1280px) {
|
||||
|
||||
.kk_menu_fullscreen.kk-content-fullwidth .fullscreen-top-wrapper,
|
||||
.kk-content-fullwidth .content-inner-wrapper,
|
||||
.kk_menu_slide_right.kk-content-fullwidth .content-inner-wrapper,
|
||||
.kk_menu_fullscreen.kk-content-fullwidth .content-inner-wrapper {
|
||||
width: 100%;
|
||||
padding-left: 35px;
|
||||
padding-right: 35px;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default .content {
|
||||
width: 860px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content {
|
||||
width: 920px;
|
||||
}
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_default.kk-content-boxed #four-col-p .portfolio-title {
|
||||
max-width: 55%;
|
||||
}
|
||||
|
||||
.mfp-custom-arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 1024px) {
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden .content {
|
||||
width: 800px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content {
|
||||
width: 725px;
|
||||
margin: 0 0 0 270px
|
||||
}
|
||||
|
||||
.kk_menu_default.kk-content-boxed .content.kk-is-homecaption {
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
input, textarea, select {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.kk_menu_default .menu-wrapper {
|
||||
padding: 20px 30px;
|
||||
position: relative;
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
height: 80px;
|
||||
}
|
||||
|
||||
.kk-content-fullwidth .content {
|
||||
padding: 40px 0 25px 0px;
|
||||
}
|
||||
|
||||
.kk_menu_default.kk-template-fullscreen .menu-wrapper,
|
||||
.kk_menu_default.kk-grid-active .menu-wrapper,
|
||||
.kk_menu_default.kk-content-fullwidth .menu-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_default .logo {
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.kk_menu_default .menu-wrapper .logo img {
|
||||
max-height: 40px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.kk_menu_default .menu-wrapper .main-nav {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding-left: 0;
|
||||
float: right;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.kk_menu_default .menu-wrapper .main-nav ul,
|
||||
.kk_menu_default .menu-wrapper .footer,
|
||||
.kk_menu_default_hidden .kk-mobile-trigger,
|
||||
.kk_menu_left_boxed .kk-mobile-trigger {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kk_menu_default .mobile-menu {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
.kk-mobile-trigger {
|
||||
display: block;
|
||||
right: 27px;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default .content {
|
||||
left: 0;
|
||||
width: 800px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.kk_menu_default .royalSlider_fullscreen {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default .portfolio-wrapper #four-col-p li,
|
||||
.kk-content-boxed.kk_menu_default .gallery-wrapper #four-col-p li {
|
||||
width: 32.2%;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .portfolio-wrapper #three-col-p li,
|
||||
.kk_menu_left_boxed .gallery-wrapper #three-col-p li,
|
||||
.kk_menu_left_boxed .portfolio-wrapper #four-col-p li,
|
||||
.kk_menu_left_boxed .gallery-wrapper #four-col-p li {
|
||||
width: 48.8%;
|
||||
}
|
||||
|
||||
|
||||
.kk_menu_default.kk-template-fullscreen .royalSlider_fullscreen {
|
||||
top: 80px;
|
||||
}
|
||||
|
||||
.kk_menu_default .kk-icons-wrapper {
|
||||
left: auto;
|
||||
z-index: 105;
|
||||
right: 70px;
|
||||
top: 23px;
|
||||
}
|
||||
|
||||
.kk-mobile-trigger {
|
||||
|
||||
}
|
||||
|
||||
.kk_menu_default.kk-fs-g .kk-info-trigger,
|
||||
.kk_menu_default .kk-thumbs-trigger {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-size: 19px;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.kk_menu_default.kk-fs-g .kk-info-trigger:hover,
|
||||
.kk_menu_default .kk-thumbs-trigger:hover,
|
||||
.kk_menu_default .kk-thumbs-trigger.activeThumb {
|
||||
background-color: transparent;
|
||||
color: #fff;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.fullmasonry {
|
||||
padding-left: 0;
|
||||
}
|
||||
|
||||
.kk_menu_default.kk-grid-active .kk-icons-wrapper,
|
||||
.kk_menu_default.page-template-template-homepage-grid .kk-icons-wrapper,
|
||||
.kk_menu_default_hidden.page-template-template-homepage-grid .kk-icons-wrapper {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.info-fs-form .content-inner-wrapper {
|
||||
width: 100%;
|
||||
padding: 0 70px;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav li a,
|
||||
.kk_menu_fullscreen .main-nav li a {
|
||||
font-size: 24px;
|
||||
padding: 10px 30px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 768px) {
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden .content {
|
||||
width: 698px;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden .inner-content,
|
||||
.kk-content-boxed.kk_menu_default_hidden .sidebar {
|
||||
float: none!important;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content {
|
||||
margin: 0;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.kk_menu_fullscreen.kk-content-boxed .fullscreen-top-wrapper,
|
||||
.kk_menu_fullscreen.kk-content-boxed .content,
|
||||
.kk_menu_classic.kk-content-boxed .fullscreen-top-wrapper,
|
||||
.kk_menu_classic.kk-content-boxed .content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.portfolio-wrapper #four-col-p li,
|
||||
.gallery-wrapper #four-col-p li,
|
||||
.kk_menu_default_hidden .portfolio-wrapper #three-col-p li,
|
||||
.kk_menu_default_hidden .gallery-wrapper #three-col-p li {
|
||||
width: 48.2%;
|
||||
}
|
||||
|
||||
.kk_menu_default .portfolio-wrapper #four-col-p li,
|
||||
.kk_menu_default .gallery-wrapper #four-col-p li {
|
||||
width: 32.2%;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .fullmasonry ul li {
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
.kk_menu_default .menu-wrapper,
|
||||
.kk-content-boxed.kk_menu_default .content {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .menu-wrapper {
|
||||
padding: 20px 30px;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
height: 80px;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed.kk-grid-active .menu-wrapper,
|
||||
.kk_menu_left_boxed.kk-template-fullscreen .menu-wrapper,
|
||||
.kk_menu_left_boxed .menu-wrapper,
|
||||
.kk_menu_left_boxed .main-nav .sub-menu {
|
||||
background: #222;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .logo {
|
||||
padding: 0;
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
float: left;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .logo a img {
|
||||
max-height: 40px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .menu-wrapper .main-nav {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
padding: 0;
|
||||
float: right;
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .menu-wrapper .footer,
|
||||
.kk_menu_left_boxed .menu-wrapper .main-nav ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .mobile-menu,
|
||||
.kk_menu_left_boxed .kk-mobile-trigger {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .kk-icons-wrapper {
|
||||
left: auto;
|
||||
z-index: 105;
|
||||
right: 70px;
|
||||
top: 23px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed.kk-fs-g .kk-info-trigger, .kk_menu_left_boxed .kk-thumbs-trigger {
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-size: 20px;
|
||||
padding: 5px 0;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed.kk-template-fullscreen .royalSlider_fullscreen,
|
||||
.kk_menu_left_boxed .royalSlider_fullscreen {
|
||||
top: 80px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .fullmasonry ul li {
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-menu-open .royalSlider_fullscreen,
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-menu-open .content,
|
||||
.kk_menu_slide_right.kk-menu-open .video-bg,
|
||||
.kk_menu_slide_right.kk-menu-open #kenburns,
|
||||
.kk_menu_slide_right.kk-menu-open .fullmasonry,
|
||||
.kk-menu-open .creative-top-wrapper-bg,
|
||||
.kk_menu_slide_right.kk-menu-open .kk-bg-overlay,
|
||||
.kk_menu_slide_right.kk-menu-open .kk-homepage-o,
|
||||
.kk_menu_slide_right.kk-menu-open .kk-fallback-img {
|
||||
-webkit-transform: translate3d(-100%, 0, 0);
|
||||
-ms-transform: translate(-100%, 0);
|
||||
transform: translate3d(-100%, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .menu-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .post-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav li a,
|
||||
.kk_menu_fullscreen .main-nav li a {
|
||||
font-size: 30px;
|
||||
padding: 14px 30px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed.kk-fs-g .kk-info-trigger:hover,
|
||||
.kk_menu_left_boxed .kk-thumbs-trigger:hover,
|
||||
.kk_menu_left_boxed .kk-thumbs-trigger.activeThumb {
|
||||
background-color: transparent;
|
||||
color: #fff;
|
||||
border-color: transparent;
|
||||
}
|
||||
}
|
||||
|
||||
@media screen and (max-width: 766px) {
|
||||
|
||||
.kk_menu_fullscreen.kk-content-fullwidth .fullscreen-top-wrapper,
|
||||
.kk-content-fullwidth .content-inner-wrapper,
|
||||
.kk_menu_slide_right.kk-content-fullwidth .content-inner-wrapper,
|
||||
.kk_menu_fullscreen.kk-content-fullwidth .content-inner-wrapper {
|
||||
width: 100%;
|
||||
padding-left: 10px;
|
||||
padding-right: 10px;
|
||||
}
|
||||
|
||||
.kk-content-fullwidth .kk-parallax-wrapper .kk-parallax-title-wrapper h1 {
|
||||
font-size: 40px;
|
||||
}
|
||||
|
||||
|
||||
.kk_menu_fullscreen.kk-content-fullwidth .fullscreen-top-wrapper {
|
||||
padding: 20px 10px 10px 10px;
|
||||
}
|
||||
|
||||
|
||||
.kk_menu_fullscreen .fullscreen-top-wrapper {
|
||||
padding: 20px 10px 10px 10px;
|
||||
}
|
||||
|
||||
.kk_menu_default .menu-wrapper,
|
||||
.kk_menu_left_boxed .menu-wrapper {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 20px 10px;
|
||||
}
|
||||
|
||||
.kk_menu_left_boxed .content.kk-is-homecaption {
|
||||
margin: 0 auto;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.gallery-wrapper[data-layout="2-column"] li,
|
||||
.gallery-wrapper[data-layout="3-column"] li,
|
||||
.gallery-wrapper[data-layout="4-column"] li {
|
||||
width: 48.2%;
|
||||
}
|
||||
|
||||
.kk-content-fullwidth.kk_menu_default_hidden .content {
|
||||
padding: 0 0 0 30px;
|
||||
}
|
||||
|
||||
.portfolio-wrapper #three-col-p li,
|
||||
.gallery-wrapper #three-col-p li,
|
||||
.kk_menu_default .portfolio-wrapper #four-col-p li,
|
||||
.kk_menu_default .gallery-wrapper #four-col-p li {
|
||||
width: 48.2%;
|
||||
}
|
||||
|
||||
.kk-content-boxed .content-inner-wrapper {
|
||||
padding: 0 10px 0 10px;
|
||||
}
|
||||
|
||||
#multi li {
|
||||
width: 32.2%;
|
||||
}
|
||||
|
||||
.effect-zoom img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.blog-meta {
|
||||
line-height: 2em;
|
||||
}
|
||||
|
||||
.inner-content,
|
||||
.sidebar {
|
||||
float: none;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.single-portfolio .sidebar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.post-content {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.page-title h1,
|
||||
.post-title h1,
|
||||
.kk-woo-shop .page-title,
|
||||
.single-product .kk-woo-shop h1.product_title {
|
||||
font-size: 42px;
|
||||
}
|
||||
|
||||
.page-title,
|
||||
.post-title,
|
||||
.kk-woo-shop .page-title,
|
||||
.single-product .kk-woo-shop h1.product_title {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.divider {
|
||||
margin: 0 auto 50px;
|
||||
}
|
||||
|
||||
.kk_vc .vc_row-fluid .wpb_column {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.kk-search-close,
|
||||
.kk-info-close {
|
||||
top: 5px;
|
||||
right: 5px;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 0 0px 20px 0px;
|
||||
}
|
||||
|
||||
.info-fs-form .content-inner-wrapper {
|
||||
padding: 0 25px;
|
||||
}
|
||||
|
||||
.mfp-custom-arrow {
|
||||
padding: 0;
|
||||
font-size: 32px;
|
||||
margin-top: -22px;
|
||||
}
|
||||
|
||||
.fullmasonry ul li {
|
||||
width: 33.333%;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .mobile-menu {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
width: 190px;
|
||||
background-color: #383838;
|
||||
color: #FFF;
|
||||
border-color: #444;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .menu-wrapper .main-nav ul {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .menu-wrapper {
|
||||
-webkit-transform: translate3d(-90%, 0, 0);
|
||||
transform: translate3d(-90%, 0, 0);
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .menu-helper {
|
||||
width: 30px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .kk-menu-trigger span,
|
||||
.kk_menu_default_hidden .kk-menu-trigger span:before,
|
||||
.kk_menu_default_hidden .kk-menu-trigger span:after {
|
||||
width: 18px;
|
||||
height: 2px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .kk-menu-trigger span:after {
|
||||
top: 6px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .kk-menu-trigger span:before {
|
||||
top: -6px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span,
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span:before,
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span:after {
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span:after {
|
||||
-webkit-transform: translate3d(0, -6px, 0) rotate(-225deg);
|
||||
-ms-transform: translate3d(0, -6px, 0) rotate(-225deg);
|
||||
transform: translate3d(0, -6px, 0) rotate(-225deg);
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden.kk-menu-open .kk-menu-trigger span:before {
|
||||
-webkit-transform: translate3d(0, 6px, 0) rotate(45deg);
|
||||
-ms-transform: translate3d(0, 6px, 0) rotate(45deg);
|
||||
transform: translate3d(0, 6px, 0) rotate(45deg);
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .kk-search {
|
||||
font-size: 18px;
|
||||
left: 1px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden.kk-fs-g .kk-info-trigger,
|
||||
.kk_menu_default_hidden.kk-template-fullscreen .kk-thumbs-trigger {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.icons-wrapper {
|
||||
left: 0;
|
||||
top: 5px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .icons-wrapper .kk-menu-trigger,
|
||||
.kk_menu_default_hidden .kk-search,
|
||||
.kk_menu_default_hidden.kk-fs-g .kk-info-trigger {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
.search-fs-form .searchform {
|
||||
width: 85%;
|
||||
}
|
||||
|
||||
.search-fs-form .searchform input[type="text"] {
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .royalSlider_fullscreen,
|
||||
.kk_menu_default_hidden.kk-menu-open .royalSlider_fullscreen {
|
||||
left: 30px;
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden .content {
|
||||
-webkit-transform: translate3d(30px, 0, 0);
|
||||
transform: translate3d(30px, 0, 0);
|
||||
}
|
||||
|
||||
.kk-content-boxed.kk_menu_default_hidden .content {
|
||||
width: 100%;
|
||||
margin-left: -17px;
|
||||
}
|
||||
|
||||
.kk_menu_default_hidden .fullmasonry,
|
||||
.kk_menu_default_hidden.kk-menu-open .fullmasonry {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.kk-thumbs-on .rsKK .rsThumbs {
|
||||
z-index: 95;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .social {
|
||||
float: none;
|
||||
width: 100%;
|
||||
display: block;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .footer,
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-is-borders .footer {
|
||||
text-align: center;
|
||||
padding: 0 10px 10px 10px;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav li a,
|
||||
.kk_menu_fullscreen .main-nav li a {
|
||||
font-size: 16px;
|
||||
padding: 3px 15px;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .creative-top-wrapper,
|
||||
.kk_menu_slide_right .creative-top-wrapper-fixed,
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-is-borders .creative-top-wrapper,
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-is-borders .creative-top-wrapper-fixed {
|
||||
padding: 15px 10px 15px 10px;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .creative-top-wrapper .logo img,
|
||||
.kk_menu_fullscreen .logo img {
|
||||
max-height: 35px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.kk_menu_default .kk-icons-wrapper,
|
||||
.kk_menu_left_boxed .kk-icons-wrapper {
|
||||
right: 50px;
|
||||
}
|
||||
|
||||
.kk-mobile-trigger {
|
||||
display: block;
|
||||
right: 7px;
|
||||
}
|
||||
|
||||
body.kk-is-borders {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-is-borders .kk-borders {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right .main-nav .sub-menu li.dl-back a,
|
||||
.kk_menu_fullscreen .main-nav .sub-menu li.dl-back a {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-is-borders .royalSlider_fullscreen,
|
||||
.kk_menu_slide_right.kk-content-fullwidth.kk-is-borders .fullmasonry .gallery-full-masonry {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@media screen and (max-width: 440px) {
|
||||
.gallery-wrapper[data-layout="2-column"] li,
|
||||
.gallery-wrapper[data-layout="3-column"] li,
|
||||
.gallery-wrapper[data-layout="4-column"] li,
|
||||
.portfolio-wrapper #three-col-p li,
|
||||
.gallery-wrapper #three-col-p li,
|
||||
.portfolio-wrapper #four-col-p li,
|
||||
.gallery-wrapper #four-col-p li,
|
||||
.kk_menu_default_hidden .portfolio-wrapper #three-col-p li,
|
||||
.kk_menu_default_hidden .gallery-wrapper #three-col-p li,
|
||||
.kk_menu_left_boxed .portfolio-wrapper #three-col-p li,
|
||||
.kk_menu_left_boxed .gallery-wrapper #three-col-p li,
|
||||
.kk_menu_left_boxed .portfolio-wrapper #four-col-p li,
|
||||
.kk_menu_left_boxed .gallery-wrapper #four-col-p li {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.portfolio-wrapper #three-col-p li,
|
||||
.gallery-wrapper #three-col-p li,
|
||||
.portfolio-wrapper #four-col-p li,
|
||||
.gallery-wrapper #four-col-p li {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.portfolio-title,
|
||||
.kk-likes-portfolio {
|
||||
float: none;
|
||||
max-width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.kk-search-close span,
|
||||
.kk-search-close span:before,
|
||||
.kk-search-close span:after,
|
||||
.kk-info-close span,
|
||||
.kk-info-close span:before,
|
||||
.kk-info-close span:after {
|
||||
width: 18px;
|
||||
}
|
||||
|
||||
.blog-content .blog-title,
|
||||
.quote-text {
|
||||
font-size: 20px;
|
||||
line-height: 1.5em;
|
||||
}
|
||||
|
||||
.fullmasonry ul li,
|
||||
.kk_menu_default_hidden .fullmasonry ul li,
|
||||
.kk_menu_left_boxed .fullmasonry ul li {
|
||||
width: 50%;
|
||||
}
|
||||
}
|
||||
294
css/royalslider.css
Normal file
294
css/royalslider.css
Normal file
@@ -0,0 +1,294 @@
|
||||
/* v1.0.5 */
|
||||
/* Core RS CSS file. 95% of time you shouldn't change anything here. */
|
||||
.royalSlider {
|
||||
width: 100%;
|
||||
height: 400px;
|
||||
position: relative;
|
||||
direction: ltr;
|
||||
}
|
||||
.royalSlider > * {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.rsWebkit3d .rsSlide {
|
||||
-webkit-transform: none;
|
||||
}
|
||||
|
||||
.royalSlider img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.royalSlider {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.royalSlider > img {
|
||||
visibility: hidden;
|
||||
/* or display:none depending on your needs... */
|
||||
}
|
||||
|
||||
.royalSlider_fullscreen {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0; /* height of thumbs (if not required set to 0) */
|
||||
height: auto; /* optionally add !important for WP version */
|
||||
width: auto;
|
||||
overflow: hidden;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.rsImg {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.rsWebkit3d .rsSlide,
|
||||
.rsWebkit3d .rsContainer,
|
||||
.rsWebkit3d .rsThumbs,
|
||||
.rsWebkit3d .rsPreloader,
|
||||
.rsWebkit3d img,
|
||||
.rsWebkit3d .rsOverflow,
|
||||
.rsWebkit3d .rsBtnCenterer,
|
||||
.rsWebkit3d .rsAbsoluteEl,
|
||||
.rsWebkit3d .rsABlock,
|
||||
.rsWebkit3d .rsLink {
|
||||
-webkit-backface-visibility: hidden;
|
||||
}
|
||||
.rsFade.rsWebkit3d .rsSlide,
|
||||
.rsFade.rsWebkit3d img,
|
||||
.rsFade.rsWebkit3d .rsContainer {
|
||||
-webkit-transform: none;
|
||||
}
|
||||
.rsOverflow {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
||||
}
|
||||
.rsVisibleNearbyWrap {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
left: 0;
|
||||
top: 0;
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
||||
}
|
||||
.rsVisibleNearbyWrap .rsOverflow {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
|
||||
}
|
||||
.rsContainer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
.rsArrow,
|
||||
.rsThumbsArrow {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.rsThumb {
|
||||
float: left;
|
||||
position: fixed;
|
||||
left: 300;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.rsArrow,
|
||||
.rsNav,
|
||||
.rsThumbsArrow,
|
||||
.rsArrowIcn {
|
||||
opacity: 1;
|
||||
-webkit-transition: opacity 0.3s linear, left 0.3s ease, right 0.3s ease;
|
||||
-moz-transition: opacity 0.3s linear, left 0.3s ease, right 0.3s ease;
|
||||
-o-transition: opacity 0.3s linear, left 0.3s ease, right 0.3s ease;
|
||||
transition: opacity 0.3s linear, left 0.3s ease, right 0.3s ease;
|
||||
}
|
||||
.rsHidden {
|
||||
opacity: 0;
|
||||
visibility: hidden;
|
||||
-webkit-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
||||
-moz-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
||||
-o-transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
||||
transition:visibility 0s linear 0.3s,opacity 0.3s linear;
|
||||
}
|
||||
|
||||
|
||||
.rsGCaption {
|
||||
width: 100%;
|
||||
float: left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Fullscreen options, very important ^^ */
|
||||
.royalSlider.rsFullscreen {
|
||||
position: fixed !important;
|
||||
height: auto !important;
|
||||
width: auto !important;
|
||||
margin: 0 !important;
|
||||
padding: 0 !important;
|
||||
z-index: 2147483647 !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
bottom: 0 !important;
|
||||
right: 0 !important;
|
||||
}
|
||||
|
||||
.royalSlider .rsSlide.rsFakePreloader {
|
||||
opacity: 1 !important;
|
||||
-webkit-transition: 0s;
|
||||
-moz-transition: 0s;
|
||||
-o-transition: 0s;
|
||||
transition: 0s;
|
||||
display: none;
|
||||
}
|
||||
|
||||
.rsSlide {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.royalSlider.rsAutoHeight,
|
||||
.rsAutoHeight .rsSlide {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.rsContent {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.rsPreloader {
|
||||
position:absolute;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.rsNav {
|
||||
-moz-user-select: -moz-none;
|
||||
-webkit-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.rsNavItem {
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0.25);
|
||||
}
|
||||
|
||||
.rsThumbs {
|
||||
cursor: pointer;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
float: left;
|
||||
z-index: 22;
|
||||
}
|
||||
.rsTabs {
|
||||
float: left;
|
||||
background: none !important;
|
||||
}
|
||||
.rsTabs,
|
||||
.rsThumbs {
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0);
|
||||
}
|
||||
|
||||
|
||||
.rsVideoContainer {
|
||||
/*left: 0;
|
||||
top: 0;
|
||||
position: absolute;*/
|
||||
/*width: 100%;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
float: left;*/
|
||||
width: auto;
|
||||
height: auto;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
}
|
||||
.rsVideoFrameHolder {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background: #141414;
|
||||
opacity: 0;
|
||||
-webkit-transition: .3s;
|
||||
}
|
||||
.rsVideoFrameHolder.rsVideoActive {
|
||||
opacity: 1;
|
||||
}
|
||||
.rsVideoContainer iframe,
|
||||
.rsVideoContainer video,
|
||||
.rsVideoContainer embed,
|
||||
.rsVideoContainer .rsVideoObj {
|
||||
position: absolute;
|
||||
z-index: 50;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
/* ios controls over video bug, shifting video */
|
||||
.rsVideoContainer.rsIOSVideo iframe,
|
||||
.rsVideoContainer.rsIOSVideo video,
|
||||
.rsVideoContainer.rsIOSVideo embed {
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding-right: 44px;
|
||||
}
|
||||
|
||||
.rsABlock {
|
||||
left: 0;
|
||||
top: 0;
|
||||
position: absolute;
|
||||
z-index: 15;
|
||||
|
||||
}
|
||||
|
||||
img.rsImg {
|
||||
max-width: none;
|
||||
}
|
||||
|
||||
.grab-cursor {
|
||||
cursor:url(../images/grab.png) 8 8, move;
|
||||
}
|
||||
|
||||
.grabbing-cursor{
|
||||
cursor:url(../images/grabbing.png) 8 8, move;
|
||||
}
|
||||
|
||||
.rsNoDrag {
|
||||
cursor: auto;
|
||||
}
|
||||
|
||||
.rsLink {
|
||||
left:0;
|
||||
top:0;
|
||||
position:absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
display:block;
|
||||
z-index: 20;
|
||||
background: url(blank.gif);
|
||||
}
|
||||
480
css/rs-default.css
Normal file
480
css/rs-default.css
Normal file
@@ -0,0 +1,480 @@
|
||||
/******************************
|
||||
*
|
||||
* RoyalSlider Default Skin
|
||||
*
|
||||
* 1. Arrows
|
||||
* 2. Bullets
|
||||
* 3. Thumbnails
|
||||
* 4. Tabs
|
||||
* 5. Fullscreen button
|
||||
* 6. Play/close video button
|
||||
* 7. Preloader
|
||||
* 8. Caption
|
||||
*
|
||||
* Sprite: 'rs-default.png'
|
||||
* Feel free to edit anything
|
||||
* If you don't some part - just delete it
|
||||
*
|
||||
******************************/
|
||||
|
||||
|
||||
/* Background */
|
||||
.rsDefault,
|
||||
.rsDefault .rsOverflow,
|
||||
.rsDefault .rsSlide,
|
||||
.rsDefault .rsVideoFrameHolder,
|
||||
.rsDefault .rsThumbs {
|
||||
background: #151515;
|
||||
color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 1. Arrows
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsArrow {
|
||||
height: 44px;
|
||||
width: 44px;
|
||||
position: absolute;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
z-index: 21;
|
||||
}
|
||||
.rsDefault.rsVer .rsArrow {
|
||||
width: 100%;
|
||||
height: 44px;
|
||||
|
||||
}
|
||||
.rsDefault.rsVer .rsArrowLeft { top: 0; left: 0; }
|
||||
.rsDefault.rsVer .rsArrowRight { bottom: 0; left: 0; }
|
||||
|
||||
.rsDefault.rsHor .rsArrowLeft { left: -25px; top: 50%; margin-top: -22px; }
|
||||
.rsDefault.rsHor .rsArrowRight { right: -25px; top: 50%; margin-top: -22px; }
|
||||
|
||||
.rsDefault .rsArrowIcn {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top:-16px;
|
||||
margin-left: -16px;
|
||||
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
background: url('../images/rs-default.png');
|
||||
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
|
||||
border-radius: 2px;
|
||||
}
|
||||
.rsDefault .rsArrowIcn:hover {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
.rsDefault.rsHor .rsArrowLeft .rsArrowIcn { background-position: -64px -32px; }
|
||||
.rsDefault.rsHor .rsArrowRight .rsArrowIcn { background-position: -64px -64px; }
|
||||
|
||||
.rsDefault.rsVer .rsArrowLeft .rsArrowIcn { background-position: -96px -32px; }
|
||||
.rsDefault.rsVer .rsArrowRight .rsArrowIcn { background-position: -96px -64px; }
|
||||
|
||||
.rsDefault .rsArrowDisabled .rsArrowIcn { opacity: .2; filter: alpha(opacity=20); *display: none; }
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 2. Bullets
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsBullets {
|
||||
position: absolute;
|
||||
z-index: 35;
|
||||
left: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
|
||||
background: #000;
|
||||
background: rgba(0,0,0,0.75);
|
||||
|
||||
text-align: center;
|
||||
line-height: 8px;
|
||||
overflow: hidden;
|
||||
}
|
||||
.rsDefault .rsBullet {
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
display: inline-block;
|
||||
*display:inline;
|
||||
*zoom:1;
|
||||
padding: 6px 5px 6px;
|
||||
}
|
||||
.rsDefault .rsBullet span {
|
||||
display: block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
background: rgba(255,255,255,0.5);
|
||||
}
|
||||
.rsDefault .rsBullet.rsNavSelected span {
|
||||
background-color: #FFF;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 3. Thumbnails
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsThumbsHor {
|
||||
width: 100%;
|
||||
height: 72px;
|
||||
}
|
||||
.rsDefault .rsThumbsVer {
|
||||
width: 96px;
|
||||
height: 100%;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
}
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsContainer {
|
||||
position: relative;
|
||||
height: 100%;
|
||||
}
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsContainer {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.rsDefault .rsThumb {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
width: 96px;
|
||||
height: 72px;
|
||||
}
|
||||
.rsDefault .rsThumb img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.rsDefault .rsThumb.rsNavSelected {
|
||||
background: #02874a;
|
||||
}
|
||||
.rsDefault .rsThumb.rsNavSelected img {
|
||||
opacity: 0.3;
|
||||
filter: alpha(opacity=30);
|
||||
}
|
||||
.rsDefault .rsTmb {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/* Thumbnails with text */
|
||||
.rsDefault .rsTmb h5 {
|
||||
font-size: 16px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
line-height: 20px;
|
||||
color: #FFF;
|
||||
}
|
||||
.rsDefault .rsTmb span {
|
||||
color: #DDD;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Thumbnails arrow icons */
|
||||
.rsDefault .rsThumbsArrow {
|
||||
height: 100%;
|
||||
width: 20px;
|
||||
position: absolute;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
z-index: 21;
|
||||
background: #000;
|
||||
background: rgba(0,0,0,0.75);
|
||||
}
|
||||
.rsDefault .rsThumbsArrow:hover {
|
||||
background: rgba(0,0,0,0.9);
|
||||
}
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrow {
|
||||
width: 100%;
|
||||
height: 20px;
|
||||
}
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft { top: 0; left: 0; }
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight { bottom: 0; left: 0; }
|
||||
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft { left: 0; top: 0; }
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight { right: 0; top:0; }
|
||||
|
||||
.rsDefault .rsThumbsArrowIcn {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
margin-top:-8px;
|
||||
margin-left: -8px;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
background: url('rs-default.png');
|
||||
}
|
||||
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -128px -32px; }
|
||||
.rsDefault.rsWithThumbsHor .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -128px -48px; }
|
||||
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowLeft .rsThumbsArrowIcn { background-position: -144px -32px; }
|
||||
.rsDefault.rsWithThumbsVer .rsThumbsArrowRight .rsThumbsArrowIcn { background-position: -144px -48px; }
|
||||
|
||||
.rsDefault .rsThumbsArrowDisabled { display: none !important; }
|
||||
|
||||
/* Thumbnails resizing on smaller screens */
|
||||
@media screen and (min-width: 0px) and (max-width: 800px) {
|
||||
.rsDefault .rsThumb {
|
||||
width: 59px;
|
||||
height: 44px;
|
||||
}
|
||||
.rsDefault .rsThumbsHor {
|
||||
height: 44px;
|
||||
}
|
||||
.rsDefault .rsThumbsVer {
|
||||
width: 59px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 4. Tabs
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsTabs {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
margin: 0 auto;
|
||||
text-align:center;
|
||||
overflow: hidden; padding-top: 12px; position: relative;
|
||||
}
|
||||
.rsDefault .rsTab {
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
height: auto;
|
||||
width: auto;
|
||||
color: #333;
|
||||
padding: 5px 13px 6px;
|
||||
min-width: 72px;
|
||||
border: 1px solid #D9D9DD;
|
||||
border-right: 1px solid #f5f5f5;
|
||||
text-decoration: none;
|
||||
|
||||
background-color: #FFF;
|
||||
background-image: -webkit-linear-gradient(top, #fefefe, #f4f4f4);
|
||||
background-image: -moz-linear-gradient(top, #fefefe, #f4f4f4);
|
||||
background-image: linear-gradient(to bottom, #fefefe, #f4f4f4);
|
||||
|
||||
-webkit-box-shadow: inset 1px 0 0 #fff;
|
||||
box-shadow: inset 1px 0 0 #fff;
|
||||
|
||||
*display:inline;
|
||||
*zoom:1;
|
||||
}
|
||||
.rsDefault .rsTab:first-child {
|
||||
-webkit-border-top-left-radius: 4px;
|
||||
border-top-left-radius: 4px;
|
||||
-webkit-border-bottom-left-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
.rsDefault .rsTab:last-child {
|
||||
-webkit-border-top-right-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
-webkit-border-bottom-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
|
||||
border-right: 1px solid #cfcfcf;
|
||||
}
|
||||
.rsDefault .rsTab:active {
|
||||
border: 1px solid #D9D9DD;
|
||||
background-color: #f4f4f4;
|
||||
box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2) inset;
|
||||
}
|
||||
.rsDefault .rsTab.rsNavSelected {
|
||||
color: #FFF;
|
||||
border: 1px solid #999;
|
||||
text-shadow: 1px 1px #838383;
|
||||
box-shadow: 0 1px 9px rgba(102, 102, 102, 0.65) inset;
|
||||
background: #ACACAC;
|
||||
background-image: -webkit-linear-gradient(top, #ACACAC, #BBB);
|
||||
background-image: -moz-llinear-gradient(top, #ACACAC, #BBB);
|
||||
background-image: linear-gradient(to bottom, #ACACAC, #BBB);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 5. Fullscreen button
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsFullscreenBtn {
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
z-index: 22;
|
||||
display: block;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
|
||||
}
|
||||
.rsDefault .rsFullscreenIcn {
|
||||
display: block;
|
||||
margin: 6px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
|
||||
background: url('rs-default.png') 0 0;
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
border-radius: 2px;
|
||||
|
||||
}
|
||||
.rsDefault .rsFullscreenIcn:hover {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
.rsDefault.rsFullscreen .rsFullscreenIcn {
|
||||
background-position: -32px 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 6. Play/close video button
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsDefault .rsPlayBtn {
|
||||
-webkit-tap-highlight-color:rgba(0,0,0,0.3);
|
||||
width:64px;
|
||||
height:64px;
|
||||
margin-left:-32px;
|
||||
margin-top:-32px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.rsDefault .rsPlayBtnIcon {
|
||||
width:64px;
|
||||
display:block;
|
||||
height:64px;
|
||||
-webkit-border-radius: 4px;
|
||||
border-radius: 4px;
|
||||
|
||||
-webkit-transition: .3s;
|
||||
-moz-transition: .3s;
|
||||
transition: .3s;
|
||||
|
||||
background:url(rs-default.png) no-repeat 0 -32px;
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
}
|
||||
.rsDefault .rsPlayBtn:hover .rsPlayBtnIcon {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
.rsDefault .rsBtnCenterer {
|
||||
position:absolute;
|
||||
left:50%;
|
||||
top:50%;
|
||||
}
|
||||
.rsDefault .rsCloseVideoBtn {
|
||||
right: 0;
|
||||
top: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
z-index: 500;
|
||||
position: absolute;
|
||||
cursor: pointer;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-webkit-transform: translateZ(0);
|
||||
|
||||
}
|
||||
.rsDefault .rsCloseVideoBtn.rsiOSBtn {
|
||||
top: -38px;
|
||||
right: -6px;
|
||||
}
|
||||
|
||||
.rsDefault .rsCloseVideoIcn {
|
||||
margin: 6px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
background: url('rs-default.png') -64px 0;
|
||||
background-color: #000;
|
||||
background-color: rgba(0,0,0,0.75);
|
||||
*background-color: #000;
|
||||
}
|
||||
.rsDefault .rsCloseVideoIcn:hover {
|
||||
background-color: rgba(0,0,0,0.9);
|
||||
}
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 7. Preloader
|
||||
*
|
||||
****************/
|
||||
|
||||
.rsPreloader {
|
||||
width:20px;
|
||||
height:20px;
|
||||
background-image:url(../images/loader.gif);
|
||||
left:50%;
|
||||
top:50%;
|
||||
margin-left:-10px;
|
||||
margin-top:-10px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/***************
|
||||
*
|
||||
* 8. Global caption
|
||||
*
|
||||
****************/
|
||||
.rsDefault .rsGCaption {
|
||||
position: absolute;
|
||||
float: none;
|
||||
bottom: 6px;
|
||||
left: 6px;
|
||||
text-align: left;
|
||||
|
||||
background: rgb(0, 0, 0);
|
||||
background: rgba(0, 0, 0, 0.75);
|
||||
|
||||
color: #FFF;
|
||||
padding: 2px 8px;
|
||||
width: auto;
|
||||
font-size: 12px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
411
css/sass/bourbon/_bourbon-deprecated-upcoming.scss
vendored
Normal file
411
css/sass/bourbon/_bourbon-deprecated-upcoming.scss
vendored
Normal file
@@ -0,0 +1,411 @@
|
||||
// The following features have been deprecated and will be removed in the next MAJOR version release
|
||||
|
||||
@mixin inline-block {
|
||||
display: inline-block;
|
||||
|
||||
@warn "The inline-block mixin is deprecated and will be removed in the next major version release";
|
||||
}
|
||||
|
||||
@mixin button ($style: simple, $base-color: #4294f0, $text-size: inherit, $padding: 7px 18px) {
|
||||
|
||||
@if type-of($style) == string and type-of($base-color) == color {
|
||||
@include buttonstyle($style, $base-color, $text-size, $padding);
|
||||
}
|
||||
|
||||
@if type-of($style) == string and type-of($base-color) == number {
|
||||
$padding: $text-size;
|
||||
$text-size: $base-color;
|
||||
$base-color: #4294f0;
|
||||
|
||||
@if $padding == inherit {
|
||||
$padding: 7px 18px;
|
||||
}
|
||||
|
||||
@include buttonstyle($style, $base-color, $text-size, $padding);
|
||||
}
|
||||
|
||||
@if type-of($style) == color and type-of($base-color) == color {
|
||||
$base-color: $style;
|
||||
$style: simple;
|
||||
@include buttonstyle($style, $base-color, $text-size, $padding);
|
||||
}
|
||||
|
||||
@if type-of($style) == color and type-of($base-color) == number {
|
||||
$padding: $text-size;
|
||||
$text-size: $base-color;
|
||||
$base-color: $style;
|
||||
$style: simple;
|
||||
|
||||
@if $padding == inherit {
|
||||
$padding: 7px 18px;
|
||||
}
|
||||
|
||||
@include buttonstyle($style, $base-color, $text-size, $padding);
|
||||
}
|
||||
|
||||
@if type-of($style) == number {
|
||||
$padding: $base-color;
|
||||
$text-size: $style;
|
||||
$base-color: #4294f0;
|
||||
$style: simple;
|
||||
|
||||
@if $padding == #4294f0 {
|
||||
$padding: 7px 18px;
|
||||
}
|
||||
|
||||
@include buttonstyle($style, $base-color, $text-size, $padding);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
@warn "The button mixin is deprecated and will be removed in the next major version release";
|
||||
}
|
||||
|
||||
// Selector Style Button
|
||||
@mixin buttonstyle($type, $b-color, $t-size, $pad) {
|
||||
// Grayscale button
|
||||
@if $type == simple and $b-color == grayscale($b-color) {
|
||||
@include simple($b-color, true, $t-size, $pad);
|
||||
}
|
||||
|
||||
@if $type == shiny and $b-color == grayscale($b-color) {
|
||||
@include shiny($b-color, true, $t-size, $pad);
|
||||
}
|
||||
|
||||
@if $type == pill and $b-color == grayscale($b-color) {
|
||||
@include pill($b-color, true, $t-size, $pad);
|
||||
}
|
||||
|
||||
@if $type == flat and $b-color == grayscale($b-color) {
|
||||
@include flat($b-color, true, $t-size, $pad);
|
||||
}
|
||||
|
||||
// Colored button
|
||||
@if $type == simple {
|
||||
@include simple($b-color, false, $t-size, $pad);
|
||||
}
|
||||
|
||||
@else if $type == shiny {
|
||||
@include shiny($b-color, false, $t-size, $pad);
|
||||
}
|
||||
|
||||
@else if $type == pill {
|
||||
@include pill($b-color, false, $t-size, $pad);
|
||||
}
|
||||
|
||||
@else if $type == flat {
|
||||
@include flat($b-color, false, $t-size, $pad);
|
||||
}
|
||||
}
|
||||
|
||||
// Simple Button
|
||||
@mixin simple($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
|
||||
$color: hsl(0, 0, 100%);
|
||||
$border: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
||||
$inset-shadow: adjust-color($base-color, $saturation: -8%, $lightness: 15%);
|
||||
$stop-gradient: adjust-color($base-color, $saturation: 9%, $lightness: -11%);
|
||||
$text-shadow: adjust-color($base-color, $saturation: 15%, $lightness: -18%);
|
||||
|
||||
@if is-light($base-color) {
|
||||
$color: hsl(0, 0, 20%);
|
||||
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
||||
}
|
||||
|
||||
@if $grayscale == true {
|
||||
$border: grayscale($border);
|
||||
$inset-shadow: grayscale($inset-shadow);
|
||||
$stop-gradient: grayscale($stop-gradient);
|
||||
$text-shadow: grayscale($text-shadow);
|
||||
}
|
||||
|
||||
border: 1px solid $border;
|
||||
border-radius: 3px;
|
||||
box-shadow: inset 0 1px 0 0 $inset-shadow;
|
||||
color: $color;
|
||||
display: inline-block;
|
||||
font-size: $textsize;
|
||||
font-weight: bold;
|
||||
@include linear-gradient ($base-color, $stop-gradient);
|
||||
padding: $padding;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 1px 0 $text-shadow;
|
||||
background-clip: padding-box;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
$base-color-hover: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
|
||||
$inset-shadow-hover: adjust-color($base-color, $saturation: -7%, $lightness: 5%);
|
||||
$stop-gradient-hover: adjust-color($base-color, $saturation: 8%, $lightness: -14%);
|
||||
|
||||
@if $grayscale == true {
|
||||
$base-color-hover: grayscale($base-color-hover);
|
||||
$inset-shadow-hover: grayscale($inset-shadow-hover);
|
||||
$stop-gradient-hover: grayscale($stop-gradient-hover);
|
||||
}
|
||||
|
||||
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
|
||||
|
||||
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:active:not(:disabled),
|
||||
&:focus:not(:disabled) {
|
||||
$border-active: adjust-color($base-color, $saturation: 9%, $lightness: -14%);
|
||||
$inset-shadow-active: adjust-color($base-color, $saturation: 7%, $lightness: -17%);
|
||||
|
||||
@if $grayscale == true {
|
||||
$border-active: grayscale($border-active);
|
||||
$inset-shadow-active: grayscale($inset-shadow-active);
|
||||
}
|
||||
|
||||
border: 1px solid $border-active;
|
||||
box-shadow: inset 0 0 8px 4px $inset-shadow-active, inset 0 0 8px 4px $inset-shadow-active;
|
||||
}
|
||||
}
|
||||
|
||||
// Shiny Button
|
||||
@mixin shiny($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
|
||||
$color: hsl(0, 0, 100%);
|
||||
$border: adjust-color($base-color, $red: -117, $green: -111, $blue: -81);
|
||||
$border-bottom: adjust-color($base-color, $red: -126, $green: -127, $blue: -122);
|
||||
$fourth-stop: adjust-color($base-color, $red: -79, $green: -70, $blue: -46);
|
||||
$inset-shadow: adjust-color($base-color, $red: 37, $green: 29, $blue: 12);
|
||||
$second-stop: adjust-color($base-color, $red: -56, $green: -50, $blue: -33);
|
||||
$text-shadow: adjust-color($base-color, $red: -140, $green: -141, $blue: -114);
|
||||
$third-stop: adjust-color($base-color, $red: -86, $green: -75, $blue: -48);
|
||||
|
||||
@if is-light($base-color) {
|
||||
$color: hsl(0, 0, 20%);
|
||||
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
||||
}
|
||||
|
||||
@if $grayscale == true {
|
||||
$border: grayscale($border);
|
||||
$border-bottom: grayscale($border-bottom);
|
||||
$fourth-stop: grayscale($fourth-stop);
|
||||
$inset-shadow: grayscale($inset-shadow);
|
||||
$second-stop: grayscale($second-stop);
|
||||
$text-shadow: grayscale($text-shadow);
|
||||
$third-stop: grayscale($third-stop);
|
||||
}
|
||||
|
||||
@include linear-gradient(top, $base-color 0%, $second-stop 50%, $third-stop 50%, $fourth-stop 100%);
|
||||
|
||||
border: 1px solid $border;
|
||||
border-bottom: 1px solid $border-bottom;
|
||||
border-radius: 5px;
|
||||
box-shadow: inset 0 1px 0 0 $inset-shadow;
|
||||
color: $color;
|
||||
display: inline-block;
|
||||
font-size: $textsize;
|
||||
font-weight: bold;
|
||||
padding: $padding;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 1px $text-shadow;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
$first-stop-hover: adjust-color($base-color, $red: -13, $green: -15, $blue: -18);
|
||||
$second-stop-hover: adjust-color($base-color, $red: -66, $green: -62, $blue: -51);
|
||||
$third-stop-hover: adjust-color($base-color, $red: -93, $green: -85, $blue: -66);
|
||||
$fourth-stop-hover: adjust-color($base-color, $red: -86, $green: -80, $blue: -63);
|
||||
|
||||
@if $grayscale == true {
|
||||
$first-stop-hover: grayscale($first-stop-hover);
|
||||
$second-stop-hover: grayscale($second-stop-hover);
|
||||
$third-stop-hover: grayscale($third-stop-hover);
|
||||
$fourth-stop-hover: grayscale($fourth-stop-hover);
|
||||
}
|
||||
|
||||
@include linear-gradient(top, $first-stop-hover 0%,
|
||||
$second-stop-hover 50%,
|
||||
$third-stop-hover 50%,
|
||||
$fourth-stop-hover 100%);
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:active:not(:disabled),
|
||||
&:focus:not(:disabled) {
|
||||
$inset-shadow-active: adjust-color($base-color, $red: -111, $green: -116, $blue: -122);
|
||||
|
||||
@if $grayscale == true {
|
||||
$inset-shadow-active: grayscale($inset-shadow-active);
|
||||
}
|
||||
|
||||
box-shadow: inset 0 0 20px 0 $inset-shadow-active;
|
||||
}
|
||||
}
|
||||
|
||||
// Pill Button
|
||||
@mixin pill($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
|
||||
$color: hsl(0, 0, 100%);
|
||||
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: -11%, $lightness: -26%);
|
||||
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -21%, $lightness: -21%);
|
||||
$border-top: adjust-color($base-color, $hue: -1, $saturation: -30%, $lightness: -15%);
|
||||
$inset-shadow: adjust-color($base-color, $hue: -1, $saturation: -1%, $lightness: 7%);
|
||||
$stop-gradient: adjust-color($base-color, $hue: 8, $saturation: 14%, $lightness: -10%);
|
||||
$text-shadow: adjust-color($base-color, $hue: 5, $saturation: -19%, $lightness: -15%);
|
||||
|
||||
@if is-light($base-color) {
|
||||
$color: hsl(0, 0, 20%);
|
||||
$text-shadow: adjust-color($base-color, $saturation: 10%, $lightness: 4%);
|
||||
}
|
||||
|
||||
@if $grayscale == true {
|
||||
$border-bottom: grayscale($border-bottom);
|
||||
$border-sides: grayscale($border-sides);
|
||||
$border-top: grayscale($border-top);
|
||||
$inset-shadow: grayscale($inset-shadow);
|
||||
$stop-gradient: grayscale($stop-gradient);
|
||||
$text-shadow: grayscale($text-shadow);
|
||||
}
|
||||
|
||||
border: 1px solid $border-top;
|
||||
border-color: $border-top $border-sides $border-bottom;
|
||||
border-radius: 16px;
|
||||
box-shadow: inset 0 1px 0 0 $inset-shadow;
|
||||
color: $color;
|
||||
display: inline-block;
|
||||
font-size: $textsize;
|
||||
font-weight: normal;
|
||||
line-height: 1;
|
||||
@include linear-gradient ($base-color, $stop-gradient);
|
||||
padding: $padding;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-shadow: 0 -1px 1px $text-shadow;
|
||||
background-clip: padding-box;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
$base-color-hover: adjust-color($base-color, $lightness: -4.5%);
|
||||
$border-bottom: adjust-color($base-color, $hue: 8, $saturation: 13.5%, $lightness: -32%);
|
||||
$border-sides: adjust-color($base-color, $hue: 4, $saturation: -2%, $lightness: -27%);
|
||||
$border-top: adjust-color($base-color, $hue: -1, $saturation: -17%, $lightness: -21%);
|
||||
$inset-shadow-hover: adjust-color($base-color, $saturation: -1%, $lightness: 3%);
|
||||
$stop-gradient-hover: adjust-color($base-color, $hue: 8, $saturation: -4%, $lightness: -15.5%);
|
||||
$text-shadow-hover: adjust-color($base-color, $hue: 5, $saturation: -5%, $lightness: -22%);
|
||||
|
||||
@if $grayscale == true {
|
||||
$base-color-hover: grayscale($base-color-hover);
|
||||
$border-bottom: grayscale($border-bottom);
|
||||
$border-sides: grayscale($border-sides);
|
||||
$border-top: grayscale($border-top);
|
||||
$inset-shadow-hover: grayscale($inset-shadow-hover);
|
||||
$stop-gradient-hover: grayscale($stop-gradient-hover);
|
||||
$text-shadow-hover: grayscale($text-shadow-hover);
|
||||
}
|
||||
|
||||
@include linear-gradient ($base-color-hover, $stop-gradient-hover);
|
||||
|
||||
background-clip: padding-box;
|
||||
border: 1px solid $border-top;
|
||||
border-color: $border-top $border-sides $border-bottom;
|
||||
box-shadow: inset 0 1px 0 0 $inset-shadow-hover;
|
||||
cursor: pointer;
|
||||
text-shadow: 0 -1px 1px $text-shadow-hover;
|
||||
}
|
||||
|
||||
&:active:not(:disabled),
|
||||
&:focus:not(:disabled) {
|
||||
$active-color: adjust-color($base-color, $hue: 4, $saturation: -12%, $lightness: -10%);
|
||||
$border-active: adjust-color($base-color, $hue: 6, $saturation: -2.5%, $lightness: -30%);
|
||||
$border-bottom-active: adjust-color($base-color, $hue: 11, $saturation: 6%, $lightness: -31%);
|
||||
$inset-shadow-active: adjust-color($base-color, $hue: 9, $saturation: 2%, $lightness: -21.5%);
|
||||
$text-shadow-active: adjust-color($base-color, $hue: 5, $saturation: -12%, $lightness: -21.5%);
|
||||
|
||||
@if $grayscale == true {
|
||||
$active-color: grayscale($active-color);
|
||||
$border-active: grayscale($border-active);
|
||||
$border-bottom-active: grayscale($border-bottom-active);
|
||||
$inset-shadow-active: grayscale($inset-shadow-active);
|
||||
$text-shadow-active: grayscale($text-shadow-active);
|
||||
}
|
||||
|
||||
background: $active-color;
|
||||
border: 1px solid $border-active;
|
||||
border-bottom: 1px solid $border-bottom-active;
|
||||
box-shadow: inset 0 0 6px 3px $inset-shadow-active;
|
||||
text-shadow: 0 -1px 1px $text-shadow-active;
|
||||
}
|
||||
}
|
||||
|
||||
// Flat Button
|
||||
@mixin flat($base-color, $grayscale: false, $textsize: inherit, $padding: 7px 18px) {
|
||||
$color: hsl(0, 0, 100%);
|
||||
|
||||
@if is-light($base-color) {
|
||||
$color: hsl(0, 0, 20%);
|
||||
}
|
||||
|
||||
background-color: $base-color;
|
||||
border-radius: 3px;
|
||||
border: 0;
|
||||
color: $color;
|
||||
display: inline-block;
|
||||
font-size: $textsize;
|
||||
font-weight: bold;
|
||||
padding: $padding;
|
||||
text-decoration: none;
|
||||
background-clip: padding-box;
|
||||
|
||||
&:hover:not(:disabled){
|
||||
$base-color-hover: adjust-color($base-color, $saturation: 4%, $lightness: 5%);
|
||||
|
||||
@if $grayscale == true {
|
||||
$base-color-hover: grayscale($base-color-hover);
|
||||
}
|
||||
|
||||
background-color: $base-color-hover;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&:active:not(:disabled),
|
||||
&:focus:not(:disabled) {
|
||||
$base-color-active: adjust-color($base-color, $saturation: -4%, $lightness: -5%);
|
||||
|
||||
@if $grayscale == true {
|
||||
$base-color-active: grayscale($base-color-active);
|
||||
}
|
||||
|
||||
background-color: $base-color-active;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
// Flexible grid
|
||||
@function flex-grid($columns, $container-columns: $fg-max-columns) {
|
||||
$width: $columns * $fg-column + ($columns - 1) * $fg-gutter;
|
||||
$container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
|
||||
@return percentage($width / $container-width);
|
||||
|
||||
@warn "The flex-grid function is deprecated and will be removed in the next major version release";
|
||||
}
|
||||
|
||||
// Flexible gutter
|
||||
@function flex-gutter($container-columns: $fg-max-columns, $gutter: $fg-gutter) {
|
||||
$container-width: $container-columns * $fg-column + ($container-columns - 1) * $fg-gutter;
|
||||
@return percentage($gutter / $container-width);
|
||||
|
||||
@warn "The flex-gutter function is deprecated and will be removed in the next major version release";
|
||||
}
|
||||
|
||||
@function grid-width($n) {
|
||||
@return $n * $gw-column + ($n - 1) * $gw-gutter;
|
||||
|
||||
@warn "The grid-width function is deprecated and will be removed in the next major version release";
|
||||
}
|
||||
|
||||
@function golden-ratio($value, $increment) {
|
||||
@return modular-scale($increment, $value, $ratio: $golden);
|
||||
|
||||
@warn "The golden-ratio function is deprecated and will be removed in the next major version release. Please use the modular-scale function, instead.";
|
||||
}
|
||||
|
||||
@mixin box-sizing($box) {
|
||||
@include prefixer(box-sizing, $box, webkit moz spec);
|
||||
|
||||
@warn "The box-sizing mixin is deprecated and will be removed in the next major version release. This property can now be used un-prefixed.";
|
||||
}
|
||||
87
css/sass/bourbon/_bourbon.scss
vendored
Normal file
87
css/sass/bourbon/_bourbon.scss
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
// Bourbon 4.2.3
|
||||
// http://bourbon.io
|
||||
// Copyright 2011-2015 thoughtbot, inc.
|
||||
// MIT License
|
||||
|
||||
@import "settings/prefixer";
|
||||
@import "settings/px-to-em";
|
||||
@import "settings/asset-pipeline";
|
||||
|
||||
@import "functions/assign-inputs";
|
||||
@import "functions/contains";
|
||||
@import "functions/contains-falsy";
|
||||
@import "functions/is-length";
|
||||
@import "functions/is-light";
|
||||
@import "functions/is-number";
|
||||
@import "functions/is-size";
|
||||
@import "functions/px-to-em";
|
||||
@import "functions/px-to-rem";
|
||||
@import "functions/shade";
|
||||
@import "functions/strip-units";
|
||||
@import "functions/tint";
|
||||
@import "functions/transition-property-name";
|
||||
@import "functions/unpack";
|
||||
@import "functions/modular-scale";
|
||||
|
||||
@import "helpers/convert-units";
|
||||
@import "helpers/directional-values";
|
||||
@import "helpers/font-source-declaration";
|
||||
@import "helpers/gradient-positions-parser";
|
||||
@import "helpers/linear-angle-parser";
|
||||
@import "helpers/linear-gradient-parser";
|
||||
@import "helpers/linear-positions-parser";
|
||||
@import "helpers/linear-side-corner-parser";
|
||||
@import "helpers/radial-arg-parser";
|
||||
@import "helpers/radial-positions-parser";
|
||||
@import "helpers/radial-gradient-parser";
|
||||
@import "helpers/render-gradients";
|
||||
@import "helpers/shape-size-stripper";
|
||||
@import "helpers/str-to-num";
|
||||
|
||||
@import "css3/animation";
|
||||
@import "css3/appearance";
|
||||
@import "css3/backface-visibility";
|
||||
@import "css3/background";
|
||||
@import "css3/background-image";
|
||||
@import "css3/border-image";
|
||||
@import "css3/calc";
|
||||
@import "css3/columns";
|
||||
@import "css3/filter";
|
||||
@import "css3/flex-box";
|
||||
@import "css3/font-face";
|
||||
@import "css3/font-feature-settings";
|
||||
@import "css3/hidpi-media-query";
|
||||
@import "css3/hyphens";
|
||||
@import "css3/image-rendering";
|
||||
@import "css3/keyframes";
|
||||
@import "css3/linear-gradient";
|
||||
@import "css3/perspective";
|
||||
@import "css3/placeholder";
|
||||
@import "css3/radial-gradient";
|
||||
@import "css3/selection";
|
||||
@import "css3/text-decoration";
|
||||
@import "css3/transform";
|
||||
@import "css3/transition";
|
||||
@import "css3/user-select";
|
||||
|
||||
@import "addons/border-color";
|
||||
@import "addons/border-radius";
|
||||
@import "addons/border-style";
|
||||
@import "addons/border-width";
|
||||
@import "addons/buttons";
|
||||
@import "addons/clearfix";
|
||||
@import "addons/ellipsis";
|
||||
@import "addons/font-stacks";
|
||||
@import "addons/hide-text";
|
||||
@import "addons/margin";
|
||||
@import "addons/padding";
|
||||
@import "addons/position";
|
||||
@import "addons/prefixer";
|
||||
@import "addons/retina-image";
|
||||
@import "addons/size";
|
||||
@import "addons/text-inputs";
|
||||
@import "addons/timing-functions";
|
||||
@import "addons/triangle";
|
||||
@import "addons/word-wrap";
|
||||
|
||||
@import "bourbon-deprecated-upcoming";
|
||||
26
css/sass/bourbon/addons/_border-color.scss
vendored
Normal file
26
css/sass/bourbon/addons/_border-color.scss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for targeting `border-color` on specific sides of a box. Use a `null` value to “skip” a side.
|
||||
///
|
||||
/// @param {Arglist} $vals
|
||||
/// List of arguments
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include border-color(#a60b55 #76cd9c null #e8ae1a);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// border-left-color: #e8ae1a;
|
||||
/// border-right-color: #76cd9c;
|
||||
/// border-top-color: #a60b55;
|
||||
/// }
|
||||
///
|
||||
/// @require {mixin} directional-property
|
||||
///
|
||||
/// @output `border-color`
|
||||
|
||||
@mixin border-color($vals...) {
|
||||
@include directional-property(border, color, $vals...);
|
||||
}
|
||||
48
css/sass/bourbon/addons/_border-radius.scss
vendored
Normal file
48
css/sass/bourbon/addons/_border-radius.scss
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for targeting `border-radius` on both corners on the side of a box.
|
||||
///
|
||||
/// @param {Number} $radii
|
||||
/// List of arguments
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element-one {
|
||||
/// @include border-top-radius(5px);
|
||||
/// }
|
||||
///
|
||||
/// .element-two {
|
||||
/// @include border-left-radius(3px);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element-one {
|
||||
/// border-top-left-radius: 5px;
|
||||
/// border-top-right-radius: 5px;
|
||||
/// }
|
||||
///
|
||||
/// .element-two {
|
||||
/// border-bottom-left-radius: 3px;
|
||||
/// border-top-left-radius: 3px;
|
||||
/// }
|
||||
///
|
||||
/// @output `border-radius`
|
||||
|
||||
@mixin border-top-radius($radii) {
|
||||
border-top-left-radius: $radii;
|
||||
border-top-right-radius: $radii;
|
||||
}
|
||||
|
||||
@mixin border-right-radius($radii) {
|
||||
border-bottom-right-radius: $radii;
|
||||
border-top-right-radius: $radii;
|
||||
}
|
||||
|
||||
@mixin border-bottom-radius($radii) {
|
||||
border-bottom-left-radius: $radii;
|
||||
border-bottom-right-radius: $radii;
|
||||
}
|
||||
|
||||
@mixin border-left-radius($radii) {
|
||||
border-bottom-left-radius: $radii;
|
||||
border-top-left-radius: $radii;
|
||||
}
|
||||
25
css/sass/bourbon/addons/_border-style.scss
vendored
Normal file
25
css/sass/bourbon/addons/_border-style.scss
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for targeting `border-style` on specific sides of a box. Use a `null` value to “skip” a side.
|
||||
///
|
||||
/// @param {Arglist} $vals
|
||||
/// List of arguments
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include border-style(dashed null solid);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// border-bottom-style: solid;
|
||||
/// border-top-style: dashed;
|
||||
/// }
|
||||
///
|
||||
/// @require {mixin} directional-property
|
||||
///
|
||||
/// @output `border-style`
|
||||
|
||||
@mixin border-style($vals...) {
|
||||
@include directional-property(border, style, $vals...);
|
||||
}
|
||||
25
css/sass/bourbon/addons/_border-width.scss
vendored
Normal file
25
css/sass/bourbon/addons/_border-width.scss
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for targeting `border-width` on specific sides of a box. Use a `null` value to “skip” a side.
|
||||
///
|
||||
/// @param {Arglist} $vals
|
||||
/// List of arguments
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include border-width(1em null 20px);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// border-bottom-width: 20px;
|
||||
/// border-top-width: 1em;
|
||||
/// }
|
||||
///
|
||||
/// @require {mixin} directional-property
|
||||
///
|
||||
/// @output `border-width`
|
||||
|
||||
@mixin border-width($vals...) {
|
||||
@include directional-property(border, width, $vals...);
|
||||
}
|
||||
64
css/sass/bourbon/addons/_buttons.scss
vendored
Normal file
64
css/sass/bourbon/addons/_buttons.scss
vendored
Normal file
@@ -0,0 +1,64 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Generates variables for all buttons. Please note that you must use interpolation on the variable: `#{$all-buttons}`.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// #{$all-buttons} {
|
||||
/// background-color: #f00;
|
||||
/// }
|
||||
///
|
||||
/// #{$all-buttons-focus},
|
||||
/// #{$all-buttons-hover} {
|
||||
/// background-color: #0f0;
|
||||
/// }
|
||||
///
|
||||
/// #{$all-buttons-active} {
|
||||
/// background-color: #00f;
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// button,
|
||||
/// input[type="button"],
|
||||
/// input[type="reset"],
|
||||
/// input[type="submit"] {
|
||||
/// background-color: #f00;
|
||||
/// }
|
||||
///
|
||||
/// button:focus,
|
||||
/// input[type="button"]:focus,
|
||||
/// input[type="reset"]:focus,
|
||||
/// input[type="submit"]:focus,
|
||||
/// button:hover,
|
||||
/// input[type="button"]:hover,
|
||||
/// input[type="reset"]:hover,
|
||||
/// input[type="submit"]:hover {
|
||||
/// background-color: #0f0;
|
||||
/// }
|
||||
///
|
||||
/// button:active,
|
||||
/// input[type="button"]:active,
|
||||
/// input[type="reset"]:active,
|
||||
/// input[type="submit"]:active {
|
||||
/// background-color: #00f;
|
||||
/// }
|
||||
///
|
||||
/// @require assign-inputs
|
||||
///
|
||||
/// @type List
|
||||
///
|
||||
/// @todo Remove double assigned variables (Lines 59–62) in v5.0.0
|
||||
|
||||
$buttons-list: 'button',
|
||||
'input[type="button"]',
|
||||
'input[type="reset"]',
|
||||
'input[type="submit"]';
|
||||
|
||||
$all-buttons: assign-inputs($buttons-list);
|
||||
$all-buttons-active: assign-inputs($buttons-list, active);
|
||||
$all-buttons-focus: assign-inputs($buttons-list, focus);
|
||||
$all-buttons-hover: assign-inputs($buttons-list, hover);
|
||||
|
||||
$all-button-inputs: $all-buttons;
|
||||
$all-button-inputs-active: $all-buttons-active;
|
||||
$all-button-inputs-focus: $all-buttons-focus;
|
||||
$all-button-inputs-hover: $all-buttons-hover;
|
||||
25
css/sass/bourbon/addons/_clearfix.scss
vendored
Normal file
25
css/sass/bourbon/addons/_clearfix.scss
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides an easy way to include a clearfix for containing floats.
|
||||
///
|
||||
/// @link http://cssmojo.com/latest_new_clearfix_so_far/
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include clearfix;
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element::after {
|
||||
/// clear: both;
|
||||
/// content: "";
|
||||
/// display: table;
|
||||
/// }
|
||||
|
||||
@mixin clearfix {
|
||||
&::after {
|
||||
clear: both;
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
}
|
||||
30
css/sass/bourbon/addons/_ellipsis.scss
vendored
Normal file
30
css/sass/bourbon/addons/_ellipsis.scss
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Truncates text and adds an ellipsis to represent overflow.
|
||||
///
|
||||
/// @param {Number} $width [100%]
|
||||
/// Max-width for the string to respect before being truncated
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include ellipsis;
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// display: inline-block;
|
||||
/// max-width: 100%;
|
||||
/// overflow: hidden;
|
||||
/// text-overflow: ellipsis;
|
||||
/// white-space: nowrap;
|
||||
/// word-wrap: normal;
|
||||
/// }
|
||||
|
||||
@mixin ellipsis($width: 100%) {
|
||||
display: inline-block;
|
||||
max-width: $width;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
word-wrap: normal;
|
||||
}
|
||||
31
css/sass/bourbon/addons/_font-stacks.scss
vendored
Normal file
31
css/sass/bourbon/addons/_font-stacks.scss
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Georgia font stack.
|
||||
///
|
||||
/// @type List
|
||||
|
||||
$georgia: "Georgia", "Cambria", "Times New Roman", "Times", serif;
|
||||
|
||||
/// Helvetica font stack.
|
||||
///
|
||||
/// @type List
|
||||
|
||||
$helvetica: "Helvetica Neue", "Helvetica", "Roboto", "Arial", sans-serif;
|
||||
|
||||
/// Lucida Grande font stack.
|
||||
///
|
||||
/// @type List
|
||||
|
||||
$lucida-grande: "Lucida Grande", "Tahoma", "Verdana", "Arial", sans-serif;
|
||||
|
||||
/// Monospace font stack.
|
||||
///
|
||||
/// @type List
|
||||
|
||||
$monospace: "Bitstream Vera Sans Mono", "Consolas", "Courier", monospace;
|
||||
|
||||
/// Verdana font stack.
|
||||
///
|
||||
/// @type List
|
||||
|
||||
$verdana: "Verdana", "Geneva", sans-serif;
|
||||
27
css/sass/bourbon/addons/_hide-text.scss
vendored
Normal file
27
css/sass/bourbon/addons/_hide-text.scss
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
/// Hides the text in an element, commonly used to show an image. Some elements will need block-level styles applied.
|
||||
///
|
||||
/// @link http://zeldman.com/2012/03/01/replacing-the-9999px-hack-new-image-replacement
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include hide-text;
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// overflow: hidden;
|
||||
/// text-indent: 101%;
|
||||
/// white-space: nowrap;
|
||||
/// }
|
||||
///
|
||||
/// @todo Remove height argument in v5.0.0
|
||||
|
||||
@mixin hide-text($height: null) {
|
||||
overflow: hidden;
|
||||
text-indent: 101%;
|
||||
white-space: nowrap;
|
||||
|
||||
@if $height {
|
||||
@warn "The `hide-text` mixin has changed and no longer requires a height. The height argument will no longer be accepted in v5.0.0";
|
||||
}
|
||||
}
|
||||
26
css/sass/bourbon/addons/_margin.scss
vendored
Normal file
26
css/sass/bourbon/addons/_margin.scss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for targeting `margin` on specific sides of a box. Use a `null` value to “skip” a side.
|
||||
///
|
||||
/// @param {Arglist} $vals
|
||||
/// List of arguments
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include margin(null 10px 3em 20vh);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// margin-bottom: 3em;
|
||||
/// margin-left: 20vh;
|
||||
/// margin-right: 10px;
|
||||
/// }
|
||||
///
|
||||
/// @require {mixin} directional-property
|
||||
///
|
||||
/// @output `margin`
|
||||
|
||||
@mixin margin($vals...) {
|
||||
@include directional-property(margin, false, $vals...);
|
||||
}
|
||||
26
css/sass/bourbon/addons/_padding.scss
vendored
Normal file
26
css/sass/bourbon/addons/_padding.scss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for targeting `padding` on specific sides of a box. Use a `null` value to “skip” a side.
|
||||
///
|
||||
/// @param {Arglist} $vals
|
||||
/// List of arguments
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include padding(12vh null 10px 5%);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// padding-bottom: 10px;
|
||||
/// padding-left: 5%;
|
||||
/// padding-top: 12vh;
|
||||
/// }
|
||||
///
|
||||
/// @require {mixin} directional-property
|
||||
///
|
||||
/// @output `padding`
|
||||
|
||||
@mixin padding($vals...) {
|
||||
@include directional-property(padding, false, $vals...);
|
||||
}
|
||||
48
css/sass/bourbon/addons/_position.scss
vendored
Normal file
48
css/sass/bourbon/addons/_position.scss
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides a quick method for setting an element’s position. Use a `null` value to “skip” a side.
|
||||
///
|
||||
/// @param {Position} $position [relative]
|
||||
/// A CSS position value
|
||||
///
|
||||
/// @param {Arglist} $coordinates [null null null null]
|
||||
/// List of values that correspond to the 4-value syntax for the edges of a box
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include position(absolute, 0 null null 10em);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// left: 10em;
|
||||
/// position: absolute;
|
||||
/// top: 0;
|
||||
/// }
|
||||
///
|
||||
/// @require {function} is-length
|
||||
/// @require {function} unpack
|
||||
|
||||
@mixin position($position: relative, $coordinates: null null null null) {
|
||||
@if type-of($position) == list {
|
||||
$coordinates: $position;
|
||||
$position: relative;
|
||||
}
|
||||
|
||||
$coordinates: unpack($coordinates);
|
||||
|
||||
$offsets: (
|
||||
top: nth($coordinates, 1),
|
||||
right: nth($coordinates, 2),
|
||||
bottom: nth($coordinates, 3),
|
||||
left: nth($coordinates, 4)
|
||||
);
|
||||
|
||||
position: $position;
|
||||
|
||||
@each $offset, $value in $offsets {
|
||||
@if is-length($value) {
|
||||
#{$offset}: $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
66
css/sass/bourbon/addons/_prefixer.scss
vendored
Normal file
66
css/sass/bourbon/addons/_prefixer.scss
vendored
Normal file
@@ -0,0 +1,66 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// A mixin for generating vendor prefixes on non-standardized properties.
|
||||
///
|
||||
/// @param {String} $property
|
||||
/// Property to prefix
|
||||
///
|
||||
/// @param {*} $value
|
||||
/// Value to use
|
||||
///
|
||||
/// @param {List} $prefixes
|
||||
/// Prefixes to define
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include prefixer(border-radius, 10px, webkit ms spec);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// -webkit-border-radius: 10px;
|
||||
/// -moz-border-radius: 10px;
|
||||
/// border-radius: 10px;
|
||||
/// }
|
||||
///
|
||||
/// @require {variable} $prefix-for-webkit
|
||||
/// @require {variable} $prefix-for-mozilla
|
||||
/// @require {variable} $prefix-for-microsoft
|
||||
/// @require {variable} $prefix-for-opera
|
||||
/// @require {variable} $prefix-for-spec
|
||||
|
||||
@mixin prefixer($property, $value, $prefixes) {
|
||||
@each $prefix in $prefixes {
|
||||
@if $prefix == webkit {
|
||||
@if $prefix-for-webkit {
|
||||
-webkit-#{$property}: $value;
|
||||
}
|
||||
} @else if $prefix == moz {
|
||||
@if $prefix-for-mozilla {
|
||||
-moz-#{$property}: $value;
|
||||
}
|
||||
} @else if $prefix == ms {
|
||||
@if $prefix-for-microsoft {
|
||||
-ms-#{$property}: $value;
|
||||
}
|
||||
} @else if $prefix == o {
|
||||
@if $prefix-for-opera {
|
||||
-o-#{$property}: $value;
|
||||
}
|
||||
} @else if $prefix == spec {
|
||||
@if $prefix-for-spec {
|
||||
#{$property}: $value;
|
||||
}
|
||||
} @else {
|
||||
@warn "Unrecognized prefix: #{$prefix}";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin disable-prefix-for-all() {
|
||||
$prefix-for-webkit: false !global;
|
||||
$prefix-for-mozilla: false !global;
|
||||
$prefix-for-microsoft: false !global;
|
||||
$prefix-for-opera: false !global;
|
||||
$prefix-for-spec: false !global;
|
||||
}
|
||||
25
css/sass/bourbon/addons/_retina-image.scss
vendored
Normal file
25
css/sass/bourbon/addons/_retina-image.scss
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
@mixin retina-image($filename, $background-size, $extension: png, $retina-filename: null, $retina-suffix: _2x, $asset-pipeline: $asset-pipeline) {
|
||||
@if $asset-pipeline {
|
||||
background-image: image-url("#{$filename}.#{$extension}");
|
||||
} @else {
|
||||
background-image: url("#{$filename}.#{$extension}");
|
||||
}
|
||||
|
||||
@include hidpi {
|
||||
@if $asset-pipeline {
|
||||
@if $retina-filename {
|
||||
background-image: image-url("#{$retina-filename}.#{$extension}");
|
||||
} @else {
|
||||
background-image: image-url("#{$filename}#{$retina-suffix}.#{$extension}");
|
||||
}
|
||||
} @else {
|
||||
@if $retina-filename {
|
||||
background-image: url("#{$retina-filename}.#{$extension}");
|
||||
} @else {
|
||||
background-image: url("#{$filename}#{$retina-suffix}.#{$extension}");
|
||||
}
|
||||
}
|
||||
|
||||
background-size: $background-size;
|
||||
}
|
||||
}
|
||||
51
css/sass/bourbon/addons/_size.scss
vendored
Normal file
51
css/sass/bourbon/addons/_size.scss
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Sets the `width` and `height` of the element.
|
||||
///
|
||||
/// @param {List} $size
|
||||
/// A list of at most 2 size values.
|
||||
///
|
||||
/// If there is only a single value in `$size` it is used for both width and height. All units are supported.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .first-element {
|
||||
/// @include size(2em);
|
||||
/// }
|
||||
///
|
||||
/// .second-element {
|
||||
/// @include size(auto 10em);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .first-element {
|
||||
/// width: 2em;
|
||||
/// height: 2em;
|
||||
/// }
|
||||
///
|
||||
/// .second-element {
|
||||
/// width: auto;
|
||||
/// height: 10em;
|
||||
/// }
|
||||
///
|
||||
/// @todo Refactor in 5.0.0 to use a comma-separated argument
|
||||
|
||||
@mixin size($value) {
|
||||
$width: nth($value, 1);
|
||||
$height: $width;
|
||||
|
||||
@if length($value) > 1 {
|
||||
$height: nth($value, 2);
|
||||
}
|
||||
|
||||
@if is-size($height) {
|
||||
height: $height;
|
||||
} @else {
|
||||
@warn "`#{$height}` is not a valid length for the `$height` parameter in the `size` mixin.";
|
||||
}
|
||||
|
||||
@if is-size($width) {
|
||||
width: $width;
|
||||
} @else {
|
||||
@warn "`#{$width}` is not a valid length for the `$width` parameter in the `size` mixin.";
|
||||
}
|
||||
}
|
||||
112
css/sass/bourbon/addons/_text-inputs.scss
vendored
Normal file
112
css/sass/bourbon/addons/_text-inputs.scss
vendored
Normal file
@@ -0,0 +1,112 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Generates variables for all text-based inputs. Please note that you must use interpolation on the variable: `#{$all-text-inputs}`.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// #{$all-text-inputs} {
|
||||
/// border: 1px solid #f00;
|
||||
/// }
|
||||
///
|
||||
/// #{$all-text-inputs-focus},
|
||||
/// #{$all-text-inputs-hover} {
|
||||
/// border: 1px solid #0f0;
|
||||
/// }
|
||||
///
|
||||
/// #{$all-text-inputs-active} {
|
||||
/// border: 1px solid #00f;
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// input[type="color"],
|
||||
/// input[type="date"],
|
||||
/// input[type="datetime"],
|
||||
/// input[type="datetime-local"],
|
||||
/// input[type="email"],
|
||||
/// input[type="month"],
|
||||
/// input[type="number"],
|
||||
/// input[type="password"],
|
||||
/// input[type="search"],
|
||||
/// input[type="tel"],
|
||||
/// input[type="text"],
|
||||
/// input[type="time"],
|
||||
/// input[type="url"],
|
||||
/// input[type="week"],
|
||||
/// textarea {
|
||||
/// border: 1px solid #f00;
|
||||
/// }
|
||||
///
|
||||
/// input[type="color"]:focus,
|
||||
/// input[type="date"]:focus,
|
||||
/// input[type="datetime"]:focus,
|
||||
/// input[type="datetime-local"]:focus,
|
||||
/// input[type="email"]:focus,
|
||||
/// input[type="month"]:focus,
|
||||
/// input[type="number"]:focus,
|
||||
/// input[type="password"]:focus,
|
||||
/// input[type="search"]:focus,
|
||||
/// input[type="tel"]:focus,
|
||||
/// input[type="text"]:focus,
|
||||
/// input[type="time"]:focus,
|
||||
/// input[type="url"]:focus,
|
||||
/// input[type="week"]:focus,
|
||||
/// textarea:focus,
|
||||
/// input[type="color"]:hover,
|
||||
/// input[type="date"]:hover,
|
||||
/// input[type="datetime"]:hover,
|
||||
/// input[type="datetime-local"]:hover,
|
||||
/// input[type="email"]:hover,
|
||||
/// input[type="month"]:hover,
|
||||
/// input[type="number"]:hover,
|
||||
/// input[type="password"]:hover,
|
||||
/// input[type="search"]:hover,
|
||||
/// input[type="tel"]:hover,
|
||||
/// input[type="text"]:hover,
|
||||
/// input[type="time"]:hover,
|
||||
/// input[type="url"]:hover,
|
||||
/// input[type="week"]:hover,
|
||||
/// textarea:hover {
|
||||
/// border: 1px solid #0f0;
|
||||
/// }
|
||||
///
|
||||
/// input[type="color"]:active,
|
||||
/// input[type="date"]:active,
|
||||
/// input[type="datetime"]:active,
|
||||
/// input[type="datetime-local"]:active,
|
||||
/// input[type="email"]:active,
|
||||
/// input[type="month"]:active,
|
||||
/// input[type="number"]:active,
|
||||
/// input[type="password"]:active,
|
||||
/// input[type="search"]:active,
|
||||
/// input[type="tel"]:active,
|
||||
/// input[type="text"]:active,
|
||||
/// input[type="time"]:active,
|
||||
/// input[type="url"]:active,
|
||||
/// input[type="week"]:active,
|
||||
/// textarea:active {
|
||||
/// border: 1px solid #00f;
|
||||
/// }
|
||||
///
|
||||
/// @require assign-inputs
|
||||
///
|
||||
/// @type List
|
||||
|
||||
$text-inputs-list: 'input[type="color"]',
|
||||
'input[type="date"]',
|
||||
'input[type="datetime"]',
|
||||
'input[type="datetime-local"]',
|
||||
'input[type="email"]',
|
||||
'input[type="month"]',
|
||||
'input[type="number"]',
|
||||
'input[type="password"]',
|
||||
'input[type="search"]',
|
||||
'input[type="tel"]',
|
||||
'input[type="text"]',
|
||||
'input[type="time"]',
|
||||
'input[type="url"]',
|
||||
'input[type="week"]',
|
||||
'textarea';
|
||||
|
||||
$all-text-inputs: assign-inputs($text-inputs-list);
|
||||
$all-text-inputs-active: assign-inputs($text-inputs-list, active);
|
||||
$all-text-inputs-focus: assign-inputs($text-inputs-list, focus);
|
||||
$all-text-inputs-hover: assign-inputs($text-inputs-list, hover);
|
||||
34
css/sass/bourbon/addons/_timing-functions.scss
vendored
Normal file
34
css/sass/bourbon/addons/_timing-functions.scss
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// CSS cubic-bezier timing functions. Timing functions courtesy of jquery.easie (github.com/jaukia/easie)
|
||||
///
|
||||
/// Timing functions are the same as demoed here: http://jqueryui.com/resources/demos/effect/easing.html
|
||||
///
|
||||
/// @type cubic-bezier
|
||||
|
||||
$ease-in-quad: cubic-bezier(0.550, 0.085, 0.680, 0.530);
|
||||
$ease-in-cubic: cubic-bezier(0.550, 0.055, 0.675, 0.190);
|
||||
$ease-in-quart: cubic-bezier(0.895, 0.030, 0.685, 0.220);
|
||||
$ease-in-quint: cubic-bezier(0.755, 0.050, 0.855, 0.060);
|
||||
$ease-in-sine: cubic-bezier(0.470, 0.000, 0.745, 0.715);
|
||||
$ease-in-expo: cubic-bezier(0.950, 0.050, 0.795, 0.035);
|
||||
$ease-in-circ: cubic-bezier(0.600, 0.040, 0.980, 0.335);
|
||||
$ease-in-back: cubic-bezier(0.600, -0.280, 0.735, 0.045);
|
||||
|
||||
$ease-out-quad: cubic-bezier(0.250, 0.460, 0.450, 0.940);
|
||||
$ease-out-cubic: cubic-bezier(0.215, 0.610, 0.355, 1.000);
|
||||
$ease-out-quart: cubic-bezier(0.165, 0.840, 0.440, 1.000);
|
||||
$ease-out-quint: cubic-bezier(0.230, 1.000, 0.320, 1.000);
|
||||
$ease-out-sine: cubic-bezier(0.390, 0.575, 0.565, 1.000);
|
||||
$ease-out-expo: cubic-bezier(0.190, 1.000, 0.220, 1.000);
|
||||
$ease-out-circ: cubic-bezier(0.075, 0.820, 0.165, 1.000);
|
||||
$ease-out-back: cubic-bezier(0.175, 0.885, 0.320, 1.275);
|
||||
|
||||
$ease-in-out-quad: cubic-bezier(0.455, 0.030, 0.515, 0.955);
|
||||
$ease-in-out-cubic: cubic-bezier(0.645, 0.045, 0.355, 1.000);
|
||||
$ease-in-out-quart: cubic-bezier(0.770, 0.000, 0.175, 1.000);
|
||||
$ease-in-out-quint: cubic-bezier(0.860, 0.000, 0.070, 1.000);
|
||||
$ease-in-out-sine: cubic-bezier(0.445, 0.050, 0.550, 0.950);
|
||||
$ease-in-out-expo: cubic-bezier(1.000, 0.000, 0.000, 1.000);
|
||||
$ease-in-out-circ: cubic-bezier(0.785, 0.135, 0.150, 0.860);
|
||||
$ease-in-out-back: cubic-bezier(0.680, -0.550, 0.265, 1.550);
|
||||
63
css/sass/bourbon/addons/_triangle.scss
vendored
Normal file
63
css/sass/bourbon/addons/_triangle.scss
vendored
Normal file
@@ -0,0 +1,63 @@
|
||||
@mixin triangle($size, $color, $direction) {
|
||||
$width: nth($size, 1);
|
||||
$height: nth($size, length($size));
|
||||
$foreground-color: nth($color, 1);
|
||||
$background-color: if(length($color) == 2, nth($color, 2), transparent);
|
||||
height: 0;
|
||||
width: 0;
|
||||
|
||||
@if ($direction == up) or ($direction == down) or ($direction == right) or ($direction == left) {
|
||||
$width: $width / 2;
|
||||
$height: if(length($size) > 1, $height, $height/2);
|
||||
|
||||
@if $direction == up {
|
||||
border-bottom: $height solid $foreground-color;
|
||||
border-left: $width solid $background-color;
|
||||
border-right: $width solid $background-color;
|
||||
} @else if $direction == right {
|
||||
border-bottom: $width solid $background-color;
|
||||
border-left: $height solid $foreground-color;
|
||||
border-top: $width solid $background-color;
|
||||
} @else if $direction == down {
|
||||
border-left: $width solid $background-color;
|
||||
border-right: $width solid $background-color;
|
||||
border-top: $height solid $foreground-color;
|
||||
} @else if $direction == left {
|
||||
border-bottom: $width solid $background-color;
|
||||
border-right: $height solid $foreground-color;
|
||||
border-top: $width solid $background-color;
|
||||
}
|
||||
} @else if ($direction == up-right) or ($direction == up-left) {
|
||||
border-top: $height solid $foreground-color;
|
||||
|
||||
@if $direction == up-right {
|
||||
border-left: $width solid $background-color;
|
||||
} @else if $direction == up-left {
|
||||
border-right: $width solid $background-color;
|
||||
}
|
||||
} @else if ($direction == down-right) or ($direction == down-left) {
|
||||
border-bottom: $height solid $foreground-color;
|
||||
|
||||
@if $direction == down-right {
|
||||
border-left: $width solid $background-color;
|
||||
} @else if $direction == down-left {
|
||||
border-right: $width solid $background-color;
|
||||
}
|
||||
} @else if ($direction == inset-up) {
|
||||
border-color: $background-color $background-color $foreground-color;
|
||||
border-style: solid;
|
||||
border-width: $height $width;
|
||||
} @else if ($direction == inset-down) {
|
||||
border-color: $foreground-color $background-color $background-color;
|
||||
border-style: solid;
|
||||
border-width: $height $width;
|
||||
} @else if ($direction == inset-right) {
|
||||
border-color: $background-color $background-color $background-color $foreground-color;
|
||||
border-style: solid;
|
||||
border-width: $width $height;
|
||||
} @else if ($direction == inset-left) {
|
||||
border-color: $background-color $foreground-color $background-color $background-color;
|
||||
border-style: solid;
|
||||
border-width: $width $height;
|
||||
}
|
||||
}
|
||||
29
css/sass/bourbon/addons/_word-wrap.scss
vendored
Normal file
29
css/sass/bourbon/addons/_word-wrap.scss
vendored
Normal file
@@ -0,0 +1,29 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Provides an easy way to change the `word-wrap` property.
|
||||
///
|
||||
/// @param {String} $wrap [break-word]
|
||||
/// Value for the `word-break` property.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .wrapper {
|
||||
/// @include word-wrap(break-word);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .wrapper {
|
||||
/// overflow-wrap: break-word;
|
||||
/// word-break: break-all;
|
||||
/// word-wrap: break-word;
|
||||
/// }
|
||||
|
||||
@mixin word-wrap($wrap: break-word) {
|
||||
overflow-wrap: $wrap;
|
||||
word-wrap: $wrap;
|
||||
|
||||
@if $wrap == break-word {
|
||||
word-break: break-all;
|
||||
} @else {
|
||||
word-break: $wrap;
|
||||
}
|
||||
}
|
||||
43
css/sass/bourbon/css3/_animation.scss
vendored
Normal file
43
css/sass/bourbon/css3/_animation.scss
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
// http://www.w3.org/TR/css3-animations/#the-animation-name-property-
|
||||
// Each of these mixins support comma separated lists of values, which allows different transitions for individual properties to be described in a single style rule. Each value in the list corresponds to the value at that same position in the other properties.
|
||||
|
||||
@mixin animation($animations...) {
|
||||
@include prefixer(animation, $animations, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-name($names...) {
|
||||
@include prefixer(animation-name, $names, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-duration($times...) {
|
||||
@include prefixer(animation-duration, $times, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-timing-function($motions...) {
|
||||
// ease | linear | ease-in | ease-out | ease-in-out
|
||||
@include prefixer(animation-timing-function, $motions, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-iteration-count($values...) {
|
||||
// infinite | <number>
|
||||
@include prefixer(animation-iteration-count, $values, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-direction($directions...) {
|
||||
// normal | alternate
|
||||
@include prefixer(animation-direction, $directions, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-play-state($states...) {
|
||||
// running | paused
|
||||
@include prefixer(animation-play-state, $states, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-delay($times...) {
|
||||
@include prefixer(animation-delay, $times, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin animation-fill-mode($modes...) {
|
||||
// none | forwards | backwards | both
|
||||
@include prefixer(animation-fill-mode, $modes, webkit moz spec);
|
||||
}
|
||||
3
css/sass/bourbon/css3/_appearance.scss
vendored
Normal file
3
css/sass/bourbon/css3/_appearance.scss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@mixin appearance($value) {
|
||||
@include prefixer(appearance, $value, webkit moz ms o spec);
|
||||
}
|
||||
3
css/sass/bourbon/css3/_backface-visibility.scss
vendored
Normal file
3
css/sass/bourbon/css3/_backface-visibility.scss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@mixin backface-visibility($visibility) {
|
||||
@include prefixer(backface-visibility, $visibility, webkit spec);
|
||||
}
|
||||
42
css/sass/bourbon/css3/_background-image.scss
vendored
Normal file
42
css/sass/bourbon/css3/_background-image.scss
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
//************************************************************************//
|
||||
// Background-image property for adding multiple background images with
|
||||
// gradients, or for stringing multiple gradients together.
|
||||
//************************************************************************//
|
||||
|
||||
@mixin background-image($images...) {
|
||||
$webkit-images: ();
|
||||
$spec-images: ();
|
||||
|
||||
@each $image in $images {
|
||||
$webkit-image: ();
|
||||
$spec-image: ();
|
||||
|
||||
@if (type-of($image) == string) {
|
||||
$url-str: str-slice($image, 0, 3);
|
||||
$gradient-type: str-slice($image, 0, 6);
|
||||
|
||||
@if $url-str == "url" {
|
||||
$webkit-image: $image;
|
||||
$spec-image: $image;
|
||||
}
|
||||
|
||||
@else if $gradient-type == "linear" {
|
||||
$gradients: _linear-gradient-parser($image);
|
||||
$webkit-image: map-get($gradients, webkit-image);
|
||||
$spec-image: map-get($gradients, spec-image);
|
||||
}
|
||||
|
||||
@else if $gradient-type == "radial" {
|
||||
$gradients: _radial-gradient-parser($image);
|
||||
$webkit-image: map-get($gradients, webkit-image);
|
||||
$spec-image: map-get($gradients, spec-image);
|
||||
}
|
||||
}
|
||||
|
||||
$webkit-images: append($webkit-images, $webkit-image, comma);
|
||||
$spec-images: append($spec-images, $spec-image, comma);
|
||||
}
|
||||
|
||||
background-image: $webkit-images;
|
||||
background-image: $spec-images;
|
||||
}
|
||||
55
css/sass/bourbon/css3/_background.scss
vendored
Normal file
55
css/sass/bourbon/css3/_background.scss
vendored
Normal file
@@ -0,0 +1,55 @@
|
||||
//************************************************************************//
|
||||
// Background property for adding multiple backgrounds using shorthand
|
||||
// notation.
|
||||
//************************************************************************//
|
||||
|
||||
@mixin background($backgrounds...) {
|
||||
$webkit-backgrounds: ();
|
||||
$spec-backgrounds: ();
|
||||
|
||||
@each $background in $backgrounds {
|
||||
$webkit-background: ();
|
||||
$spec-background: ();
|
||||
$background-type: type-of($background);
|
||||
|
||||
@if $background-type == string or $background-type == list {
|
||||
$background-str: if($background-type == list, nth($background, 1), $background);
|
||||
|
||||
$url-str: str-slice($background-str, 0, 3);
|
||||
$gradient-type: str-slice($background-str, 0, 6);
|
||||
|
||||
@if $url-str == "url" {
|
||||
$webkit-background: $background;
|
||||
$spec-background: $background;
|
||||
}
|
||||
|
||||
@else if $gradient-type == "linear" {
|
||||
$gradients: _linear-gradient-parser("#{$background}");
|
||||
$webkit-background: map-get($gradients, webkit-image);
|
||||
$spec-background: map-get($gradients, spec-image);
|
||||
}
|
||||
|
||||
@else if $gradient-type == "radial" {
|
||||
$gradients: _radial-gradient-parser("#{$background}");
|
||||
$webkit-background: map-get($gradients, webkit-image);
|
||||
$spec-background: map-get($gradients, spec-image);
|
||||
}
|
||||
|
||||
@else {
|
||||
$webkit-background: $background;
|
||||
$spec-background: $background;
|
||||
}
|
||||
}
|
||||
|
||||
@else {
|
||||
$webkit-background: $background;
|
||||
$spec-background: $background;
|
||||
}
|
||||
|
||||
$webkit-backgrounds: append($webkit-backgrounds, $webkit-background, comma);
|
||||
$spec-backgrounds: append($spec-backgrounds, $spec-background, comma);
|
||||
}
|
||||
|
||||
background: $webkit-backgrounds;
|
||||
background: $spec-backgrounds;
|
||||
}
|
||||
59
css/sass/bourbon/css3/_border-image.scss
vendored
Normal file
59
css/sass/bourbon/css3/_border-image.scss
vendored
Normal file
@@ -0,0 +1,59 @@
|
||||
@mixin border-image($borders...) {
|
||||
$webkit-borders: ();
|
||||
$spec-borders: ();
|
||||
|
||||
@each $border in $borders {
|
||||
$webkit-border: ();
|
||||
$spec-border: ();
|
||||
$border-type: type-of($border);
|
||||
|
||||
@if $border-type == string or list {
|
||||
$border-str: if($border-type == list, nth($border, 1), $border);
|
||||
|
||||
$url-str: str-slice($border-str, 0, 3);
|
||||
$gradient-type: str-slice($border-str, 0, 6);
|
||||
|
||||
@if $url-str == "url" {
|
||||
$webkit-border: $border;
|
||||
$spec-border: $border;
|
||||
}
|
||||
|
||||
@else if $gradient-type == "linear" {
|
||||
$gradients: _linear-gradient-parser("#{$border}");
|
||||
$webkit-border: map-get($gradients, webkit-image);
|
||||
$spec-border: map-get($gradients, spec-image);
|
||||
}
|
||||
|
||||
@else if $gradient-type == "radial" {
|
||||
$gradients: _radial-gradient-parser("#{$border}");
|
||||
$webkit-border: map-get($gradients, webkit-image);
|
||||
$spec-border: map-get($gradients, spec-image);
|
||||
}
|
||||
|
||||
@else {
|
||||
$webkit-border: $border;
|
||||
$spec-border: $border;
|
||||
}
|
||||
}
|
||||
|
||||
@else {
|
||||
$webkit-border: $border;
|
||||
$spec-border: $border;
|
||||
}
|
||||
|
||||
$webkit-borders: append($webkit-borders, $webkit-border, comma);
|
||||
$spec-borders: append($spec-borders, $spec-border, comma);
|
||||
}
|
||||
|
||||
-webkit-border-image: $webkit-borders;
|
||||
border-image: $spec-borders;
|
||||
border-style: solid;
|
||||
}
|
||||
|
||||
//Examples:
|
||||
// @include border-image(url("image.png"));
|
||||
// @include border-image(url("image.png") 20 stretch);
|
||||
// @include border-image(linear-gradient(45deg, orange, yellow));
|
||||
// @include border-image(linear-gradient(45deg, orange, yellow) stretch);
|
||||
// @include border-image(linear-gradient(45deg, orange, yellow) 20 30 40 50 stretch round);
|
||||
// @include border-image(radial-gradient(top, cover, orange, yellow, orange));
|
||||
4
css/sass/bourbon/css3/_calc.scss
vendored
Normal file
4
css/sass/bourbon/css3/_calc.scss
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
@mixin calc($property, $value) {
|
||||
#{$property}: -webkit-calc(#{$value});
|
||||
#{$property}: calc(#{$value});
|
||||
}
|
||||
47
css/sass/bourbon/css3/_columns.scss
vendored
Normal file
47
css/sass/bourbon/css3/_columns.scss
vendored
Normal file
@@ -0,0 +1,47 @@
|
||||
@mixin columns($arg: auto) {
|
||||
// <column-count> || <column-width>
|
||||
@include prefixer(columns, $arg, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-count($int: auto) {
|
||||
// auto || integer
|
||||
@include prefixer(column-count, $int, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-gap($length: normal) {
|
||||
// normal || length
|
||||
@include prefixer(column-gap, $length, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-fill($arg: auto) {
|
||||
// auto || length
|
||||
@include prefixer(column-fill, $arg, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-rule($arg) {
|
||||
// <border-width> || <border-style> || <color>
|
||||
@include prefixer(column-rule, $arg, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-rule-color($color) {
|
||||
@include prefixer(column-rule-color, $color, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-rule-style($style: none) {
|
||||
// none | hidden | dashed | dotted | double | groove | inset | inset | outset | ridge | solid
|
||||
@include prefixer(column-rule-style, $style, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-rule-width ($width: none) {
|
||||
@include prefixer(column-rule-width, $width, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-span($arg: none) {
|
||||
// none || all
|
||||
@include prefixer(column-span, $arg, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin column-width($length: auto) {
|
||||
// auto || length
|
||||
@include prefixer(column-width, $length, webkit moz spec);
|
||||
}
|
||||
4
css/sass/bourbon/css3/_filter.scss
vendored
Normal file
4
css/sass/bourbon/css3/_filter.scss
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
@mixin filter($function: none) {
|
||||
// <filter-function> [<filter-function]* | none
|
||||
@include prefixer(filter, $function, webkit spec);
|
||||
}
|
||||
287
css/sass/bourbon/css3/_flex-box.scss
vendored
Normal file
287
css/sass/bourbon/css3/_flex-box.scss
vendored
Normal file
@@ -0,0 +1,287 @@
|
||||
// CSS3 Flexible Box Model and property defaults
|
||||
|
||||
// Custom shorthand notation for flexbox
|
||||
@mixin box($orient: inline-axis, $pack: start, $align: stretch) {
|
||||
@include display-box;
|
||||
@include box-orient($orient);
|
||||
@include box-pack($pack);
|
||||
@include box-align($align);
|
||||
}
|
||||
|
||||
@mixin display-box {
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: -ms-flexbox; // IE 10
|
||||
display: box;
|
||||
}
|
||||
|
||||
@mixin box-orient($orient: inline-axis) {
|
||||
// horizontal|vertical|inline-axis|block-axis|inherit
|
||||
@include prefixer(box-orient, $orient, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin box-pack($pack: start) {
|
||||
// start|end|center|justify
|
||||
@include prefixer(box-pack, $pack, webkit moz spec);
|
||||
-ms-flex-pack: $pack; // IE 10
|
||||
}
|
||||
|
||||
@mixin box-align($align: stretch) {
|
||||
// start|end|center|baseline|stretch
|
||||
@include prefixer(box-align, $align, webkit moz spec);
|
||||
-ms-flex-align: $align; // IE 10
|
||||
}
|
||||
|
||||
@mixin box-direction($direction: normal) {
|
||||
// normal|reverse|inherit
|
||||
@include prefixer(box-direction, $direction, webkit moz spec);
|
||||
-ms-flex-direction: $direction; // IE 10
|
||||
}
|
||||
|
||||
@mixin box-lines($lines: single) {
|
||||
// single|multiple
|
||||
@include prefixer(box-lines, $lines, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin box-ordinal-group($int: 1) {
|
||||
@include prefixer(box-ordinal-group, $int, webkit moz spec);
|
||||
-ms-flex-order: $int; // IE 10
|
||||
}
|
||||
|
||||
@mixin box-flex($value: 0) {
|
||||
@include prefixer(box-flex, $value, webkit moz spec);
|
||||
-ms-flex: $value; // IE 10
|
||||
}
|
||||
|
||||
@mixin box-flex-group($int: 1) {
|
||||
@include prefixer(box-flex-group, $int, webkit moz spec);
|
||||
}
|
||||
|
||||
// CSS3 Flexible Box Model and property defaults
|
||||
// Unified attributes for 2009, 2011, and 2012 flavours.
|
||||
|
||||
// 2009 - display (box | inline-box)
|
||||
// 2011 - display (flexbox | inline-flexbox)
|
||||
// 2012 - display (flex | inline-flex)
|
||||
@mixin display($value) {
|
||||
// flex | inline-flex
|
||||
@if $value == "flex" {
|
||||
// 2009
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: box;
|
||||
|
||||
// 2012
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox; // 2011 (IE 10)
|
||||
display: flex;
|
||||
} @else if $value == "inline-flex" {
|
||||
display: -webkit-inline-box;
|
||||
display: -moz-inline-box;
|
||||
display: inline-box;
|
||||
|
||||
display: -webkit-inline-flex;
|
||||
display: -moz-inline-flex;
|
||||
display: -ms-inline-flexbox;
|
||||
display: inline-flex;
|
||||
} @else {
|
||||
display: $value;
|
||||
}
|
||||
}
|
||||
|
||||
// 2009 - box-flex (integer)
|
||||
// 2011 - flex (decimal | width decimal)
|
||||
// 2012 - flex (integer integer width)
|
||||
@mixin flex($value) {
|
||||
|
||||
// Grab flex-grow for older browsers.
|
||||
$flex-grow: nth($value, 1);
|
||||
|
||||
// 2009
|
||||
@include prefixer(box-flex, $flex-grow, webkit moz spec);
|
||||
|
||||
// 2011 (IE 10), 2012
|
||||
@include prefixer(flex, $value, webkit moz ms spec);
|
||||
}
|
||||
|
||||
// 2009 - box-orient ( horizontal | vertical | inline-axis | block-axis)
|
||||
// - box-direction (normal | reverse)
|
||||
// 2011 - flex-direction (row | row-reverse | column | column-reverse)
|
||||
// 2012 - flex-direction (row | row-reverse | column | column-reverse)
|
||||
@mixin flex-direction($value: row) {
|
||||
|
||||
// Alt values.
|
||||
$value-2009: $value;
|
||||
$value-2011: $value;
|
||||
$direction: normal;
|
||||
|
||||
@if $value == row {
|
||||
$value-2009: horizontal;
|
||||
} @else if $value == "row-reverse" {
|
||||
$value-2009: horizontal;
|
||||
$direction: reverse;
|
||||
} @else if $value == column {
|
||||
$value-2009: vertical;
|
||||
} @else if $value == "column-reverse" {
|
||||
$value-2009: vertical;
|
||||
$direction: reverse;
|
||||
}
|
||||
|
||||
// 2009
|
||||
@include prefixer(box-orient, $value-2009, webkit moz spec);
|
||||
@include prefixer(box-direction, $direction, webkit moz spec);
|
||||
|
||||
// 2012
|
||||
@include prefixer(flex-direction, $value, webkit moz spec);
|
||||
|
||||
// 2011 (IE 10)
|
||||
-ms-flex-direction: $value;
|
||||
}
|
||||
|
||||
// 2009 - box-lines (single | multiple)
|
||||
// 2011 - flex-wrap (nowrap | wrap | wrap-reverse)
|
||||
// 2012 - flex-wrap (nowrap | wrap | wrap-reverse)
|
||||
@mixin flex-wrap($value: nowrap) {
|
||||
// Alt values
|
||||
$alt-value: $value;
|
||||
@if $value == nowrap {
|
||||
$alt-value: single;
|
||||
} @else if $value == wrap {
|
||||
$alt-value: multiple;
|
||||
} @else if $value == "wrap-reverse" {
|
||||
$alt-value: multiple;
|
||||
}
|
||||
|
||||
@include prefixer(box-lines, $alt-value, webkit moz spec);
|
||||
@include prefixer(flex-wrap, $value, webkit moz ms spec);
|
||||
}
|
||||
|
||||
// 2009 - TODO: parse values into flex-direction/flex-wrap
|
||||
// 2011 - TODO: parse values into flex-direction/flex-wrap
|
||||
// 2012 - flex-flow (flex-direction || flex-wrap)
|
||||
@mixin flex-flow($value) {
|
||||
@include prefixer(flex-flow, $value, webkit moz spec);
|
||||
}
|
||||
|
||||
// 2009 - box-ordinal-group (integer)
|
||||
// 2011 - flex-order (integer)
|
||||
// 2012 - order (integer)
|
||||
@mixin order($int: 0) {
|
||||
// 2009
|
||||
@include prefixer(box-ordinal-group, $int, webkit moz spec);
|
||||
|
||||
// 2012
|
||||
@include prefixer(order, $int, webkit moz spec);
|
||||
|
||||
// 2011 (IE 10)
|
||||
-ms-flex-order: $int;
|
||||
}
|
||||
|
||||
// 2012 - flex-grow (number)
|
||||
@mixin flex-grow($number: 0) {
|
||||
@include prefixer(flex-grow, $number, webkit moz spec);
|
||||
-ms-flex-positive: $number;
|
||||
}
|
||||
|
||||
// 2012 - flex-shrink (number)
|
||||
@mixin flex-shrink($number: 1) {
|
||||
@include prefixer(flex-shrink, $number, webkit moz spec);
|
||||
-ms-flex-negative: $number;
|
||||
}
|
||||
|
||||
// 2012 - flex-basis (number)
|
||||
@mixin flex-basis($width: auto) {
|
||||
@include prefixer(flex-basis, $width, webkit moz spec);
|
||||
-ms-flex-preferred-size: $width;
|
||||
}
|
||||
|
||||
// 2009 - box-pack (start | end | center | justify)
|
||||
// 2011 - flex-pack (start | end | center | justify)
|
||||
// 2012 - justify-content (flex-start | flex-end | center | space-between | space-around)
|
||||
@mixin justify-content($value: flex-start) {
|
||||
|
||||
// Alt values.
|
||||
$alt-value: $value;
|
||||
@if $value == "flex-start" {
|
||||
$alt-value: start;
|
||||
} @else if $value == "flex-end" {
|
||||
$alt-value: end;
|
||||
} @else if $value == "space-between" {
|
||||
$alt-value: justify;
|
||||
} @else if $value == "space-around" {
|
||||
$alt-value: distribute;
|
||||
}
|
||||
|
||||
// 2009
|
||||
@include prefixer(box-pack, $alt-value, webkit moz spec);
|
||||
|
||||
// 2012
|
||||
@include prefixer(justify-content, $value, webkit moz ms o spec);
|
||||
|
||||
// 2011 (IE 10)
|
||||
-ms-flex-pack: $alt-value;
|
||||
}
|
||||
|
||||
// 2009 - box-align (start | end | center | baseline | stretch)
|
||||
// 2011 - flex-align (start | end | center | baseline | stretch)
|
||||
// 2012 - align-items (flex-start | flex-end | center | baseline | stretch)
|
||||
@mixin align-items($value: stretch) {
|
||||
|
||||
$alt-value: $value;
|
||||
|
||||
@if $value == "flex-start" {
|
||||
$alt-value: start;
|
||||
} @else if $value == "flex-end" {
|
||||
$alt-value: end;
|
||||
}
|
||||
|
||||
// 2009
|
||||
@include prefixer(box-align, $alt-value, webkit moz spec);
|
||||
|
||||
// 2012
|
||||
@include prefixer(align-items, $value, webkit moz ms o spec);
|
||||
|
||||
// 2011 (IE 10)
|
||||
-ms-flex-align: $alt-value;
|
||||
}
|
||||
|
||||
// 2011 - flex-item-align (auto | start | end | center | baseline | stretch)
|
||||
// 2012 - align-self (auto | flex-start | flex-end | center | baseline | stretch)
|
||||
@mixin align-self($value: auto) {
|
||||
|
||||
$value-2011: $value;
|
||||
@if $value == "flex-start" {
|
||||
$value-2011: start;
|
||||
} @else if $value == "flex-end" {
|
||||
$value-2011: end;
|
||||
}
|
||||
|
||||
// 2012
|
||||
@include prefixer(align-self, $value, webkit moz spec);
|
||||
|
||||
// 2011 (IE 10)
|
||||
-ms-flex-item-align: $value-2011;
|
||||
}
|
||||
|
||||
// 2011 - flex-line-pack (start | end | center | justify | distribute | stretch)
|
||||
// 2012 - align-content (flex-start | flex-end | center | space-between | space-around | stretch)
|
||||
@mixin align-content($value: stretch) {
|
||||
|
||||
$value-2011: $value;
|
||||
@if $value == "flex-start" {
|
||||
$value-2011: start;
|
||||
} @else if $value == "flex-end" {
|
||||
$value-2011: end;
|
||||
} @else if $value == "space-between" {
|
||||
$value-2011: justify;
|
||||
} @else if $value == "space-around" {
|
||||
$value-2011: distribute;
|
||||
}
|
||||
|
||||
// 2012
|
||||
@include prefixer(align-content, $value, webkit moz spec);
|
||||
|
||||
// 2011 (IE 10)
|
||||
-ms-flex-line-pack: $value-2011;
|
||||
}
|
||||
24
css/sass/bourbon/css3/_font-face.scss
vendored
Normal file
24
css/sass/bourbon/css3/_font-face.scss
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
@mixin font-face(
|
||||
$font-family,
|
||||
$file-path,
|
||||
$weight: normal,
|
||||
$style: normal,
|
||||
$asset-pipeline: $asset-pipeline,
|
||||
$file-formats: eot woff2 woff ttf svg) {
|
||||
|
||||
$font-url-prefix: font-url-prefixer($asset-pipeline);
|
||||
|
||||
@font-face {
|
||||
font-family: $font-family;
|
||||
font-style: $style;
|
||||
font-weight: $weight;
|
||||
|
||||
src: font-source-declaration(
|
||||
$font-family,
|
||||
$file-path,
|
||||
$asset-pipeline,
|
||||
$file-formats,
|
||||
$font-url-prefix
|
||||
);
|
||||
}
|
||||
}
|
||||
4
css/sass/bourbon/css3/_font-feature-settings.scss
vendored
Normal file
4
css/sass/bourbon/css3/_font-feature-settings.scss
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
@mixin font-feature-settings($settings...) {
|
||||
@if length($settings) == 0 { $settings: none; }
|
||||
@include prefixer(font-feature-settings, $settings, webkit moz ms spec);
|
||||
}
|
||||
10
css/sass/bourbon/css3/_hidpi-media-query.scss
vendored
Normal file
10
css/sass/bourbon/css3/_hidpi-media-query.scss
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
// HiDPI mixin. Default value set to 1.3 to target Google Nexus 7 (http://bjango.com/articles/min-device-pixel-ratio/)
|
||||
@mixin hidpi($ratio: 1.3) {
|
||||
@media only screen and (-webkit-min-device-pixel-ratio: $ratio),
|
||||
only screen and (min--moz-device-pixel-ratio: $ratio),
|
||||
only screen and (-o-min-device-pixel-ratio: #{$ratio}/1),
|
||||
only screen and (min-resolution: round($ratio * 96dpi)),
|
||||
only screen and (min-resolution: $ratio * 1dppx) {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
4
css/sass/bourbon/css3/_hyphens.scss
vendored
Normal file
4
css/sass/bourbon/css3/_hyphens.scss
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
@mixin hyphens($hyphenation: none) {
|
||||
// none | manual | auto
|
||||
@include prefixer(hyphens, $hyphenation, webkit moz ms spec);
|
||||
}
|
||||
14
css/sass/bourbon/css3/_image-rendering.scss
vendored
Normal file
14
css/sass/bourbon/css3/_image-rendering.scss
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
@mixin image-rendering ($mode:auto) {
|
||||
|
||||
@if ($mode == crisp-edges) {
|
||||
-ms-interpolation-mode: nearest-neighbor; // IE8+
|
||||
image-rendering: -moz-crisp-edges;
|
||||
image-rendering: -o-crisp-edges;
|
||||
image-rendering: -webkit-optimize-contrast;
|
||||
image-rendering: crisp-edges;
|
||||
}
|
||||
|
||||
@else {
|
||||
image-rendering: $mode;
|
||||
}
|
||||
}
|
||||
36
css/sass/bourbon/css3/_keyframes.scss
vendored
Normal file
36
css/sass/bourbon/css3/_keyframes.scss
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
// Adds keyframes blocks for supported prefixes, removing redundant prefixes in the block's content
|
||||
@mixin keyframes($name) {
|
||||
$original-prefix-for-webkit: $prefix-for-webkit;
|
||||
$original-prefix-for-mozilla: $prefix-for-mozilla;
|
||||
$original-prefix-for-microsoft: $prefix-for-microsoft;
|
||||
$original-prefix-for-opera: $prefix-for-opera;
|
||||
$original-prefix-for-spec: $prefix-for-spec;
|
||||
|
||||
@if $original-prefix-for-webkit {
|
||||
@include disable-prefix-for-all();
|
||||
$prefix-for-webkit: true !global;
|
||||
@-webkit-keyframes #{$name} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
@if $original-prefix-for-mozilla {
|
||||
@include disable-prefix-for-all();
|
||||
$prefix-for-mozilla: true !global;
|
||||
@-moz-keyframes #{$name} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
|
||||
$prefix-for-webkit: $original-prefix-for-webkit !global;
|
||||
$prefix-for-mozilla: $original-prefix-for-mozilla !global;
|
||||
$prefix-for-microsoft: $original-prefix-for-microsoft !global;
|
||||
$prefix-for-opera: $original-prefix-for-opera !global;
|
||||
$prefix-for-spec: $original-prefix-for-spec !global;
|
||||
|
||||
@if $original-prefix-for-spec {
|
||||
@keyframes #{$name} {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
38
css/sass/bourbon/css3/_linear-gradient.scss
vendored
Normal file
38
css/sass/bourbon/css3/_linear-gradient.scss
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
@mixin linear-gradient($pos, $g1, $g2: null,
|
||||
$g3: null, $g4: null,
|
||||
$g5: null, $g6: null,
|
||||
$g7: null, $g8: null,
|
||||
$g9: null, $g10: null,
|
||||
$fallback: null) {
|
||||
// Detect what type of value exists in $pos
|
||||
$pos-type: type-of(nth($pos, 1));
|
||||
$pos-spec: null;
|
||||
$pos-degree: null;
|
||||
|
||||
// If $pos is missing from mixin, reassign vars and add default position
|
||||
@if ($pos-type == color) or (nth($pos, 1) == "transparent") {
|
||||
$g10: $g9; $g9: $g8; $g8: $g7; $g7: $g6; $g6: $g5;
|
||||
$g5: $g4; $g4: $g3; $g3: $g2; $g2: $g1; $g1: $pos;
|
||||
$pos: null;
|
||||
}
|
||||
|
||||
@if $pos {
|
||||
$positions: _linear-positions-parser($pos);
|
||||
$pos-degree: nth($positions, 1);
|
||||
$pos-spec: nth($positions, 2);
|
||||
}
|
||||
|
||||
$full: $g1, $g2, $g3, $g4, $g5, $g6, $g7, $g8, $g9, $g10;
|
||||
|
||||
// Set $g1 as the default fallback color
|
||||
$fallback-color: nth($g1, 1);
|
||||
|
||||
// If $fallback is a color use that color as the fallback color
|
||||
@if (type-of($fallback) == color) or ($fallback == "transparent") {
|
||||
$fallback-color: $fallback;
|
||||
}
|
||||
|
||||
background-color: $fallback-color;
|
||||
background-image: -webkit-linear-gradient($pos-degree $full); // Safari 5.1+, Chrome
|
||||
background-image: unquote("linear-gradient(#{$pos-spec}#{$full})");
|
||||
}
|
||||
8
css/sass/bourbon/css3/_perspective.scss
vendored
Normal file
8
css/sass/bourbon/css3/_perspective.scss
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
@mixin perspective($depth: none) {
|
||||
// none | <length>
|
||||
@include prefixer(perspective, $depth, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin perspective-origin($value: 50% 50%) {
|
||||
@include prefixer(perspective-origin, $value, webkit moz spec);
|
||||
}
|
||||
8
css/sass/bourbon/css3/_placeholder.scss
vendored
Normal file
8
css/sass/bourbon/css3/_placeholder.scss
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
@mixin placeholder {
|
||||
$placeholders: ":-webkit-input" ":-moz" "-moz" "-ms-input";
|
||||
@each $placeholder in $placeholders {
|
||||
&:#{$placeholder}-placeholder {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
39
css/sass/bourbon/css3/_radial-gradient.scss
vendored
Normal file
39
css/sass/bourbon/css3/_radial-gradient.scss
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
// Requires Sass 3.1+
|
||||
@mixin radial-gradient($g1, $g2,
|
||||
$g3: null, $g4: null,
|
||||
$g5: null, $g6: null,
|
||||
$g7: null, $g8: null,
|
||||
$g9: null, $g10: null,
|
||||
$pos: null,
|
||||
$shape-size: null,
|
||||
$fallback: null) {
|
||||
|
||||
$data: _radial-arg-parser($g1, $g2, $pos, $shape-size);
|
||||
$g1: nth($data, 1);
|
||||
$g2: nth($data, 2);
|
||||
$pos: nth($data, 3);
|
||||
$shape-size: nth($data, 4);
|
||||
|
||||
$full: $g1, $g2, $g3, $g4, $g5, $g6, $g7, $g8, $g9, $g10;
|
||||
|
||||
// Strip deprecated cover/contain for spec
|
||||
$shape-size-spec: _shape-size-stripper($shape-size);
|
||||
|
||||
// Set $g1 as the default fallback color
|
||||
$first-color: nth($full, 1);
|
||||
$fallback-color: nth($first-color, 1);
|
||||
|
||||
@if (type-of($fallback) == color) or ($fallback == "transparent") {
|
||||
$fallback-color: $fallback;
|
||||
}
|
||||
|
||||
// Add Commas and spaces
|
||||
$shape-size: if($shape-size, "#{$shape-size}, ", null);
|
||||
$pos: if($pos, "#{$pos}, ", null);
|
||||
$pos-spec: if($pos, "at #{$pos}", null);
|
||||
$shape-size-spec: if(($shape-size-spec != " ") and ($pos == null), "#{$shape-size-spec}, ", "#{$shape-size-spec} ");
|
||||
|
||||
background-color: $fallback-color;
|
||||
background-image: -webkit-radial-gradient(unquote(#{$pos}#{$shape-size}#{$full}));
|
||||
background-image: unquote("radial-gradient(#{$shape-size-spec}#{$pos-spec}#{$full})");
|
||||
}
|
||||
42
css/sass/bourbon/css3/_selection.scss
vendored
Normal file
42
css/sass/bourbon/css3/_selection.scss
vendored
Normal file
@@ -0,0 +1,42 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Outputs the spec and prefixed versions of the `::selection` pseudo-element.
|
||||
///
|
||||
/// @param {Bool} $current-selector [false]
|
||||
/// If set to `true`, it takes the current element into consideration.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include selection(true) {
|
||||
/// background-color: #ffbb52;
|
||||
/// }
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element::-moz-selection {
|
||||
/// background-color: #ffbb52;
|
||||
/// }
|
||||
///
|
||||
/// .element::selection {
|
||||
/// background-color: #ffbb52;
|
||||
/// }
|
||||
|
||||
@mixin selection($current-selector: false) {
|
||||
@if $current-selector {
|
||||
&::-moz-selection {
|
||||
@content;
|
||||
}
|
||||
|
||||
&::selection {
|
||||
@content;
|
||||
}
|
||||
} @else {
|
||||
::-moz-selection {
|
||||
@content;
|
||||
}
|
||||
|
||||
::selection {
|
||||
@content;
|
||||
}
|
||||
}
|
||||
}
|
||||
19
css/sass/bourbon/css3/_text-decoration.scss
vendored
Normal file
19
css/sass/bourbon/css3/_text-decoration.scss
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
@mixin text-decoration($value) {
|
||||
// <text-decoration-line> || <text-decoration-style> || <text-decoration-color>
|
||||
@include prefixer(text-decoration, $value, moz);
|
||||
}
|
||||
|
||||
@mixin text-decoration-line($line: none) {
|
||||
// none || underline || overline || line-through
|
||||
@include prefixer(text-decoration-line, $line, moz);
|
||||
}
|
||||
|
||||
@mixin text-decoration-style($style: solid) {
|
||||
// solid || double || dotted || dashed || wavy
|
||||
@include prefixer(text-decoration-style, $style, moz webkit);
|
||||
}
|
||||
|
||||
@mixin text-decoration-color($color: currentColor) {
|
||||
// currentColor || <color>
|
||||
@include prefixer(text-decoration-color, $color, moz);
|
||||
}
|
||||
15
css/sass/bourbon/css3/_transform.scss
vendored
Normal file
15
css/sass/bourbon/css3/_transform.scss
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
@mixin transform($property: none) {
|
||||
// none | <transform-function>
|
||||
@include prefixer(transform, $property, webkit moz ms o spec);
|
||||
}
|
||||
|
||||
@mixin transform-origin($axes: 50%) {
|
||||
// x-axis - left | center | right | length | %
|
||||
// y-axis - top | center | bottom | length | %
|
||||
// z-axis - length
|
||||
@include prefixer(transform-origin, $axes, webkit moz ms o spec);
|
||||
}
|
||||
|
||||
@mixin transform-style($style: flat) {
|
||||
@include prefixer(transform-style, $style, webkit moz ms o spec);
|
||||
}
|
||||
71
css/sass/bourbon/css3/_transition.scss
vendored
Normal file
71
css/sass/bourbon/css3/_transition.scss
vendored
Normal file
@@ -0,0 +1,71 @@
|
||||
// Shorthand mixin. Supports multiple parentheses-deliminated values for each variable.
|
||||
// Example: @include transition (all 2s ease-in-out);
|
||||
// @include transition (opacity 1s ease-in 2s, width 2s ease-out);
|
||||
// @include transition-property (transform, opacity);
|
||||
|
||||
@mixin transition($properties...) {
|
||||
// Fix for vendor-prefix transform property
|
||||
$needs-prefixes: false;
|
||||
$webkit: ();
|
||||
$moz: ();
|
||||
$spec: ();
|
||||
|
||||
// Create lists for vendor-prefixed transform
|
||||
@each $list in $properties {
|
||||
@if nth($list, 1) == "transform" {
|
||||
$needs-prefixes: true;
|
||||
$list1: -webkit-transform;
|
||||
$list2: -moz-transform;
|
||||
$list3: ();
|
||||
|
||||
@each $var in $list {
|
||||
$list3: join($list3, $var);
|
||||
|
||||
@if $var != "transform" {
|
||||
$list1: join($list1, $var);
|
||||
$list2: join($list2, $var);
|
||||
}
|
||||
}
|
||||
|
||||
$webkit: append($webkit, $list1);
|
||||
$moz: append($moz, $list2);
|
||||
$spec: append($spec, $list3);
|
||||
} @else {
|
||||
$webkit: append($webkit, $list, comma);
|
||||
$moz: append($moz, $list, comma);
|
||||
$spec: append($spec, $list, comma);
|
||||
}
|
||||
}
|
||||
|
||||
@if $needs-prefixes {
|
||||
-webkit-transition: $webkit;
|
||||
-moz-transition: $moz;
|
||||
transition: $spec;
|
||||
} @else {
|
||||
@if length($properties) >= 1 {
|
||||
@include prefixer(transition, $properties, webkit moz spec);
|
||||
} @else {
|
||||
$properties: all 0.15s ease-out 0s;
|
||||
@include prefixer(transition, $properties, webkit moz spec);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@mixin transition-property($properties...) {
|
||||
-webkit-transition-property: transition-property-names($properties, "webkit");
|
||||
-moz-transition-property: transition-property-names($properties, "moz");
|
||||
transition-property: transition-property-names($properties, false);
|
||||
}
|
||||
|
||||
@mixin transition-duration($times...) {
|
||||
@include prefixer(transition-duration, $times, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin transition-timing-function($motions...) {
|
||||
// ease | linear | ease-in | ease-out | ease-in-out | cubic-bezier()
|
||||
@include prefixer(transition-timing-function, $motions, webkit moz spec);
|
||||
}
|
||||
|
||||
@mixin transition-delay($times...) {
|
||||
@include prefixer(transition-delay, $times, webkit moz spec);
|
||||
}
|
||||
3
css/sass/bourbon/css3/_user-select.scss
vendored
Normal file
3
css/sass/bourbon/css3/_user-select.scss
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
@mixin user-select($value: none) {
|
||||
@include prefixer(user-select, $value, webkit moz ms spec);
|
||||
}
|
||||
11
css/sass/bourbon/functions/_assign-inputs.scss
vendored
Normal file
11
css/sass/bourbon/functions/_assign-inputs.scss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@function assign-inputs($inputs, $pseudo: null) {
|
||||
$list: ();
|
||||
|
||||
@each $input in $inputs {
|
||||
$input: unquote($input);
|
||||
$input: if($pseudo, $input + ":" + $pseudo, $input);
|
||||
$list: append($list, $input, comma);
|
||||
}
|
||||
|
||||
@return $list;
|
||||
}
|
||||
20
css/sass/bourbon/functions/_contains-falsy.scss
vendored
Normal file
20
css/sass/bourbon/functions/_contains-falsy.scss
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Checks if a list does not contains a value.
|
||||
///
|
||||
/// @access private
|
||||
///
|
||||
/// @param {List} $list
|
||||
/// The list to check against.
|
||||
///
|
||||
/// @return {Bool}
|
||||
|
||||
@function contains-falsy($list) {
|
||||
@each $item in $list {
|
||||
@if not $item {
|
||||
@return true;
|
||||
}
|
||||
}
|
||||
|
||||
@return false;
|
||||
}
|
||||
26
css/sass/bourbon/functions/_contains.scss
vendored
Normal file
26
css/sass/bourbon/functions/_contains.scss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Checks if a list contains a value(s).
|
||||
///
|
||||
/// @access private
|
||||
///
|
||||
/// @param {List} $list
|
||||
/// The list to check against.
|
||||
///
|
||||
/// @param {List} $values
|
||||
/// A single value or list of values to check for.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// contains($list, $value)
|
||||
///
|
||||
/// @return {Bool}
|
||||
|
||||
@function contains($list, $values...) {
|
||||
@each $value in $values {
|
||||
@if type-of(index($list, $value)) != "number" {
|
||||
@return false;
|
||||
}
|
||||
}
|
||||
|
||||
@return true;
|
||||
}
|
||||
11
css/sass/bourbon/functions/_is-length.scss
vendored
Normal file
11
css/sass/bourbon/functions/_is-length.scss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Checks for a valid CSS length.
|
||||
///
|
||||
/// @param {String} $value
|
||||
|
||||
@function is-length($value) {
|
||||
@return type-of($value) != "null" and (str-slice($value + "", 1, 4) == "calc"
|
||||
or index(auto inherit initial 0, $value)
|
||||
or (type-of($value) == "number" and not(unitless($value))));
|
||||
}
|
||||
21
css/sass/bourbon/functions/_is-light.scss
vendored
Normal file
21
css/sass/bourbon/functions/_is-light.scss
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Programatically determines whether a color is light or dark.
|
||||
///
|
||||
/// @link http://robots.thoughtbot.com/closer-look-color-lightness
|
||||
///
|
||||
/// @param {Color (Hex)} $color
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// is-light($color)
|
||||
///
|
||||
/// @return {Bool}
|
||||
|
||||
@function is-light($hex-color) {
|
||||
$-local-red: red(rgba($hex-color, 1));
|
||||
$-local-green: green(rgba($hex-color, 1));
|
||||
$-local-blue: blue(rgba($hex-color, 1));
|
||||
$-local-lightness: ($-local-red * 0.2126 + $-local-green * 0.7152 + $-local-blue * 0.0722) / 255;
|
||||
|
||||
@return $-local-lightness > 0.6;
|
||||
}
|
||||
11
css/sass/bourbon/functions/_is-number.scss
vendored
Normal file
11
css/sass/bourbon/functions/_is-number.scss
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Checks for a valid number.
|
||||
///
|
||||
/// @param {Number} $value
|
||||
///
|
||||
/// @require {function} contains
|
||||
|
||||
@function is-number($value) {
|
||||
@return contains("0" "1" "2" "3" "4" "5" "6" "7" "8" "9" 0 1 2 3 4 5 6 7 8 9, $value);
|
||||
}
|
||||
13
css/sass/bourbon/functions/_is-size.scss
vendored
Normal file
13
css/sass/bourbon/functions/_is-size.scss
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Checks for a valid CSS size.
|
||||
///
|
||||
/// @param {String} $value
|
||||
///
|
||||
/// @require {function} contains
|
||||
/// @require {function} is-length
|
||||
|
||||
@function is-size($value) {
|
||||
@return is-length($value)
|
||||
or contains("fill" "fit-content" "min-content" "max-content", $value);
|
||||
}
|
||||
69
css/sass/bourbon/functions/_modular-scale.scss
vendored
Normal file
69
css/sass/bourbon/functions/_modular-scale.scss
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
// Scaling Variables
|
||||
$golden: 1.618;
|
||||
$minor-second: 1.067;
|
||||
$major-second: 1.125;
|
||||
$minor-third: 1.2;
|
||||
$major-third: 1.25;
|
||||
$perfect-fourth: 1.333;
|
||||
$augmented-fourth: 1.414;
|
||||
$perfect-fifth: 1.5;
|
||||
$minor-sixth: 1.6;
|
||||
$major-sixth: 1.667;
|
||||
$minor-seventh: 1.778;
|
||||
$major-seventh: 1.875;
|
||||
$octave: 2;
|
||||
$major-tenth: 2.5;
|
||||
$major-eleventh: 2.667;
|
||||
$major-twelfth: 3;
|
||||
$double-octave: 4;
|
||||
|
||||
$modular-scale-ratio: $perfect-fourth !default;
|
||||
$modular-scale-base: em($em-base) !default;
|
||||
|
||||
@function modular-scale($increment, $value: $modular-scale-base, $ratio: $modular-scale-ratio) {
|
||||
$v1: nth($value, 1);
|
||||
$v2: nth($value, length($value));
|
||||
$value: $v1;
|
||||
|
||||
// scale $v2 to just above $v1
|
||||
@while $v2 > $v1 {
|
||||
$v2: ($v2 / $ratio); // will be off-by-1
|
||||
}
|
||||
@while $v2 < $v1 {
|
||||
$v2: ($v2 * $ratio); // will fix off-by-1
|
||||
}
|
||||
|
||||
// check AFTER scaling $v2 to prevent double-counting corner-case
|
||||
$double-stranded: $v2 > $v1;
|
||||
|
||||
@if $increment > 0 {
|
||||
@for $i from 1 through $increment {
|
||||
@if $double-stranded and ($v1 * $ratio) > $v2 {
|
||||
$value: $v2;
|
||||
$v2: ($v2 * $ratio);
|
||||
} @else {
|
||||
$v1: ($v1 * $ratio);
|
||||
$value: $v1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@if $increment < 0 {
|
||||
// adjust $v2 to just below $v1
|
||||
@if $double-stranded {
|
||||
$v2: ($v2 / $ratio);
|
||||
}
|
||||
|
||||
@for $i from $increment through -1 {
|
||||
@if $double-stranded and ($v1 / $ratio) < $v2 {
|
||||
$value: $v2;
|
||||
$v2: ($v2 / $ratio);
|
||||
} @else {
|
||||
$v1: ($v1 / $ratio);
|
||||
$value: $v1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@return $value;
|
||||
}
|
||||
13
css/sass/bourbon/functions/_px-to-em.scss
vendored
Normal file
13
css/sass/bourbon/functions/_px-to-em.scss
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
// Convert pixels to ems
|
||||
// eg. for a relational value of 12px write em(12) when the parent is 16px
|
||||
// if the parent is another value say 24px write em(12, 24)
|
||||
|
||||
@function em($pxval, $base: $em-base) {
|
||||
@if not unitless($pxval) {
|
||||
$pxval: strip-units($pxval);
|
||||
}
|
||||
@if not unitless($base) {
|
||||
$base: strip-units($base);
|
||||
}
|
||||
@return ($pxval / $base) * 1em;
|
||||
}
|
||||
15
css/sass/bourbon/functions/_px-to-rem.scss
vendored
Normal file
15
css/sass/bourbon/functions/_px-to-rem.scss
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
// Convert pixels to rems
|
||||
// eg. for a relational value of 12px write rem(12)
|
||||
// Assumes $em-base is the font-size of <html>
|
||||
|
||||
@function rem($pxval) {
|
||||
@if not unitless($pxval) {
|
||||
$pxval: strip-units($pxval);
|
||||
}
|
||||
|
||||
$base: $em-base;
|
||||
@if not unitless($base) {
|
||||
$base: strip-units($base);
|
||||
}
|
||||
@return ($pxval / $base) * 1rem;
|
||||
}
|
||||
24
css/sass/bourbon/functions/_shade.scss
vendored
Normal file
24
css/sass/bourbon/functions/_shade.scss
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Mixes a color with black.
|
||||
///
|
||||
/// @param {Color} $color
|
||||
///
|
||||
/// @param {Number (Percentage)} $percent
|
||||
/// The amount of black to be mixed in.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// background-color: shade(#ffbb52, 60%);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// background-color: #664a20;
|
||||
/// }
|
||||
///
|
||||
/// @return {Color}
|
||||
|
||||
@function shade($color, $percent) {
|
||||
@return mix(#000, $color, $percent);
|
||||
}
|
||||
17
css/sass/bourbon/functions/_strip-units.scss
vendored
Normal file
17
css/sass/bourbon/functions/_strip-units.scss
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Strips the unit from a number.
|
||||
///
|
||||
/// @param {Number (With Unit)} $value
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// $dimension: strip-units(10em);
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// $dimension: 10;
|
||||
///
|
||||
/// @return {Number (Unitless)}
|
||||
|
||||
@function strip-units($value) {
|
||||
@return ($value / ($value * 0 + 1));
|
||||
}
|
||||
24
css/sass/bourbon/functions/_tint.scss
vendored
Normal file
24
css/sass/bourbon/functions/_tint.scss
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Mixes a color with white.
|
||||
///
|
||||
/// @param {Color} $color
|
||||
///
|
||||
/// @param {Number (Percentage)} $percent
|
||||
/// The amount of white to be mixed in.
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// background-color: tint(#6ecaa6, 40%);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// background-color: #a8dfc9;
|
||||
/// }
|
||||
///
|
||||
/// @return {Color}
|
||||
|
||||
@function tint($color, $percent) {
|
||||
@return mix(#fff, $color, $percent);
|
||||
}
|
||||
22
css/sass/bourbon/functions/_transition-property-name.scss
vendored
Normal file
22
css/sass/bourbon/functions/_transition-property-name.scss
vendored
Normal file
@@ -0,0 +1,22 @@
|
||||
// Return vendor-prefixed property names if appropriate
|
||||
// Example: transition-property-names((transform, color, background), moz) -> -moz-transform, color, background
|
||||
//************************************************************************//
|
||||
@function transition-property-names($props, $vendor: false) {
|
||||
$new-props: ();
|
||||
|
||||
@each $prop in $props {
|
||||
$new-props: append($new-props, transition-property-name($prop, $vendor), comma);
|
||||
}
|
||||
|
||||
@return $new-props;
|
||||
}
|
||||
|
||||
@function transition-property-name($prop, $vendor: false) {
|
||||
// put other properties that need to be prefixed here aswell
|
||||
@if $vendor and $prop == transform {
|
||||
@return unquote('-'+$vendor+'-'+$prop);
|
||||
}
|
||||
@else {
|
||||
@return $prop;
|
||||
}
|
||||
}
|
||||
27
css/sass/bourbon/functions/_unpack.scss
vendored
Normal file
27
css/sass/bourbon/functions/_unpack.scss
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Converts shorthand to the 4-value syntax.
|
||||
///
|
||||
/// @param {List} $shorthand
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// margin: unpack(1em 2em);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// margin: 1em 2em 1em 2em;
|
||||
/// }
|
||||
|
||||
@function unpack($shorthand) {
|
||||
@if length($shorthand) == 1 {
|
||||
@return nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1) nth($shorthand, 1);
|
||||
} @else if length($shorthand) == 2 {
|
||||
@return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 1) nth($shorthand, 2);
|
||||
} @else if length($shorthand) == 3 {
|
||||
@return nth($shorthand, 1) nth($shorthand, 2) nth($shorthand, 3) nth($shorthand, 2);
|
||||
} @else {
|
||||
@return $shorthand;
|
||||
}
|
||||
}
|
||||
21
css/sass/bourbon/helpers/_convert-units.scss
vendored
Normal file
21
css/sass/bourbon/helpers/_convert-units.scss
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
//************************************************************************//
|
||||
// Helper function for str-to-num fn.
|
||||
// Source: http://sassmeister.com/gist/9647408
|
||||
//************************************************************************//
|
||||
@function _convert-units($number, $unit) {
|
||||
$strings: "px", "cm", "mm", "%", "ch", "pica", "in", "em", "rem", "pt", "pc", "ex", "vw", "vh", "vmin", "vmax", "deg", "rad", "grad", "turn";
|
||||
$units: 1px, 1cm, 1mm, 1%, 1ch, 1pica, 1in, 1em, 1rem, 1pt, 1pc, 1ex, 1vw, 1vh, 1vmin, 1vmax, 1deg, 1rad, 1grad, 1turn;
|
||||
$index: index($strings, $unit);
|
||||
|
||||
@if not $index {
|
||||
@warn "Unknown unit `#{$unit}`.";
|
||||
@return false;
|
||||
}
|
||||
|
||||
@if type-of($number) != "number" {
|
||||
@warn "`#{$number} is not a number`";
|
||||
@return false;
|
||||
}
|
||||
|
||||
@return $number * nth($units, $index);
|
||||
}
|
||||
96
css/sass/bourbon/helpers/_directional-values.scss
vendored
Normal file
96
css/sass/bourbon/helpers/_directional-values.scss
vendored
Normal file
@@ -0,0 +1,96 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Directional-property mixins are shorthands for writing properties like the following
|
||||
///
|
||||
/// @ignore You can also use `false` instead of `null`.
|
||||
///
|
||||
/// @param {List} $vals
|
||||
/// List of directional values
|
||||
///
|
||||
/// @example scss - Usage
|
||||
/// .element {
|
||||
/// @include border-style(dotted null);
|
||||
/// @include margin(null 0 10px);
|
||||
/// }
|
||||
///
|
||||
/// @example css - CSS Output
|
||||
/// .element {
|
||||
/// border-bottom-style: dotted;
|
||||
/// border-top-style: dotted;
|
||||
/// margin-bottom: 10px;
|
||||
/// margin-left: 0;
|
||||
/// margin-right: 0;
|
||||
/// }
|
||||
///
|
||||
/// @require {function} contains-falsy
|
||||
///
|
||||
/// @return {List}
|
||||
|
||||
@function collapse-directionals($vals) {
|
||||
$output: null;
|
||||
|
||||
$a: nth($vals, 1);
|
||||
$b: if(length($vals) < 2, $a, nth($vals, 2));
|
||||
$c: if(length($vals) < 3, $a, nth($vals, 3));
|
||||
$d: if(length($vals) < 2, $a, nth($vals, if(length($vals) < 4, 2, 4)));
|
||||
|
||||
@if $a == 0 { $a: 0; }
|
||||
@if $b == 0 { $b: 0; }
|
||||
@if $c == 0 { $c: 0; }
|
||||
@if $d == 0 { $d: 0; }
|
||||
|
||||
@if $a == $b and $a == $c and $a == $d { $output: $a; }
|
||||
@else if $a == $c and $b == $d { $output: $a $b; }
|
||||
@else if $b == $d { $output: $a $b $c; }
|
||||
@else { $output: $a $b $c $d; }
|
||||
|
||||
@return $output;
|
||||
}
|
||||
|
||||
/// Output directional properties, for instance `margin`.
|
||||
///
|
||||
/// @access private
|
||||
///
|
||||
/// @param {String} $pre
|
||||
/// Prefix to use
|
||||
/// @param {String} $suf
|
||||
/// Suffix to use
|
||||
/// @param {List} $vals
|
||||
/// List of values
|
||||
///
|
||||
/// @require {function} collapse-directionals
|
||||
/// @require {function} contains-falsy
|
||||
|
||||
@mixin directional-property($pre, $suf, $vals) {
|
||||
// Property Names
|
||||
$top: $pre + "-top" + if($suf, "-#{$suf}", "");
|
||||
$bottom: $pre + "-bottom" + if($suf, "-#{$suf}", "");
|
||||
$left: $pre + "-left" + if($suf, "-#{$suf}", "");
|
||||
$right: $pre + "-right" + if($suf, "-#{$suf}", "");
|
||||
$all: $pre + if($suf, "-#{$suf}", "");
|
||||
|
||||
$vals: collapse-directionals($vals);
|
||||
|
||||
@if contains-falsy($vals) {
|
||||
@if nth($vals, 1) { #{$top}: nth($vals, 1); }
|
||||
|
||||
@if length($vals) == 1 {
|
||||
@if nth($vals, 1) { #{$right}: nth($vals, 1); }
|
||||
} @else {
|
||||
@if nth($vals, 2) { #{$right}: nth($vals, 2); }
|
||||
}
|
||||
|
||||
@if length($vals) == 2 {
|
||||
@if nth($vals, 1) { #{$bottom}: nth($vals, 1); }
|
||||
@if nth($vals, 2) { #{$left}: nth($vals, 2); }
|
||||
} @else if length($vals) == 3 {
|
||||
@if nth($vals, 3) { #{$bottom}: nth($vals, 3); }
|
||||
@if nth($vals, 2) { #{$left}: nth($vals, 2); }
|
||||
} @else if length($vals) == 4 {
|
||||
@if nth($vals, 3) { #{$bottom}: nth($vals, 3); }
|
||||
@if nth($vals, 4) { #{$left}: nth($vals, 4); }
|
||||
}
|
||||
} @else {
|
||||
#{$all}: $vals;
|
||||
}
|
||||
}
|
||||
43
css/sass/bourbon/helpers/_font-source-declaration.scss
vendored
Normal file
43
css/sass/bourbon/helpers/_font-source-declaration.scss
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
// Used for creating the source string for fonts using @font-face
|
||||
// Reference: http://goo.gl/Ru1bKP
|
||||
|
||||
@function font-url-prefixer($asset-pipeline) {
|
||||
@if $asset-pipeline == true {
|
||||
@return font-url;
|
||||
} @else {
|
||||
@return url;
|
||||
}
|
||||
}
|
||||
|
||||
@function font-source-declaration(
|
||||
$font-family,
|
||||
$file-path,
|
||||
$asset-pipeline,
|
||||
$file-formats,
|
||||
$font-url) {
|
||||
|
||||
$src: ();
|
||||
|
||||
$formats-map: (
|
||||
eot: "#{$file-path}.eot?#iefix" format("embedded-opentype"),
|
||||
woff2: "#{$file-path}.woff2" format("woff2"),
|
||||
woff: "#{$file-path}.woff" format("woff"),
|
||||
ttf: "#{$file-path}.ttf" format("truetype"),
|
||||
svg: "#{$file-path}.svg##{$font-family}" format("svg")
|
||||
);
|
||||
|
||||
@each $key, $values in $formats-map {
|
||||
@if contains($file-formats, $key) {
|
||||
$file-path: nth($values, 1);
|
||||
$font-format: nth($values, 2);
|
||||
|
||||
@if $asset-pipeline == true {
|
||||
$src: append($src, font-url($file-path) $font-format, comma);
|
||||
} @else {
|
||||
$src: append($src, url($file-path) $font-format, comma);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@return $src;
|
||||
}
|
||||
13
css/sass/bourbon/helpers/_gradient-positions-parser.scss
vendored
Normal file
13
css/sass/bourbon/helpers/_gradient-positions-parser.scss
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
@function _gradient-positions-parser($gradient-type, $gradient-positions) {
|
||||
@if $gradient-positions
|
||||
and ($gradient-type == linear)
|
||||
and (type-of($gradient-positions) != color) {
|
||||
$gradient-positions: _linear-positions-parser($gradient-positions);
|
||||
}
|
||||
@else if $gradient-positions
|
||||
and ($gradient-type == radial)
|
||||
and (type-of($gradient-positions) != color) {
|
||||
$gradient-positions: _radial-positions-parser($gradient-positions);
|
||||
}
|
||||
@return $gradient-positions;
|
||||
}
|
||||
25
css/sass/bourbon/helpers/_linear-angle-parser.scss
vendored
Normal file
25
css/sass/bourbon/helpers/_linear-angle-parser.scss
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
// Private function for linear-gradient-parser
|
||||
@function _linear-angle-parser($image, $first-val, $prefix, $suffix) {
|
||||
$offset: null;
|
||||
$unit-short: str-slice($first-val, str-length($first-val) - 2, str-length($first-val));
|
||||
$unit-long: str-slice($first-val, str-length($first-val) - 3, str-length($first-val));
|
||||
|
||||
@if ($unit-long == "grad") or
|
||||
($unit-long == "turn") {
|
||||
$offset: if($unit-long == "grad", -100grad * 3, -0.75turn);
|
||||
}
|
||||
|
||||
@else if ($unit-short == "deg") or
|
||||
($unit-short == "rad") {
|
||||
$offset: if($unit-short == "deg", -90 * 3, 1.6rad);
|
||||
}
|
||||
|
||||
@if $offset {
|
||||
$num: _str-to-num($first-val);
|
||||
|
||||
@return (
|
||||
webkit-image: -webkit- + $prefix + ($offset - $num) + $suffix,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
}
|
||||
41
css/sass/bourbon/helpers/_linear-gradient-parser.scss
vendored
Normal file
41
css/sass/bourbon/helpers/_linear-gradient-parser.scss
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
@function _linear-gradient-parser($image) {
|
||||
$image: unquote($image);
|
||||
$gradients: ();
|
||||
$start: str-index($image, "(");
|
||||
$end: str-index($image, ",");
|
||||
$first-val: str-slice($image, $start + 1, $end - 1);
|
||||
|
||||
$prefix: str-slice($image, 0, $start);
|
||||
$suffix: str-slice($image, $end, str-length($image));
|
||||
|
||||
$has-multiple-vals: str-index($first-val, " ");
|
||||
$has-single-position: unquote(_position-flipper($first-val) + "");
|
||||
$has-angle: is-number(str-slice($first-val, 0, 0));
|
||||
|
||||
@if $has-multiple-vals {
|
||||
$gradients: _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals);
|
||||
}
|
||||
|
||||
@else if $has-single-position != "" {
|
||||
$pos: unquote($has-single-position + "");
|
||||
|
||||
$gradients: (
|
||||
webkit-image: -webkit- + $image,
|
||||
spec-image: $prefix + "to " + $pos + $suffix
|
||||
);
|
||||
}
|
||||
|
||||
@else if $has-angle {
|
||||
// Rotate degree for webkit
|
||||
$gradients: _linear-angle-parser($image, $first-val, $prefix, $suffix);
|
||||
}
|
||||
|
||||
@else {
|
||||
$gradients: (
|
||||
webkit-image: -webkit- + $image,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
|
||||
@return $gradients;
|
||||
}
|
||||
61
css/sass/bourbon/helpers/_linear-positions-parser.scss
vendored
Normal file
61
css/sass/bourbon/helpers/_linear-positions-parser.scss
vendored
Normal file
@@ -0,0 +1,61 @@
|
||||
@function _linear-positions-parser($pos) {
|
||||
$type: type-of(nth($pos, 1));
|
||||
$spec: null;
|
||||
$degree: null;
|
||||
$side: null;
|
||||
$corner: null;
|
||||
$length: length($pos);
|
||||
// Parse Side and corner positions
|
||||
@if ($length > 1) {
|
||||
@if nth($pos, 1) == "to" { // Newer syntax
|
||||
$side: nth($pos, 2);
|
||||
|
||||
@if $length == 2 { // eg. to top
|
||||
// Swap for backwards compatability
|
||||
$degree: _position-flipper(nth($pos, 2));
|
||||
}
|
||||
@else if $length == 3 { // eg. to top left
|
||||
$corner: nth($pos, 3);
|
||||
}
|
||||
}
|
||||
@else if $length == 2 { // Older syntax ("top left")
|
||||
$side: _position-flipper(nth($pos, 1));
|
||||
$corner: _position-flipper(nth($pos, 2));
|
||||
}
|
||||
|
||||
@if ("#{$side} #{$corner}" == "left top") or ("#{$side} #{$corner}" == "top left") {
|
||||
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
||||
}
|
||||
@else if ("#{$side} #{$corner}" == "right top") or ("#{$side} #{$corner}" == "top right") {
|
||||
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
||||
}
|
||||
@else if ("#{$side} #{$corner}" == "right bottom") or ("#{$side} #{$corner}" == "bottom right") {
|
||||
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
||||
}
|
||||
@else if ("#{$side} #{$corner}" == "left bottom") or ("#{$side} #{$corner}" == "bottom left") {
|
||||
$degree: _position-flipper(#{$side}) _position-flipper(#{$corner});
|
||||
}
|
||||
$spec: to $side $corner;
|
||||
}
|
||||
@else if $length == 1 {
|
||||
// Swap for backwards compatability
|
||||
@if $type == string {
|
||||
$degree: $pos;
|
||||
$spec: to _position-flipper($pos);
|
||||
}
|
||||
@else {
|
||||
$degree: -270 - $pos; //rotate the gradient opposite from spec
|
||||
$spec: $pos;
|
||||
}
|
||||
}
|
||||
$degree: unquote($degree + ",");
|
||||
$spec: unquote($spec + ",");
|
||||
@return $degree $spec;
|
||||
}
|
||||
|
||||
@function _position-flipper($pos) {
|
||||
@return if($pos == left, right, null)
|
||||
if($pos == right, left, null)
|
||||
if($pos == top, bottom, null)
|
||||
if($pos == bottom, top, null);
|
||||
}
|
||||
31
css/sass/bourbon/helpers/_linear-side-corner-parser.scss
vendored
Normal file
31
css/sass/bourbon/helpers/_linear-side-corner-parser.scss
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
// Private function for linear-gradient-parser
|
||||
@function _linear-side-corner-parser($image, $first-val, $prefix, $suffix, $has-multiple-vals) {
|
||||
$val-1: str-slice($first-val, 0, $has-multiple-vals - 1 );
|
||||
$val-2: str-slice($first-val, $has-multiple-vals + 1, str-length($first-val));
|
||||
$val-3: null;
|
||||
$has-val-3: str-index($val-2, " ");
|
||||
|
||||
@if $has-val-3 {
|
||||
$val-3: str-slice($val-2, $has-val-3 + 1, str-length($val-2));
|
||||
$val-2: str-slice($val-2, 0, $has-val-3 - 1);
|
||||
}
|
||||
|
||||
$pos: _position-flipper($val-1) _position-flipper($val-2) _position-flipper($val-3);
|
||||
$pos: unquote($pos + "");
|
||||
|
||||
// Use old spec for webkit
|
||||
@if $val-1 == "to" {
|
||||
@return (
|
||||
webkit-image: -webkit- + $prefix + $pos + $suffix,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
|
||||
// Bring the code up to spec
|
||||
@else {
|
||||
@return (
|
||||
webkit-image: -webkit- + $image,
|
||||
spec-image: $prefix + "to " + $pos + $suffix
|
||||
);
|
||||
}
|
||||
}
|
||||
69
css/sass/bourbon/helpers/_radial-arg-parser.scss
vendored
Normal file
69
css/sass/bourbon/helpers/_radial-arg-parser.scss
vendored
Normal file
@@ -0,0 +1,69 @@
|
||||
@function _radial-arg-parser($g1, $g2, $pos, $shape-size) {
|
||||
@each $value in $g1, $g2 {
|
||||
$first-val: nth($value, 1);
|
||||
$pos-type: type-of($first-val);
|
||||
$spec-at-index: null;
|
||||
|
||||
// Determine if spec was passed to mixin
|
||||
@if type-of($value) == list {
|
||||
$spec-at-index: if(index($value, at), index($value, at), false);
|
||||
}
|
||||
@if $spec-at-index {
|
||||
@if $spec-at-index > 1 {
|
||||
@for $i from 1 through ($spec-at-index - 1) {
|
||||
$shape-size: $shape-size nth($value, $i);
|
||||
}
|
||||
@for $i from ($spec-at-index + 1) through length($value) {
|
||||
$pos: $pos nth($value, $i);
|
||||
}
|
||||
}
|
||||
@else if $spec-at-index == 1 {
|
||||
@for $i from ($spec-at-index + 1) through length($value) {
|
||||
$pos: $pos nth($value, $i);
|
||||
}
|
||||
}
|
||||
$g1: null;
|
||||
}
|
||||
|
||||
// If not spec calculate correct values
|
||||
@else {
|
||||
@if ($pos-type != color) or ($first-val != "transparent") {
|
||||
@if ($pos-type == number)
|
||||
or ($first-val == "center")
|
||||
or ($first-val == "top")
|
||||
or ($first-val == "right")
|
||||
or ($first-val == "bottom")
|
||||
or ($first-val == "left") {
|
||||
|
||||
$pos: $value;
|
||||
|
||||
@if $pos == $g1 {
|
||||
$g1: null;
|
||||
}
|
||||
}
|
||||
|
||||
@else if
|
||||
($first-val == "ellipse")
|
||||
or ($first-val == "circle")
|
||||
or ($first-val == "closest-side")
|
||||
or ($first-val == "closest-corner")
|
||||
or ($first-val == "farthest-side")
|
||||
or ($first-val == "farthest-corner")
|
||||
or ($first-val == "contain")
|
||||
or ($first-val == "cover") {
|
||||
|
||||
$shape-size: $value;
|
||||
|
||||
@if $value == $g1 {
|
||||
$g1: null;
|
||||
}
|
||||
|
||||
@else if $value == $g2 {
|
||||
$g2: null;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@return $g1, $g2, $pos, $shape-size;
|
||||
}
|
||||
50
css/sass/bourbon/helpers/_radial-gradient-parser.scss
vendored
Normal file
50
css/sass/bourbon/helpers/_radial-gradient-parser.scss
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
@function _radial-gradient-parser($image) {
|
||||
$image: unquote($image);
|
||||
$gradients: ();
|
||||
$start: str-index($image, "(");
|
||||
$end: str-index($image, ",");
|
||||
$first-val: str-slice($image, $start + 1, $end - 1);
|
||||
|
||||
$prefix: str-slice($image, 0, $start);
|
||||
$suffix: str-slice($image, $end, str-length($image));
|
||||
|
||||
$is-spec-syntax: str-index($first-val, "at");
|
||||
|
||||
@if $is-spec-syntax and $is-spec-syntax > 1 {
|
||||
$keyword: str-slice($first-val, 1, $is-spec-syntax - 2);
|
||||
$pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
|
||||
$pos: append($pos, $keyword, comma);
|
||||
|
||||
$gradients: (
|
||||
webkit-image: -webkit- + $prefix + $pos + $suffix,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
|
||||
@else if $is-spec-syntax == 1 {
|
||||
$pos: str-slice($first-val, $is-spec-syntax + 3, str-length($first-val));
|
||||
|
||||
$gradients: (
|
||||
webkit-image: -webkit- + $prefix + $pos + $suffix,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
|
||||
@else if str-index($image, "cover") or str-index($image, "contain") {
|
||||
@warn "Radial-gradient needs to be updated to conform to latest spec.";
|
||||
|
||||
$gradients: (
|
||||
webkit-image: null,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
|
||||
@else {
|
||||
$gradients: (
|
||||
webkit-image: -webkit- + $image,
|
||||
spec-image: $image
|
||||
);
|
||||
}
|
||||
|
||||
@return $gradients;
|
||||
}
|
||||
18
css/sass/bourbon/helpers/_radial-positions-parser.scss
vendored
Normal file
18
css/sass/bourbon/helpers/_radial-positions-parser.scss
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
@function _radial-positions-parser($gradient-pos) {
|
||||
$shape-size: nth($gradient-pos, 1);
|
||||
$pos: nth($gradient-pos, 2);
|
||||
$shape-size-spec: _shape-size-stripper($shape-size);
|
||||
|
||||
$pre-spec: unquote(if($pos, "#{$pos}, ", null))
|
||||
unquote(if($shape-size, "#{$shape-size},", null));
|
||||
$pos-spec: if($pos, "at #{$pos}", null);
|
||||
|
||||
$spec: "#{$shape-size-spec} #{$pos-spec}";
|
||||
|
||||
// Add comma
|
||||
@if ($spec != " ") {
|
||||
$spec: "#{$spec},";
|
||||
}
|
||||
|
||||
@return $pre-spec $spec;
|
||||
}
|
||||
26
css/sass/bourbon/helpers/_render-gradients.scss
vendored
Normal file
26
css/sass/bourbon/helpers/_render-gradients.scss
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
// User for linear and radial gradients within background-image or border-image properties
|
||||
|
||||
@function _render-gradients($gradient-positions, $gradients, $gradient-type, $vendor: false) {
|
||||
$pre-spec: null;
|
||||
$spec: null;
|
||||
$vendor-gradients: null;
|
||||
@if $gradient-type == linear {
|
||||
@if $gradient-positions {
|
||||
$pre-spec: nth($gradient-positions, 1);
|
||||
$spec: nth($gradient-positions, 2);
|
||||
}
|
||||
}
|
||||
@else if $gradient-type == radial {
|
||||
$pre-spec: nth($gradient-positions, 1);
|
||||
$spec: nth($gradient-positions, 2);
|
||||
}
|
||||
|
||||
@if $vendor {
|
||||
$vendor-gradients: -#{$vendor}-#{$gradient-type}-gradient(#{$pre-spec} $gradients);
|
||||
}
|
||||
@else if $vendor == false {
|
||||
$vendor-gradients: "#{$gradient-type}-gradient(#{$spec} #{$gradients})";
|
||||
$vendor-gradients: unquote($vendor-gradients);
|
||||
}
|
||||
@return $vendor-gradients;
|
||||
}
|
||||
10
css/sass/bourbon/helpers/_shape-size-stripper.scss
vendored
Normal file
10
css/sass/bourbon/helpers/_shape-size-stripper.scss
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
@function _shape-size-stripper($shape-size) {
|
||||
$shape-size-spec: null;
|
||||
@each $value in $shape-size {
|
||||
@if ($value == "cover") or ($value == "contain") {
|
||||
$value: null;
|
||||
}
|
||||
$shape-size-spec: "#{$shape-size-spec} #{$value}";
|
||||
}
|
||||
@return $shape-size-spec;
|
||||
}
|
||||
50
css/sass/bourbon/helpers/_str-to-num.scss
vendored
Normal file
50
css/sass/bourbon/helpers/_str-to-num.scss
vendored
Normal file
@@ -0,0 +1,50 @@
|
||||
//************************************************************************//
|
||||
// Helper function for linear/radial-gradient-parsers.
|
||||
// Source: http://sassmeister.com/gist/9647408
|
||||
//************************************************************************//
|
||||
@function _str-to-num($string) {
|
||||
// Matrices
|
||||
$strings: "0" "1" "2" "3" "4" "5" "6" "7" "8" "9";
|
||||
$numbers: 0 1 2 3 4 5 6 7 8 9;
|
||||
|
||||
// Result
|
||||
$result: 0;
|
||||
$divider: 0;
|
||||
$minus: false;
|
||||
|
||||
// Looping through all characters
|
||||
@for $i from 1 through str-length($string) {
|
||||
$character: str-slice($string, $i, $i);
|
||||
$index: index($strings, $character);
|
||||
|
||||
@if $character == "-" {
|
||||
$minus: true;
|
||||
}
|
||||
|
||||
@else if $character == "." {
|
||||
$divider: 1;
|
||||
}
|
||||
|
||||
@else {
|
||||
@if not $index {
|
||||
$result: if($minus, $result * -1, $result);
|
||||
@return _convert-units($result, str-slice($string, $i));
|
||||
}
|
||||
|
||||
$number: nth($numbers, $index);
|
||||
|
||||
@if $divider == 0 {
|
||||
$result: $result * 10;
|
||||
}
|
||||
|
||||
@else {
|
||||
// Move the decimal dot to the left
|
||||
$divider: $divider * 10;
|
||||
$number: $number / $divider;
|
||||
}
|
||||
|
||||
$result: $result + $number;
|
||||
}
|
||||
}
|
||||
@return if($minus, $result * -1, $result);
|
||||
}
|
||||
7
css/sass/bourbon/settings/_asset-pipeline.scss
vendored
Normal file
7
css/sass/bourbon/settings/_asset-pipeline.scss
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// A global setting to enable or disable the `$asset-pipeline` variable for all functions that accept it.
|
||||
///
|
||||
/// @type Bool
|
||||
|
||||
$asset-pipeline: false !default;
|
||||
9
css/sass/bourbon/settings/_prefixer.scss
vendored
Normal file
9
css/sass/bourbon/settings/_prefixer.scss
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
@charset "UTF-8";
|
||||
|
||||
/// Global variables to enable or disable vendor prefixes
|
||||
|
||||
$prefix-for-webkit: true !default;
|
||||
$prefix-for-mozilla: true !default;
|
||||
$prefix-for-microsoft: true !default;
|
||||
$prefix-for-opera: true !default;
|
||||
$prefix-for-spec: true !default;
|
||||
1
css/sass/bourbon/settings/_px-to-em.scss
vendored
Normal file
1
css/sass/bourbon/settings/_px-to-em.scss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
$em-base: 16px !default;
|
||||
371
css/woocommerce.css
Normal file
371
css/woocommerce.css
Normal file
@@ -0,0 +1,371 @@
|
||||
.woocommerce .page-title {
|
||||
padding: 0 0 20px;
|
||||
}
|
||||
|
||||
.kk-woo-shop .page-title, .single-product .kk-woo-shop h1.product_title {
|
||||
font-size: 52px;
|
||||
font-weight: 400;
|
||||
line-height: 60px;
|
||||
text-transform: uppercase;
|
||||
margin: 0;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.single-product .kk-woo-shop h1.product_title {
|
||||
margin: 0 0 20px 0;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper .woocommerce-ordering, .woocommerce-page .kk-woo-shop-wrapper .woocommerce-ordering {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper .woocommerce-result-count, .woocommerce-page .kk-woo-shop-wrapper .woocommerce-result-count {
|
||||
float: right;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.woocommerce .cart-collaterals .cart_totals, .woocommerce-page .cart-collaterals .cart_totals {
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product, .woocommerce .kk-woo-related ul.products li.product {
|
||||
width: 31.3%;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product, .woocommerce .kk-woo-related ul.products li.product {
|
||||
margin-right: 3%;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.last, .woocommerce .kk-woo-related ul.products li.last {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product a img, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product a img, .woocommerce .kk-woo-shop #content div.product div.images img, .woocommerce .kk-woo-shop div.product div.images img, .woocommerce-page .kk-woo-shop #content div.product div.images img, .woocommerce-page .kk-woo-shop div.product div.images img {
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product h3, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product h3, .woocommerce .kk-woo-related ul.products li.product h3, .woocommerce-page .kk-woo-related ul.products li.product h3, .woocommerce-cart .cart-collaterals .cross-sells ul.products h3 , .woocommerce .kk-woo-shop-wrapper ul.products li.product h2, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product h2, .woocommerce .kk-woo-related ul.products li.product h2, .woocommerce-page .kk-woo-related ul.products li.product h2, .woocommerce-cart .cart-collaterals .cross-sells ul.products h2 {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
line-height: 22px;
|
||||
margin: 0;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.woocommerce-cart .cart-collaterals .cross-sells ul.products {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-related ul.products li.product, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.woocommerce #content input.button, .woocommerce #respond input#submit, .woocommerce a.button, .woocommerce .kk-woo-shop-wrapperbutton .button, .woocommerce input.button, .woocommerce-page #content input.button, .woocommerce-page #respond input#submit, .woocommerce-page a.button, .woocommerce-page button.button, .woocommerce-page input.button, .woocommerce ul.products li.product a.added_to_cart, .woocommerce-page ul.products li.product a.added_to_cart {
|
||||
background: none;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
color: #888888;
|
||||
border: 2px solid #ccc;
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 12px 2px 2px 4px;
|
||||
padding: 10px 20px 9px 20px;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: auto;
|
||||
line-height: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
-moz-transition: all 0.1s linear;
|
||||
-o-transition: all 0.1s linear;
|
||||
-ms-transition: all 0.1s linear;
|
||||
-webkit-transition: all 0.1s linear;
|
||||
transition: all 0.1s linear;
|
||||
}
|
||||
|
||||
.woocommerce ul.products li.product .button {
|
||||
margin-top: 12px;
|
||||
}
|
||||
|
||||
.woocommerce .content a.button, .woocommerce .content button.button, .woocommerce .content input.button, .woocommerce .content #respond input#submit, .woocommerce .content #content input.button, .woocommerce-page .content a.button, .woocommerce-page .content button.button, .woocommerce-page .content input.button, .woocommerce-page .content #respond input#submit, .woocommerce-page .content #content input.button {
|
||||
background: none;
|
||||
border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
color: #888888;
|
||||
border: 2px solid #ccc;
|
||||
display: inline-block;
|
||||
margin: 0px 2px 2px 0;
|
||||
padding: 10px 20px 9px 20px;
|
||||
text-decoration: none;
|
||||
text-transform: uppercase;
|
||||
width: auto;
|
||||
line-height: 12px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
text-shadow: none;
|
||||
-moz-transition: all 0.1s linear;
|
||||
-o-transition: all 0.1s linear;
|
||||
-ms-transition: all 0.1s linear;
|
||||
-webkit-transition: all 0.1s linear;
|
||||
transition: all 0.1s linear;
|
||||
}
|
||||
|
||||
|
||||
.woocommerce #respond input#submit.loading:after,
|
||||
.woocommerce a.button.loading:after,
|
||||
.woocommerce button.button.loading:after,
|
||||
.woocommerce input.button.loading:after {
|
||||
font-family:WooCommerce;
|
||||
content:"\e01c";
|
||||
vertical-align:top;
|
||||
-webkit-font-smoothing:antialiased;
|
||||
font-weight:400;
|
||||
position:absolute;
|
||||
top:9px;
|
||||
right:5px;
|
||||
-webkit-animation:spin 2s linear infinite;
|
||||
-moz-animation:spin 2s linear infinite;
|
||||
animation:spin 2s linear infinite
|
||||
}
|
||||
|
||||
.kk-woo-shop .inner-content {
|
||||
box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop .kk-woo-shop-item .star-rating, .woocommerce-page .kk-woo-shop .kk-woo-shop-item .star-rating, .woocommerce .kk-woo-related .star-rating, .woocommerce-page .kk-woo-related .star-rating, .woocommerce-cart .cross-sells .star-rating {
|
||||
float: right;
|
||||
top: 15px;
|
||||
right: 10px;
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product .price, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product .price, .woocommerce .kk-woo-related ul.products li.product .price, .woocommerce-page .kk-woo-related ul.products li.product .price, .woocommerce ul.products li.product .price, .woocommerce-cart .cross-sells ul.product .price {
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product .price del, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product .price del, .woocommerce .kk-woo-related ul.products li.product .price del, .woocommerce-page .kk-woo-related ul.products li.product .price del, .woocommerce div.product span.price del, .woocommerce ul.products li.product .price del {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
text-decoration: none;
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
margin-left: 10px;
|
||||
margin: 0 10px 0 0;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product .price del:before, .woocommerce-page .kk-woo-shop-wrapper ul.products li.product .price del:before, .woocommerce .kk-woo-related ul.products li.product .price del:before, .woocommerce-page .kk-woo-related ul.products li.product .price del:before, .woocommerce div.product span.price del:before, .woocommerce ul.products li.product .price del:before {
|
||||
position: absolute;
|
||||
content: '';
|
||||
left: -5px;
|
||||
right: -5px;
|
||||
top: 50%;
|
||||
border-width: 1px;
|
||||
border-bottom-style: solid;
|
||||
-webkit-transform: rotate(-12deg);
|
||||
-moz-transform: rotate(-12deg);
|
||||
-ms-transform: rotate(-12deg);
|
||||
-o-transform: rotate(-12deg);
|
||||
transform: rotate(-12deg);
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop span.onsale, .woocommerce-page .kk-woo-shop span.onsale, .woocommerce-cart .cross-sells ul.products li.product .onsale {
|
||||
background: none repeat scroll 0 0 #ed0e0e;
|
||||
box-shadow: none;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
line-height: 14px;
|
||||
min-height: 14px;
|
||||
text-transform: uppercase;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-shop ul.products li.product .onsale, .woocommerce-page .kk-woo-shop ul.products li.product .onsale, .woocommerce-cart .cross-sells ul.products li.product .onsale {
|
||||
right: auto;
|
||||
left: 10px;
|
||||
top: 10px;
|
||||
margin: 0;
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.woocommerce .star-rating, .woocommerce-page .star-rating {
|
||||
height: 1.1em;
|
||||
}
|
||||
|
||||
.woocommerce-cart .content .shop_table, .woocommerce-checkout table.shop_table {
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-moz-border-radius: 0;
|
||||
-webkit-border-radius: 0;
|
||||
}
|
||||
|
||||
.woocommerce .quantity .qty {
|
||||
padding: 7px 8px 8px 8px;
|
||||
}
|
||||
|
||||
.woocommerce .content table.shop_table th, .woocommerce-page .content table.shop_table th {
|
||||
font-size: 18px;
|
||||
padding: 15px 12px;
|
||||
}
|
||||
|
||||
.woocommerce-cart table.cart td.actions .coupon .input-text {
|
||||
border: 1px solid #DDDDDD;
|
||||
padding: 8px;
|
||||
color: #888;
|
||||
width: 150px;
|
||||
margin-bottom:15px;
|
||||
font-size: 13px;
|
||||
line-height: 18px;
|
||||
box-shadow: 0 1px 2px 0 rgba(180, 180, 180, 0.2);
|
||||
-webkit-box-shadow:: 0 1px 2px 0 rgba(180, 180, 180, 0.2);
|
||||
box-sizing:border-box;
|
||||
-ms-box-sizing:border-box;
|
||||
-moz-box-sizing:border-box;
|
||||
-webkit-box-sizing:border-box;
|
||||
}
|
||||
|
||||
.woocommerce .content .quantity, .woocommerce .quantity, .woocommerce-page .content .quantity, .woocommerce-page .content .quantity {
|
||||
float: left;
|
||||
}
|
||||
|
||||
.woocommerce .content table.shop_table td, .woocommerce-page .content table.shop_table td {
|
||||
font-size: 14px;
|
||||
padding: 25px 12px;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-related h2, .cart-collaterals h2, .woocommerce #reviews h3 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 30px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.woocommerce #comments {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.woocommerce .kk-woo-related {
|
||||
margin-top: 40px;
|
||||
}
|
||||
|
||||
.woocommerce .woocommerce-checkout h3 {
|
||||
font-size: 20px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.woocommerce #reviews #comments h2, .woocommerce-page #reviews #comments h2, .woocommerce .woocommerce-tabs #tab-additional_information h2, .woocommerce-page .woocommerce-tabs #tab-additional_information h2 {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.woocommerce div.product p.price del, .woocommerce div.product span.price del {
|
||||
display: inline-block;
|
||||
font-size: 18px;
|
||||
font-weight: 600;
|
||||
margin: 0 10px 0 0;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.woocommerce div.product .single_variation span.price {
|
||||
margin-bottom: 20px;
|
||||
display: inline-block;
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.woocommerce div.product .entry-summary p.price ins, .woocommerce div.product .entry-summary span.price ins, .woocommerce div.product .summary p.price {
|
||||
font-size: 22px;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.woocommerce .entry-summary .product_meta .sku_wrapper .sku, .woocommerce .entry-summary .product_meta .posted_in a {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
.woocommerce .entry-summary .product_meta .sku_wrapper, .woocommerce .entry-summary .product_meta .posted_in {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.woocommerce-page .entry-summary .variations tbody td {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.woocommerce .woocommerce-shipping-calculator button {
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.woocommerce form .form-row {
|
||||
padding: 0 0 10px 0;
|
||||
}
|
||||
|
||||
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.woocommerce .woocommerce-shipping-calculator >p {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.woocommerce .cart_totals tr.order-total span.amount {
|
||||
font-size: 16px;
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.woocommerce .cart_totals table tr th {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.woocommerce .woocommerce-shipping-fields #ship-to-different-address-checkbox {
|
||||
float: left;
|
||||
margin-right: 10px;
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.woocommerce .woocommerce-checkout-payment li > input {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.woocommerce-checkout .content table.shop_table tfoot tr th {
|
||||
background: none;
|
||||
font-size: 14px;
|
||||
padding: 12px 12px;
|
||||
}
|
||||
|
||||
.woocommerce-checkout .content table.shop_table tfoot tr td {
|
||||
padding: 12px 12px;
|
||||
}
|
||||
|
||||
.woocommerce-checkout .content table.shop_table tbody tr td {
|
||||
padding: 12px 12px;
|
||||
}
|
||||
|
||||
.woocommerce-checkout #customer_details {
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
|
||||
@media screen and (max-width: 766px) {
|
||||
.woocommerce .kk-woo-shop-wrapper ul.products li.product, .woocommerce .kk-woo-related ul.products li.product {
|
||||
width: 100%;
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user