Initial Working Copy

This commit is contained in:
bkroberts 2020-02-28 19:15:20 +10:30
commit 0731843a82
357 changed files with 120880 additions and 0 deletions

2731
html/assets/css/ct-paper.css Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

994
html/assets/css/demo.css Normal file
View file

@ -0,0 +1,994 @@
.tim-row{
margin-bottom: 20px;
}
.tim-white-buttons {
background-color: #777777;
}
.tim-title{
margin-top: 30px;
margin-bottom: 25px;
min-height: 32px;
}
.tim-title.text-center{
margin-bottom: 50px;
}
.tim-typo{
padding-left: 25%;
margin-bottom: 40px;
position: relative;
}
.tim-typo .tim-note{
bottom: 10px;
color: #c0c1c2;
display: block;
font-weight: 400;
font-size: 13px;
line-height: 13px;
left: 0;
margin-left: 20px;
position: absolute;
width: 260px;
}
.tim-row{
padding-top: 50px;
}
.tim-row h3{
margin-top: 0;
}
.switch{
margin-right: 20px;
}
#navbar-full .navbar{
border-radius: 0 !important;
margin-bottom: 0;
z-index: 2;
}
.space{
height: 130px;
display: block;
}
.space-110{
height: 110px;
display: block;
}
.space-50{
height: 50px;
display: block;
}
.space-70{
height: 70px;
display: block;
}
.navigation-example .img-src{
background-attachment: scroll;
}
.main{
background-color: #fff;
/* position: relative; */
}
.navigation-example{
background-image: url('../paper_img/red.jpg');
background-position: center center;
background-size: cover;
background-attachment: fixed;
margin-top:0;
}
#notifications{
background-color: #FFFFFF;
display: block;
width: 100%;
position: relative;
}
.tim-note{
text-transform: capitalize;
}
.subscribe-form{
padding-top: 20px;
}
.subscribe-form .form-control{
}
.space-100{
height: 100px;
display: block;
width: 100%;
}
.be-social{
padding-bottom: 20px;
/* border-bottom: 1px solid #aaa; */
margin: 0 auto 40px;
}
.txt-white{
color: #FFFFFF;
}
.txt-gray{
color: #ddd !important;
}
.footer-demo{
background-attachment: fixed;
position: relative;
line-height: 20px;
}
.footer-demo nav > ul {
list-style: none;
margin: 0;
padding: 0;
font-weight: normal;
}
.footer-demo nav > ul > li{
display: inline-block;
padding: 10px 15px;
margin: 15px 3px;
line-height: 20px;
text-align: center;
}
.footer-demo nav > ul > li:first-child{
margin: 0;
padding: 0;
}
.footer-demo nav > ul a:not(.btn) {
color: #777777;
display: block;
margin-bottom: 3px;
}
.footer-demo nav > ul a:not(.btn):hover, .footer nav > ul a:not(.btn):focus {
color: #E3E3E3;
}
.footer-demo .copyright {
color: #777777;
padding: 10px 15px;
font-size: 14px;
margin: 15px 3px;
line-height: 20px;
text-align: center;
}
.footer-demo .heart{
color: #EB5E28;
}
.social-share{
float: left;
margin-right: 8px;
}
.social-share a{
color: #FFFFFF;
}
#subscribe_email{
border-radius: 0;
border-left: 0;
border-right: 0;
}
.pick-class-label{
border-radius: 8px;
color: #ffffff;
cursor: pointer;
display: inline-block;
font-size: 75%;
font-weight: bold;
line-height: 1;
margin-right: 10px;
padding: 23px;
text-align: center;
vertical-align: baseline;
white-space: nowrap;
}
.parallax{
width:100%;
height:570px;
display: block;
background-attachment: fixed;
background-repeat:no-repeat;
background-size:cover;
background-position: center center;
}
.logo-container .logo{
overflow: hidden;
border-radius: 50%;
border: 1px solid #333333;
width: 50px;
float: left;
}
.logo-container .brand{
font-size: 18px;
color: #FFFFFF;
line-height: 20px;
float: left;
margin-left: 10px;
margin-top: 5px;
width: 50px;
height: 50px;
}
.logo-container{
margin-top: 10px;
}
.logo-container .logo img{
width: 100%;
}
.navbar-small .logo-container .brand{
color: #333333;
}
.demo-header{
background-size: cover;
background-color: #FF8F5E;
background-position: center top;
margin-top: -100px;
min-height: 92vh;
}
.demo-header-image{
background-image: url('../paper_img/Kandis.jpg');
}
.demo-header .motto{
color: #FFFFFF;
padding-top: 15%;
text-align: center;
z-index: 3;
}
.demo-header .motto h3{
margin-bottom: 0;
}
.separator{
content: "Separator";
color: #FFFFFF;
display: block;
width: 100%;
padding: 20px;
}
.separator-line{
background-color: #EEE;
height: 1px;
width: 100%;
display: block;
}
.separator.separator-gray{
background-color: #EEEEEE;
}
.social-buttons-demo .btn{
margin-right: 5px;
margin-bottom: 7px;
}
.img-container{
width: 100%;
overflow: hidden;
}
.img-container img{
width: 100%;
}
.lightbox img{
width: 100%;
}
.lightbox .modal-content{
overflow: hidden;
}
.lightbox .modal-body{
padding: 0;
}
@media screen and (min-width: 991px){
.lightbox .modal-dialog{
width: 960px;
}
}
@media (max-width: 768px){
.btn, .btn-morphing{
margin-bottom: 10px;
}
.parallax .motto{
top: 170px;
margin-top: 0;
font-size: 60px;
width: 270px;
}
}
.presentation .loader{
opacity: 0;
display: block;
transition: all 0.4s;
-webkit-transition: all 0.4s;
position: fixed;
left: 50%;
top: 50%;
z-index: 1031;
margin-left: -32px;
margin-top: -32px;
}
.presentation .loader.visible{
display: block;
opacity: 1;
}
.presentation .modal-content{
background-color: transparent;
box-shadow: 0 0 0;
}
.presentation .modal-backdrop.in{
opacity: 0.45;
}
.presentation .preload-image{
display: none;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}
/* Loading dots */
/* transitions */
.presentation .front, .presentation .front:after, .presentation .front .btn, .logo-container .logo, .logo-container .brand{
-webkit-transition: all .2s;
-moz-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
}
.presentation{
}
.presentation .section{
padding: 100px 0;
}
.presentation .colors{
padding: 100px 0;
}
.presentation > .description{
padding-top: 20px;
}
.presentation .section-rotation{
padding: 140px 0;
}
.presentation .section-images{
padding: 80px 0;
}
.presentation .section-thin{
padding: 0;
}
.presentation .section-pay{
padding-top: 20px;
}
.presentation .colors{
padding: 70px 0;
z-index: 7;
position: relative;
margin-top: -300px;
}
.presentation .colors{
border-top: 1px solid #DDDDDD;
}
.presentation .card-container{
-webkit-perspective: 800px;
-moz-perspective: 800px;
-o-perspective: 800px;
perspective: 800px;
min-height: 500px;
width: 300px;
position: relative;
margin-top: 90px;
}
.presentation .card-component{
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
position: relative;
height: 600px;
}
.presentation .card-component .front{
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
-webkit-transform: rotateY( -28deg );
-moz-transform: rotateY( -28deg );
-o-transform: rotateY( -28deg );
transform: rotateY( -28deg );
position: absolute;
top: 0;
left: 0;
background-color: #FFF;
width: 100%;
cursor: pointer;
box-shadow: 10px 4px 14px rgba(0, 0, 0, 0.12);
border-radius: 10px;
overflow: hidden;
border: 1px solid rgba(0,0,0,.12);
}
.presentation .front img{
z-index: 2;
position: relative;
}
.presentation .card-container:hover .front{
top: -10px;
}
.presentation .card-component img{
width: 100%;
}
.presentation .description .col-md-3{
width: 16%;
margin-left: 4%;
}
.presentation .first-card{
z-index: 6;
}
.presentation .second-card{
z-index: 5;
}
.presentation .third-card{
z-index: 4;
}
.presentation .fourth-card{
z-index: 3;
}
.presentation h1,
.presentation h2{
font-weight: 200;
}
.presentation h4,
.presentation h5,
.presentation h6{
font-weight: 300;
}
.presentation h4{
font-size: 18px;
line-height: 24px;
}
.presentation .info h4{
font-size: 24px;
line-height: 28px;
}
.presentation .section-gray h1 small{
color: #888888;
}
.presentation .color-container{
text-align: center;
}
.presentation .color-container img{
width: 100%;
margin-bottom: 10px;
}
.presentation .circle-color{
width: 40px;
height: 40px;
border-radius: 10px;
display: block;
background-color: #cccccc;
margin: 0 auto;
}
.presentation .circle-red{
background-color: #ff3b30;
}
.presentation .circle-blue{
background-color: #3472f7;
}
.presentation .circle-azure{
background-color: #2ca8ff;
}
.presentation .circle-green{
background-color: #05ae0e;
}
.presentation .circle-orange{
background-color: #ff9500;
}
.presentation .section-gray-gradient{
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,1) 25%, rgba(231,231,231,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(25%,rgba(255,255,255,1)), color-stop(100%,rgba(231,231,231,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 25%,rgba(231,231,231,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,1) 25%,rgba(231,231,231,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,1) 25%,rgba(231,231,231,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,255,255,1) 25%,rgba(231,231,231,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#e7e7e7',GradientType=0 ); /* IE6-9 */
}
.presentation .section-black{
background-color: #333;
}
.rotating-card-container {
-webkit-perspective: 900px;
-moz-perspective: 900px;
-o-perspective: 900px;
perspective: 900px;
margin-bottom: 30px;
}
.rotating-card {
-webkit-transition: all 1.3s;
-moz-transition: all 1.3s;
-o-transition: all 1.3s;
transition: all 1.3s;
-webkit-transform-style: preserve-3d;
-moz-transform-style: preserve-3d;
-o-transform-style: preserve-3d;
transform-style: preserve-3d;
margin-top: 20px;
position: relative;
background: none repeat scroll 0 0 #FFFFFF;
border-radius: 20px;
color: #444444;
}
.rotating-card-container .rotate,
.rotating-card .back{
-webkit-transform: rotateY( 180deg );
-moz-transform: rotateY( 180deg );
-o-transform: rotateY( 180deg );
transform: rotateY( 180deg );
}
.rotating-card-container:hover .rotate{
-webkit-transform: rotateY(0deg);
-moz-transform: rotateY(0deg);
-o-transform: rotateY(0deg);
transform: rotateY(0deg);
}
.rotating-card .front,
.rotating-card .back {
-webkit-backface-visibility: hidden;
-moz-backface-visibility: hidden;
-o-backface-visibility: hidden;
backface-visibility: hidden;
position: absolute;
top: 0;
left: 0;
background-color: #FFF;
box-shadow: 0 3px 17px rgba(0,0,0,.15);
}
.rotating-card .front {
z-index: 2;
}
.rotating-card .back {
z-index: 3;
height: 500px;
width: 100%;
display: block;
padding: 0 15px;
background-color: #e5e5e5;
}
.rotating-card .back-contaier {
background-color: white;
padding: 30px 15px;
}
.rotating-card .image{
border-radius: 20px 20px 0 0;
}
.rotating-card-container,
.rotating-card .front,
.rotating-card .back {
width: 100%;
min-height: 500px;
border-radius: 20px;
}
/* Fix bug for IE */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
.rotating-card .front, .rotating-card .back{
-ms-backface-visibility: visible;
backface-visibility: visible;
}
.rotating-car .back {
visibility: hidden;
-ms-transition: all 0.2s cubic-bezier(.92,.01,.83,.67);
}
.rotating-card .front{
z-index: 4;
}
.rotating-card-container:hover .back{
z-index: 5;
visibility: visible;
}
}
.fixed-section{
margin-top: 90px;
}
.fixed-section ul li{
list-style: none;
}
.fixed-section li a{
font-size: 14px;
padding: 2px;
display: block;
color: #666666;
}
.fixed-section li a.active{
color: #00bbff;
}
.fixed-section.float{
position: fixed;
top: 100px;
width: 200px;
margin-top: 0;
}
/* prettyprint */
.presentation pre.prettyprint{
background-color: transparent;
border: 0px !important;
margin-bottom: 0;
margin-top: 30px;
text-align: left;
}
.presentation .atv,
.presentation .str{
color: #0D9814;
}
.presentation .tag,
.presentation .pln,
.presentation .kwd{
color: #195CEC;
}
.presentation .atn{
color: #2C93FF;
}
.presentation .pln{
color: #333;
}
.presentation .com{
color: #999;
}
.presentation .text-white{
color: #FFFFFF;
text-shadow: 0 1px 2px rgba(0,0,0,.13);
}
.presentation .section-images .card-image{
border-radius: 6px 6px 0 0;
overflow: hidden;
box-shadow: 0 -3px 8px rgba(0,0,0,0);
}
.presentation .section-images .card-image .image{
/* border-radius: 6px; */
}
@media (max-width: 1200px){
.presentation .section-images .image img{
width: 100%;
}
}
.presentation .card-text-adjust{
padding-left: 40px;
}
.presentation .info.info-separator{
position: relative;
}
.presentation .info.info-separator:after{
height: 100%;
position: absolute;
background-color: #ccc;
width: 1px;
content: "";
right: -7px;
top: 0;
}
.presentation .info li{
padding: 5px 0;
border-bottom: 1px solid #E5E5E5;
color: #666666;
}
.presentation .info ul{
width: 240px;
margin: 10px auto;
}
.presentation .info li:last-child{
border: 0;
}
/* layer animation */
.layers-container{
display: block;
margin-top: 50px;
position: relative;
}
.layers-container img {
position: absolute;
width: 100%;
height: auto;
top: 0;
left: 0;
text-align: center;
}
.section-black {
background-color: #333;
}
#layerHover{
top: 30px;
}
#layerImage{
top: 50px;
}
#layerBody{
top: 75px;
}
.animate {
transition: 1.5s ease-in-out;
-moz-transition: 1.5s ease-in-out;
-webkit-transition: 1.5s ease-in-out;
}
.down {
transform: translate(0,45px);
-moz-transform: translate(0,45px);
-webkit-transform: translate(0,45px);
}
.down-2x {
transform: translate(0,90px);
-moz-transform: translate(0,90px);
-webkit-transform: translate(0,90px);
}
.navbar-default.navbar-small .logo-container .brand{
color: #333333;
}
.navbar-transparent.navbar-small .logo-container .brand{
color: #FFFFFF;
}
.navbar-default.navbar-small .logo-container .brand{
color: #333333;
}
.section-thin{
padding-bottom: 0;
}
.info.info-separator{
position: relative;
}
.info.info-separator:after{
height: 100%;
position: absolute;
background-color: #ccc;
width: 1px;
content: "";
right: -7px;
top: 0;
}
@media (max-width: 767px){
.info.info-separator:after{
display: none;
}
}
.info li{
padding: 5px 0;
border-bottom: 1px solid #E5E5E5;
color: #666666;
}
.info ul{
width: 240px;
margin: 10px auto;
}
.info li:last-child{
border: 0;
}
.payment-methods i {
font-size: 28px;
padding: 0 3px;
width: 38px;
}
.payment-methods h4 {
font-size: 18px;
line-height: 38px;
}
.info .description .btn{
width: 240px;
font-weight: 500;
}
#buyButtonHeroes{
margin-top: 31px;
}
.right-click{
width: 100%;
height: 100%;
background: rgba(51, 51, 51, 0.8);
position: fixed;
z-index: 20000;
display: none;
}
.onclick{
width: 100%;
height: 100%;
position: absolute;
z-index: 20001;
}
.container-right-click{
width: 100%;
position: absolute;
top: 0;
left: 0;
}
.container-right-click .card-price#card-price-small{
margin-top: 70px;
-webkit-transition: all .2s;
-moz-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
position: relative;
z-index: 20003;
}
.container-right-click .card-price#card-price-big{
margin-top: 40px;
-webkit-transition: all .2s;
-moz-transition: all .2s;
-o-transition: all .2s;
transition: all .2s;
position: relative;
z-index: 20003;
}
.animated {
-webkit-animation-duration: 1s;
animation-duration: 1s;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
}
@-webkit-keyframes bounceInDown {
0%, 60%, 75%, 90%, 100% {
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
-webkit-transform: translate3d(0, -3000px, 0);
transform: translate3d(0, -3000px, 0);
}
60% {
opacity: 1;
-webkit-transform: translate3d(0, 25px, 0);
transform: translate3d(0, 25px, 0);
}
75% {
-webkit-transform: translate3d(0, -10px, 0);
transform: translate3d(0, -10px, 0);
}
90% {
-webkit-transform: translate3d(0, 5px, 0);
transform: translate3d(0, 5px, 0);
}
100% {
-webkit-transform: none;
transform: none;
}
}
@keyframes bounceInDown {
0%, 60%, 75%, 90%, 100% {
-webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
}
0% {
opacity: 0;
-webkit-transform: translate3d(0, -3000px, 0);
transform: translate3d(0, -3000px, 0);
}
60% {
opacity: 1;
-webkit-transform: translate3d(0, 25px, 0);
transform: translate3d(0, 25px, 0);
}
75% {
-webkit-transform: translate3d(0, -10px, 0);
transform: translate3d(0, -10px, 0);
}
90% {
-webkit-transform: translate3d(0, 5px, 0);
transform: translate3d(0, 5px, 0);
}
100% {
-webkit-transform: none;
transform: none;
}
}
.bounceInDown {
-webkit-animation-name: bounceInDown;
animation-name: bounceInDown;
}
.container-right-click h4{
color: white;margin-top: 45px;font-weight: 200;margin-bottom: 0;
}
.icon-class{
fill: #75c3b6;
}
.navbar-header{
min-width: 120px;
}
#notifications{
background-color: #F5F2EC;
}
#demo-navbar{
border-radius: 0;
margin-bottom: 0px;
}
.download-area{
margin-top: 30px;
}
.sharing-area{
margin-top: 50px;
}
.sharing-area .btn{
margin-top: 14px;
}
/* for components and tutorial page */
pre.prettyprint{
background-color: #FFFCF5;
border: 0px;
margin-bottom: 0;
margin-top: 20px;
padding: 20px;
text-align: left;
}
.atv, .str{
color: #75c3b6;
}
.tag, .pln, .kwd{
color: #7A9E9F;
}
.atn{
color: #68B3C8;
}
.pln{
color: #333;
}
.com{
color: #999;
}
.space-top{
margin-top: 50px;
}
.area-line{
border: 1px solid #999;
border-left: 0;
border-right: 0;
color: #666;
display: block;
margin-top: 20px;
padding: 8px 0;
text-align: center;
}
.area-line a{
color: #666;
}
.container-fluid{
padding-right: 15px;
padding-left: 15px;
}
.example-pages{
margin-top: 50px;
}

View file

@ -0,0 +1,147 @@
.landing-alert {
margin-bottom: 0; }
.landing-header {
background-size: cover;
min-height: 570px; }
.landing-header .motto {
padding-top: 8%;
text-align: left;
z-index: 3; }
.landing-section {
padding: 100px 0; }
.landing-section .btn-simple {
padding: 0; }
.landing-section .column {
padding: 0 75px 0 25px; }
.team-player .img-circle, .team-player .img-thumbnail {
display: block;
margin-top: 50px;
margin-left: auto;
margin-right: auto;
width: 120px; }
.contact-form {
margin-top: 30px; }
.contact-form label {
margin-top: 15px; }
.contact-form .btn {
margin-top: 30px; }
.navbar-relative {
position: relative;
z-index: 2; }
#register-navbar a {
color: #FFF; }
.register-background {
background-image: url("../paper_img/landscape.jpg");
background-position: center center;
background-size: cover;
min-height: 100vh;
overflow: hidden;
position: absolute;
width: 100%; }
.register-background .filter-black::after {
background-color: rgba(0, 0, 0, 0.5);
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 1; }
.register-background .container {
margin-top: 11%;
position: relative;
z-index: 3; }
.register-footer {
bottom: 20px;
color: #fff;
position: absolute;
z-index: 3;
width: 100%; }
.register-footer .fa-heart {
color: #EB5E28; }
.register-card {
background-color: #FF8F5E;
border-radius: 8px;
color: #fff;
max-width: 350px;
margin: 20px 0 70px;
min-height: 400px;
padding: 30px; }
.register-card label {
margin-top: 15px; }
.register-card .title {
color: #B33C12;
text-align: center; }
.register-card .btn {
margin-top: 30px; }
.register-card .forgot {
text-align: center; }
.profile-background {
background-image: url("../paper_img/lamp.jpg");
background-position: center center;
background-size: cover;
height: 300px;
position: relative;
margin-top: -110px; }
.profile-background .filter-black::after {
background-color: rgba(0, 0, 0, 0.5);
content: "";
display: block;
height: 300px;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 1; }
.profile-content {
position: relative; }
.owner .avatar {
margin-top: -85px;
padding: 15px;
position: relative;
z-index: 3; }
.owner .name h4 {
margin-top: 10px; }
.profile-tabs {
margin: 50px 0;
min-height: 300px; }
#following h3 {
margin: 40px 0; }
.follows .unfollow {
width: 15px; }
.follows hr {
margin-top: 10px; }
.alert h5 {
margin-bottom: 10px; }

Binary file not shown.

After

Width:  |  Height:  |  Size: 934 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 85 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 81 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 486 KiB

492
html/assets/js/bootstrap-datepicker.js vendored Normal file
View file

@ -0,0 +1,492 @@
/* =========================================================
* bootstrap-datepicker.js
* http://www.eyecon.ro/bootstrap-datepicker
* =========================================================
* Copyright 2012 Stefan Petre
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
* ========================================================= */
var color = '';
!function( $ ) {
// Picker object
var Datepicker = function(element, options){
this.element = $(element);
this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy');
this.picker = $(DPGlobal.template)
.appendTo('body')
.on({
click: $.proxy(this.click, this)//,
//mousedown: $.proxy(this.mousedown, this)
});
this.isInput = this.element.is('input');
this.component = this.element.is('.date') ? this.element.find('.add-on') : false;
if (this.isInput) {
this.element.on({
focus: $.proxy(this.show, this),
//blur: $.proxy(this.hide, this),
keyup: $.proxy(this.update, this)
});
} else {
if (this.component){
this.component.on('click', $.proxy(this.show, this));
} else {
this.element.on('click', $.proxy(this.show, this));
}
}
this.minViewMode = options.minViewMode||this.element.data('date-minviewmode')||0;
if (typeof this.minViewMode === 'string') {
switch (this.minViewMode) {
case 'months':
this.minViewMode = 1;
break;
case 'years':
this.minViewMode = 2;
break;
default:
this.minViewMode = 0;
break;
}
}
this.viewMode = options.viewMode||this.element.data('date-viewmode')||0;
if (typeof this.viewMode === 'string') {
switch (this.viewMode) {
case 'months':
this.viewMode = 1;
break;
case 'years':
this.viewMode = 2;
break;
default:
this.viewMode = 0;
break;
}
}
this.color = options.color||'azure';
this.startViewMode = this.viewMode;
this.weekStart = options.weekStart||this.element.data('date-weekstart')||0;
this.weekEnd = this.weekStart === 0 ? 6 : this.weekStart - 1;
this.onRender = options.onRender;
this.fillDow();
this.fillMonths();
this.update();
this.showMode();
};
Datepicker.prototype = {
constructor: Datepicker,
show: function(e) {
var datepicker = this.picker;
this.picker.show();
this.height = this.component ? this.component.outerHeight() : this.element.outerHeight();
this.place();
$(window).on('resize', $.proxy(this.place, this));
if (e ) {
e.stopPropagation();
e.preventDefault();
}
if (!this.isInput) {
}
var that = this;
$(document).on('mousedown', function(ev){
if ($(ev.target).closest('.datepicker').length == 0) {
that.hide();
}
});
this.element.trigger({
type: 'show',
date: this.date
});
setTimeout(function(){
datepicker.addClass('open');
}, 170);
},
hide: function(){
var datepicker = this.picker;
datepicker.removeClass('open');
setTimeout(function(){
datepicker.hide();
}, 500);
$(window).off('resize', this.place);
this.viewMode = this.startViewMode;
this.showMode();
if (!this.isInput) {
$(document).off('mousedown', this.hide);
}
//this.set();
this.element.trigger({
type: 'hide',
date: this.date
});
},
set: function() {
var formated = DPGlobal.formatDate(this.date, this.format);
if (!this.isInput) {
if (this.component){
this.element.find('input').prop('value', formated);
}
this.element.data('date', formated);
} else {
this.element.prop('value', formated);
}
},
setValue: function(newDate) {
if (typeof newDate === 'string') {
this.date = DPGlobal.parseDate(newDate, this.format);
} else {
this.date = new Date(newDate);
}
this.set();
this.viewDate = new Date(this.date.getFullYear(), this.date.getMonth(), 1, 0, 0, 0, 0);
this.fill();
},
place: function(){
var offset = this.component ? this.component.offset() : this.element.offset();
this.picker.css({
top: offset.top + this.height,
left: offset.left
});
},
update: function(newDate){
this.date = DPGlobal.parseDate(
typeof newDate === 'string' ? newDate : (this.isInput ? this.element.prop('value') : this.element.data('date')),
this.format
);
this.viewDate = new Date(this.date.getFullYear(), this.date.getMonth(), 1, 0, 0, 0, 0);
this.fill();
},
fillDow: function(){
var dowCnt = this.weekStart;
var html = '<tr>';
while (dowCnt < this.weekStart + 7) {
html += '<th class="dow">'+DPGlobal.dates.daysMin[(dowCnt++)%7]+'</th>';
}
html += '</tr>';
this.picker.find('.datepicker-days thead').append(html);
},
fillMonths: function(){
var html = '';
var i = 0
while (i < 12) {
html += '<span class="month">'+DPGlobal.dates.monthsShort[i++]+'</span>';
}
this.picker.find('.datepicker-months td').append(html);
},
fill: function() {
var d = new Date(this.viewDate),
year = d.getFullYear(),
month = d.getMonth(),
currentDate = this.date.valueOf();
this.picker.find('.datepicker-days th:eq(1)')
.text(DPGlobal.dates.months[month]+' '+year);
var prevMonth = new Date(year, month-1, 28,0,0,0,0),
day = DPGlobal.getDaysInMonth(prevMonth.getFullYear(), prevMonth.getMonth());
prevMonth.setDate(day);
prevMonth.setDate(day - (prevMonth.getDay() - this.weekStart + 7)%7);
var nextMonth = new Date(prevMonth);
nextMonth.setDate(nextMonth.getDate() + 42);
nextMonth = nextMonth.valueOf();
var html = [];
var clsName,
prevY,
prevM;
while(prevMonth.valueOf() < nextMonth) {
if (prevMonth.getDay() === this.weekStart) {
html.push('<tr>');
}
clsName = this.onRender(prevMonth);
prevY = prevMonth.getFullYear();
prevM = prevMonth.getMonth();
if ((prevM < month && prevY === year) || prevY < year) {
clsName += ' old';
} else if ((prevM > month && prevY === year) || prevY > year) {
clsName += ' new';
}
if (prevMonth.valueOf() === currentDate) {
clsName += ' active ' + this.color;
}
html.push('<td class="day '+clsName+'"><p>'+prevMonth.getDate() + '</p></td>');
if (prevMonth.getDay() === this.weekEnd) {
html.push('</tr>');
}
prevMonth.setDate(prevMonth.getDate()+1);
}
this.picker.find('.datepicker-days tbody').empty().append(html.join(''));
var currentYear = this.date.getFullYear();
var months = this.picker.find('.datepicker-months')
.find('th:eq(1)')
.text(year)
.end()
.find('span').removeClass('active');
if (currentYear === year) {
months.eq(this.date.getMonth()).addClass('active').addClass(this.color);
}
html = '';
year = parseInt(year/10, 10) * 10;
var yearCont = this.picker.find('.datepicker-years')
.find('th:eq(1)')
.text(year + '-' + (year + 9))
.end()
.find('td');
year -= 1;
for (var i = -1; i < 11; i++) {
html += '<span class="year'+(i === -1 || i === 10 ? ' old' : '')+(currentYear === year ? ' active ' : '')+ this.color + '">'+year+'</span>';
year += 1;
}
yearCont.html(html);
},
click: function(e) {
e.stopPropagation();
e.preventDefault();
var target = $(e.target).closest('span, td, th');
if (target.length === 1) {
switch(target[0].nodeName.toLowerCase()) {
case 'th':
switch(target[0].className) {
case 'switch-datepicker':
this.showMode(1);
break;
case 'prev':
case 'next':
this.viewDate['set'+DPGlobal.modes[this.viewMode].navFnc].call(
this.viewDate,
this.viewDate['get'+DPGlobal.modes[this.viewMode].navFnc].call(this.viewDate) +
DPGlobal.modes[this.viewMode].navStep * (target[0].className === 'prev' ? -1 : 1)
);
this.fill();
this.set();
break;
}
break;
case 'span':
if (target.is('.month')) {
var month = target.parent().find('span').index(target);
this.viewDate.setMonth(month);
} else {
var year = parseInt(target.text(), 10)||0;
this.viewDate.setFullYear(year);
}
if (this.viewMode !== 0) {
this.date = new Date(this.viewDate);
this.element.trigger({
type: 'changeDate',
date: this.date,
viewMode: DPGlobal.modes[this.viewMode].clsName
});
}
this.showMode(-1);
this.fill();
this.set();
break;
case 'td':
if (target.is('.day') && !target.is('.disabled')){
var day = parseInt(target.text(), 10)||1;
var month = this.viewDate.getMonth();
if (target.is('.old')) {
month -= 1;
} else if (target.is('.new')) {
month += 1;
}
var year = this.viewDate.getFullYear();
this.date = new Date(year, month, day,0,0,0,0);
this.viewDate = new Date(year, month, Math.min(28, day),0,0,0,0);
this.fill();
this.set();
this.element.trigger({
type: 'changeDate',
date: this.date,
viewMode: DPGlobal.modes[this.viewMode].clsName
});
}
break;
}
}
},
mousedown: function(e){
e.stopPropagation();
e.preventDefault();
},
showMode: function(dir) {
if (dir) {
this.viewMode = Math.max(this.minViewMode, Math.min(2, this.viewMode + dir));
}
this.picker.find('>div').hide().filter('.datepicker-'+DPGlobal.modes[this.viewMode].clsName).show();
}
};
$.fn.datepicker = function ( option, val ) {
return this.each(function () {
var $this = $(this),
data = $this.data('datepicker'),
options = typeof option === 'object' && option;
if (!data) {
$this.data('datepicker', (data = new Datepicker(this, $.extend({}, $.fn.datepicker.defaults,options))));
}
if (typeof option === 'string') data[option](val);
});
};
$.fn.datepicker.defaults = {
onRender: function(date) {
return '';
}
};
$.fn.datepicker.Constructor = Datepicker;
var DPGlobal = {
modes: [
{
clsName: 'days',
navFnc: 'Month',
navStep: 1
},
{
clsName: 'months',
navFnc: 'FullYear',
navStep: 1
},
{
clsName: 'years',
navFnc: 'FullYear',
navStep: 10
}],
dates:{
days: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"],
daysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
daysMin: ["S", "M", "T", "W", "T", "F", "S", "S"],
months: ["JAN.", "FEB.", "MAR.", "APR.", "MAY", "JUN.", "JUL.", "AUG.", "SEPT.", "OCT.", "NOV.", "DEC."],
monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]
},
isLeapYear: function (year) {
return (((year % 4 === 0) && (year % 100 !== 0)) || (year % 400 === 0))
},
getDaysInMonth: function (year, month) {
return [31, (DPGlobal.isLeapYear(year) ? 29 : 28), 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month]
},
parseFormat: function(format){
var separator = format.match(/[.\/\-\s].*?/),
parts = format.split(/\W+/);
if (!separator || !parts || parts.length === 0){
throw new Error("Invalid date format.");
}
return {separator: separator, parts: parts};
},
parseDate: function(date, format) {
var parts = date.split(format.separator),
date = new Date(),
val;
date.setHours(0);
date.setMinutes(0);
date.setSeconds(0);
date.setMilliseconds(0);
if (parts.length === format.parts.length) {
var year = date.getFullYear(), day = date.getDate(), month = date.getMonth();
for (var i=0, cnt = format.parts.length; i < cnt; i++) {
val = parseInt(parts[i], 10)||1;
switch(format.parts[i]) {
case 'dd':
case 'd':
day = val;
date.setDate(val);
break;
case 'mm':
case 'm':
month = val - 1;
date.setMonth(val - 1);
break;
case 'yy':
year = 2000 + val;
date.setFullYear(2000 + val);
break;
case 'yyyy':
year = val;
date.setFullYear(val);
break;
}
}
date = new Date(year, month, day, 0 ,0 ,0);
}
return date;
},
formatDate: function(date, format){
var val = {
d: date.getDate(),
m: date.getMonth() + 1,
yy: date.getFullYear().toString().substring(2),
yyyy: date.getFullYear()
};
val.dd = (val.d < 10 ? '0' : '') + val.d;
val.mm = (val.m < 10 ? '0' : '') + val.m;
var date = [];
for (var i=0, cnt = format.parts.length; i < cnt; i++) {
date.push(val[format.parts[i]]);
}
return date.join(format.separator);
},
headTemplate: '<thead>'+
'<tr>'+
'<th class="prev"><p>&lsaquo;</p></th>'+
'<th colspan="5" class="switch-datepicker"></th>'+
'<th class="next"><p>&rsaquo;</p></th>'+
'</tr>'+
'</thead>',
contTemplate: '<tbody><tr><td colspan="7"></td></tr></tbody>'
};
DPGlobal.template = '<div class="datepicker dropdown-menu">'+
'<div class="datepicker-days">'+
'<table class=" table-condensed">'+
DPGlobal.headTemplate+
'<tbody></tbody>'+
'</table>'+
'</div>'+
'<div class="datepicker-months">'+
'<table class="table-condensed">'+
DPGlobal.headTemplate+
DPGlobal.contTemplate+
'</table>'+
'</div>'+
'<div class="datepicker-years">'+
'<table class="table-condensed">'+
DPGlobal.headTemplate+
DPGlobal.contTemplate+
'</table>'+
'</div>'+
'</div>';
}( window.jQuery );

438
html/assets/js/bootstrap-select.js vendored Normal file
View file

@ -0,0 +1,438 @@
!function($) {
var Selectpicker = function(element, options, e) {
if (e ) {
e.stopPropagation();
e.preventDefault();
}
this.$element = $(element);
this.$newElement = null;
this.button = null;
//Merge defaults, options and data-attributes to make our options
this.options = $.extend({}, $.fn.selectpicker.defaults, this.$element.data(), typeof options == 'object' && options);
//If we have no title yet, check the attribute 'title' (this is missed by jq as its not a data-attribute
if(this.options.title==null)
this.options.title = this.$element.attr('title');
//Expose public methods
this.val = Selectpicker.prototype.val;
this.render = Selectpicker.prototype.render;
this.init();
};
Selectpicker.prototype = {
constructor: Selectpicker,
init: function (e) {
var _this = this;
this.$element.hide();
this.multiple = this.$element.prop('multiple');
var classList = this.$element.attr('class') !== undefined ? this.$element.attr('class').split(/\s+/) : '';
var id = this.$element.attr('id');
this.$element.after( this.createView() );
this.$newElement = this.$element.next('.select');
var select = this.$newElement;
var menu = this.$newElement.find('.dropdown-menu');
var menuArrow = this.$newElement.find('.dropdown-arrow');
var menuA = menu.find('li > a');
var liHeight = select.addClass('open').find('.dropdown-menu li > a').outerHeight();
select.removeClass('open');
var divHeight = menu.find('li .divider').outerHeight(true);
var selectOffset_top = this.$newElement.offset().top;
var size = 0;
var menuHeight = 0;
var selectHeight = this.$newElement.outerHeight();
this.button = this.$newElement.find('> button');
if (id !== undefined) {
this.button.attr('id', id);
$('label[for="' + id + '"]').click(function(){ select.find('button#'+id).focus(); })
}
for (var i = 0; i < classList.length; i++) {
if(classList[i] != 'selectpicker') {
this.$newElement.addClass(classList[i]);
}
}
//If we are multiple, then add the show-tick class by default
if(this.multiple) {
this.$newElement.addClass('select-multiple');
}
this.button.addClass(this.options.style);
menu.addClass(this.options.menuStyle);
menuArrow.addClass(function() {
if (_this.options.menuStyle) {
return _this.options.menuStyle.replace('dropdown-', 'dropdown-arrow-');
}
});
this.checkDisabled();
this.checkTabIndex();
this.clickListener();
var menuPadding = parseInt(menu.css('padding-top')) + parseInt(menu.css('padding-bottom')) + parseInt(menu.css('border-top-width')) + parseInt(menu.css('border-bottom-width'));
if (this.options.size == 'auto') {
// Creative Tim Changes: We changed the regular function made in bootstrap-select with this function so the getSize() will not be triggered one million times per second while you scroll.
var getSize = debounce(function() {
var selectOffset_top_scroll = selectOffset_top - $(window).scrollTop();
var windowHeight = $(window).innerHeight();
var menuExtras = menuPadding + parseInt(menu.css('margin-top')) + parseInt(menu.css('margin-bottom')) + 2;
var selectOffset_bot = windowHeight - selectOffset_top_scroll - selectHeight - menuExtras;
menuHeight = selectOffset_bot;
if (select.hasClass('dropup')) {
menuHeight = selectOffset_top_scroll - menuExtras;
}
//limit menuHeight to 300px to have a smooth transition with cubic bezier on dropdown
if(menuHeight >= 300){
menuHeight = 300;
}
menu.css({'max-height' : menuHeight + 'px', 'overflow-y' : 'auto', 'min-height' : liHeight * 3 + 'px'});
}, 50);
getSize;
$(window).on('scroll', getSize);
$(window).on('resize', getSize);
if (window.MutationObserver) {
new MutationObserver(getSize).observe(this.$element.get(0), {
childList: true
});
} else {
this.$element.bind('DOMNodeInserted', getSize);
}
} else if (this.options.size && this.options.size != 'auto' && menu.find('li').length > this.options.size) {
var optIndex = menu.find("li > *").filter(':not(.divider)').slice(0,this.options.size).last().parent().index();
var divLength = menu.find("li").slice(0,optIndex + 1).find('.divider').length;
menuHeight = liHeight*this.options.size + divLength*divHeight + menuPadding;
menu.css({'max-height' : menuHeight + 'px', 'overflow-y' : 'scroll'});
//console.log('sunt in if');
}
// Listen for updates to the DOM and re render... (Use Mutation Observer when availiable)
if (window.MutationObserver) {
new MutationObserver($.proxy(this.reloadLi, this)).observe(this.$element.get(0), {
childList: true
});
} else {
this.$element.bind('DOMNodeInserted', $.proxy(this.reloadLi, this));
}
this.render();
},
createDropdown: function() {
var drop =
"<div class='btn-group select'>" +
"<button class='btn dropdown-toggle clearfix' data-toggle='dropdown'>" +
"<span class='filter-option'></span>&nbsp;" +
"<span class='caret'></span>" +
"</button>" +
"<span class='dropdown-arrow'></span>" +
"<ul class='dropdown-menu' role='menu'>" +
"</ul>" +
"</div>";
return $(drop);
},
createView: function() {
var $drop = this.createDropdown();
var $li = this.createLi();
$drop.find('ul').append($li);
return $drop;
},
reloadLi: function() {
//Remove all children.
this.destroyLi();
//Re build
$li = this.createLi();
this.$newElement.find('ul').append( $li );
//render view
this.render();
},
destroyLi:function() {
this.$newElement.find('li').remove();
},
createLi: function() {
var _this = this;
var _li = [];
var _liA = [];
var _liHtml = '';
this.$element.find('option').each(function(){
_li.push($(this).text());
});
this.$element.find('option').each(function(index) {
//Get the class and text for the option
var optionClass = $(this).attr("class") !== undefined ? $(this).attr("class") : '';
var text = $(this).text();
var subtext = $(this).data('subtext') !== undefined ? '<small class="muted">'+$(this).data('subtext')+'</small>' : '';
//Append any subtext to the main text.
text+=subtext;
if ($(this).parent().is('optgroup') && $(this).data('divider') != true) {
if ($(this).index() == 0) {
//Get the opt group label
var label = $(this).parent().attr('label');
var labelSubtext = $(this).parent().data('subtext') !== undefined ? '<small class="muted">'+$(this).parent().data('subtext')+'</small>' : '';
label += labelSubtext;
if ($(this)[0].index != 0) {
_liA.push(
'<div class="divider"></div>'+
'<dt>'+label+'</dt>'+
_this.createA(text, "opt " + optionClass )
);
} else {
_liA.push(
'<dt>'+label+'</dt>'+
_this.createA(text, "opt " + optionClass ));
}
} else {
_liA.push( _this.createA(text, "opt " + optionClass ) );
}
} else if ($(this).data('divider') == true) {
_liA.push('<div class="divider"></div>');
} else if ($(this).data('hidden') == true) {
_liA.push('');
} else {
_liA.push( _this.createA(text, optionClass ) );
}
});
if (_li.length > 0) {
for (var i = 0; i < _li.length; i++) {
var $option = this.$element.find('option').eq(i);
_liHtml += "<li rel=" + i + ">" + _liA[i] + "</li>";
}
}
//If we dont have a selected item, and we dont have a title, select the first element so something is set in the button
if(this.$element.find('option:selected').length==0 && !_this.options.title) {
this.$element.find('option').eq(0).prop('selected', true).attr('selected', 'selected');
}
return $(_liHtml);
},
createA:function(test, classes) {
return '<a tabindex="-1" href="#" class="'+classes+'">' +
'<span class="">' + test + '</span>' +
'</a>';
},
render:function() {
var _this = this;
//Set width of select
if (this.options.width == 'auto') {
var ulWidth = this.$newElement.find('.dropdown-menu').css('width');
this.$newElement.css('width',ulWidth);
} else if (this.options.width && this.options.width != 'auto') {
this.$newElement.css('width',this.options.width);
}
//Update the LI to match the SELECT
this.$element.find('option').each(function(index) {
_this.setDisabled(index, $(this).is(':disabled') || $(this).parent().is(':disabled') );
_this.setSelected(index, $(this).is(':selected') );
});
var selectedItems = this.$element.find('option:selected').map(function(index,value) {
if($(this).attr('title')!=undefined) {
return $(this).attr('title');
} else {
return $(this).text();
}
}).toArray();
//Convert all the values into a comma delimited string
var title = selectedItems.join(", ");
//If this is multi select, and the selectText type is count, the show 1 of 2 selected etc..
if(_this.multiple && _this.options.selectedTextFormat.indexOf('count') > -1) {
var max = _this.options.selectedTextFormat.split(">");
if( (max.length>1 && selectedItems.length > max[1]) || (max.length==1 && selectedItems.length>=2)) {
title = selectedItems.length +' of ' + this.$element.find('option').length + ' selected';
}
}
//If we dont have a title, then use the default, or if nothing is set at all, use the not selected text
if(!title) {
title = _this.options.title != undefined ? _this.options.title : _this.options.noneSelectedText;
}
this.$element.next('.select').find('.filter-option').html( title );
},
setSelected:function(index, selected) {
if(selected) {
this.$newElement.find('li').eq(index).addClass('selected');
} else {
this.$newElement.find('li').eq(index).removeClass('selected');
}
},
setDisabled:function(index, disabled) {
if(disabled) {
this.$newElement.find('li').eq(index).addClass('disabled');
} else {
this.$newElement.find('li').eq(index).removeClass('disabled');
}
},
checkDisabled: function() {
if (this.$element.is(':disabled')) {
this.button.addClass('disabled');
this.button.click(function(e) {
e.preventDefault();
});
}
},
checkTabIndex: function() {
if (this.$element.is('[tabindex]')) {
var tabindex = this.$element.attr("tabindex");
this.button.attr('tabindex', tabindex);
}
},
clickListener: function() {
var _this = this;
$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });
this.$newElement.on('click', 'li a', function(e){
var clickedIndex = $(this).parent().index(),
$this = $(this).parent(),
$select = $this.parents('.select');
//Dont close on multi choice menu
if(_this.multiple) {
e.stopPropagation();
}
e.preventDefault();
//Dont run if we have been disabled
if ($select.prev('select').not(':disabled') && !$(this).parent().hasClass('disabled')){
//Deselect all others if not multi select box
if (!_this.multiple) {
$select.prev('select').find('option').removeAttr('selected');
$select.prev('select').find('option').eq(clickedIndex).prop('selected', true).attr('selected', 'selected');
}
//Else toggle the one we have chosen if we are multi selet.
else {
var selected = $select.prev('select').find('option').eq(clickedIndex).prop('selected');
if(selected) {
$select.prev('select').find('option').eq(clickedIndex).removeAttr('selected');
} else {
$select.prev('select').find('option').eq(clickedIndex).prop('selected', true).attr('selected', 'selected');
}
}
$select.find('.filter-option').html($this.text());
$select.find('button').focus();
// Trigger select 'change'
$select.prev('select').trigger('change');
}
});
this.$newElement.on('click', 'li.disabled a, li dt, li .divider', function(e) {
e.preventDefault();
e.stopPropagation();
$select = $(this).parent().parents('.select');
$select.find('button').focus();
});
this.$element.on('change', function(e) {
_this.render();
});
},
val:function(value) {
if(value!=undefined) {
this.$element.val( value );
this.$element.trigger('change');
return this.$element;
} else {
return this.$element.val();
}
}
};
$.fn.selectpicker = function(option, event) {
//get the args of the outer function..
var args = arguments;
var value;
var chain = this.each(function () {
var $this = $(this),
data = $this.data('selectpicker'),
options = typeof option == 'object' && option;
if (!data) {
$this.data('selectpicker', (data = new Selectpicker(this, options, event)));
} else {
for(var i in option) {
data[i]=option[i];
}
}
if (typeof option == 'string') {
//Copy the value of option, as once we shift the arguments
//it also shifts the value of option.
property = option;
if(data[property] instanceof Function) {
[].shift.apply(args);
value = data[property].apply(data, args);
} else {
value = data[property];
}
}
});
if(value!=undefined) {
return value;
} else {
return chain;
}
};
$.fn.selectpicker.defaults = {
style: null,
size: 'auto',
title: null,
selectedTextFormat : 'values',
noneSelectedText : 'Nothing selected',
width: null,
menuStyle: null,
toggleSize: null
}
}(window.jQuery);

View file

@ -0,0 +1,109 @@
!function ($) {
/* CHECKBOX PUBLIC CLASS DEFINITION
* ============================== */
var Checkbox = function (element, options) {
this.init(element, options);
}
Checkbox.prototype = {
constructor: Checkbox
, init: function (element, options) {
var $el = this.$element = $(element)
this.options = $.extend({}, $.fn.checkbox.defaults, options);
$el.before(this.options.template);
this.setState();
}
, setState: function () {
var $el = this.$element
, $parent = $el.closest('.checkbox');
$el.prop('disabled') && $parent.addClass('disabled');
$el.prop('checked') && $parent.addClass('checked');
}
, toggle: function () {
var ch = 'checked'
, $el = this.$element
, $parent = $el.closest('.checkbox')
, checked = $el.prop(ch)
, e = $.Event('toggle')
if ($el.prop('disabled') == false) {
$parent.toggleClass(ch) && checked ? $el.removeAttr(ch) : $el.prop(ch, ch);
$el.trigger(e).trigger('change');
}
}
, setCheck: function (option) {
var d = 'disabled'
, ch = 'checked'
, $el = this.$element
, $parent = $el.closest('.checkbox')
, checkAction = option == 'check' ? true : false
, e = $.Event(option)
$parent[checkAction ? 'addClass' : 'removeClass' ](ch) && checkAction ? $el.prop(ch, ch) : $el.removeAttr(ch);
$el.trigger(e).trigger('change');
}
}
/* CHECKBOX PLUGIN DEFINITION
* ======================== */
var old = $.fn.checkbox
$.fn.checkbox = function (option) {
return this.each(function () {
var $this = $(this)
, data = $this.data('checkbox')
, options = $.extend({}, $.fn.checkbox.defaults, $this.data(), typeof option == 'object' && option);
if (!data) $this.data('checkbox', (data = new Checkbox(this, options)));
if (option == 'toggle') data.toggle()
if (option == 'check' || option == 'uncheck') data.setCheck(option)
else if (option) data.setState();
});
}
$.fn.checkbox.defaults = {
template: '<span class="icons"><span class="first-icon fa fa-square fa-base"></span><span class="second-icon fa fa-check-square fa-base"></span></span>'
}
/* CHECKBOX NO CONFLICT
* ================== */
$.fn.checkbox.noConflict = function () {
$.fn.checkbox = old;
return this;
}
/* CHECKBOX DATA-API
* =============== */
$(document).on('click.checkbox.data-api', '[data-toggle^=checkbox], .checkbox', function (e) {
var $checkbox = $(e.target);
if (e.target.tagName != "A") {
e && e.preventDefault() && e.stopPropagation();
if (!$checkbox.hasClass('checkbox')) $checkbox = $checkbox.closest('.checkbox');
$checkbox.find(':checkbox').checkbox('toggle');
}
});
$(function () {
$('[data-toggle="checkbox"]').each(function () {
var $checkbox = $(this);
$checkbox.checkbox();
});
});
}(window.jQuery);

View file

@ -0,0 +1,140 @@
/* =============================================================
* flatui-radio v0.0.3
* ============================================================ */
!function ($) {
/* RADIO PUBLIC CLASS DEFINITION
* ============================== */
var Radio = function (element, options) {
this.init(element, options);
}
Radio.prototype = {
constructor: Radio
, init: function (element, options) {
var $el = this.$element = $(element)
this.options = $.extend({}, $.fn.radio.defaults, options);
$el.before(this.options.template);
this.setState();
}
, setState: function () {
var $el = this.$element
, $parent = $el.closest('.radio');
$el.prop('disabled') && $parent.addClass('disabled');
$el.prop('checked') && $parent.addClass('checked');
}
, toggle: function () {
var d = 'disabled'
, ch = 'checked'
, $el = this.$element
, checked = $el.prop(ch)
, $parent = $el.closest('.radio')
, $parentWrap = $el.closest('form').length ? $el.closest('form') : $el.closest('body')
, $elemGroup = $parentWrap.find(':radio[name="' + $el.attr('name') + '"]')
, e = $.Event('toggle')
if ($el.prop(d) == false) {
$elemGroup.not($el).each(function () {
var $el = $(this)
, $parent = $(this).closest('.radio');
if ($el.prop(d) == false) {
$parent.removeClass(ch) && $el.removeAttr(ch).trigger('change');
}
});
if (checked == false) $parent.addClass(ch) && $el.prop(ch, true);
$el.trigger(e);
if (checked !== $el.prop(ch)) {
$el.trigger('change');
}
}
}
, setCheck: function (option) {
var ch = 'checked'
, $el = this.$element
, $parent = $el.closest('.radio')
, checkAction = option == 'check' ? true : false
, checked = $el.prop(ch)
, $parentWrap = $el.closest('form').length ? $el.closest('form') : $el.closest('body')
, $elemGroup = $parentWrap.find(':radio[name="' + $el['attr']('name') + '"]')
, e = $.Event(option)
$elemGroup.not($el).each(function () {
var $el = $(this)
, $parent = $(this).closest('.radio');
$parent.removeClass(ch) && $el.removeAttr(ch);
});
$parent[checkAction ? 'addClass' : 'removeClass'](ch) && checkAction ? $el.prop(ch, ch) : $el.removeAttr(ch);
$el.trigger(e);
if (checked !== $el.prop(ch)) {
$el.trigger('change');
}
}
}
/* RADIO PLUGIN DEFINITION
* ======================== */
var old = $.fn.radio
$.fn.radio = function (option) {
return this.each(function () {
var $this = $(this)
, data = $this.data('radio')
, options = $.extend({}, $.fn.radio.defaults, $this.data(), typeof option == 'object' && option);
if (!data) $this.data('radio', (data = new Radio(this, options)));
if (option == 'toggle') data.toggle()
if (option == 'check' || option == 'uncheck') data.setCheck(option)
else if (option) data.setState();
});
}
$.fn.radio.defaults = {
template: '<span class="icons"><span class="first-icon fa fa-circle-o fa-base"></span><span class="second-icon fa fa-dot-circle-o fa-base"></span></span>'
}
/* RADIO NO CONFLICT
* ================== */
$.fn.radio.noConflict = function () {
$.fn.radio = old;
return this;
}
/* RADIO DATA-API
* =============== */
$(document).on('click.radio.data-api', '[data-toggle^=radio], .radio', function (e) {
var $radio = $(e.target);
e && e.preventDefault() && e.stopPropagation();
if (!$radio.hasClass('radio')) $radio = $radio.closest('.radio');
$radio.find(':radio').radio('toggle');
});
$(function () {
$('[data-toggle="radio"]').each(function () {
var $radio = $(this);
$radio.radio();
});
});
}(window.jQuery);

393
html/assets/js/ct-paper.js Normal file
View file

@ -0,0 +1,393 @@
/*!
=========================================================
* Paper Kit - v1.2.2
=========================================================
* Product Page: http://www.creative-tim.com/product/paper-kit
* Copyright 2016 Creative Tim (http://www.creative-tim.com)
* Licensed under MIT (https://github.com/timcreative/paper-kit/blob/master/LICENSE.md)
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
var searchVisible = 0;
var transparent = true;
var transparentDemo = true;
var fixedTop = false;
var navbar_initialized = false;
$(document).ready(function(){
window_width = $(window).width();
// Init navigation toggle for small screens
if(window_width < 768){
gsdk.initRightMenu();
}
// Activate Morpghing Buttons
$('[data-toggle="morphing"]').each(function () {
$(this).morphingButton();
});
// Activate the tooltips
$('[rel="tooltip"]').tooltip();
// Activate the switches with icons
if($('.switch').length != 0){
$('.switch')['bootstrapSwitch']();
}
// Activate regular switches
if($("[data-toggle='switch']").length != 0){
$("[data-toggle='switch']").wrap('<div class="switch" />').parent().bootstrapSwitch();
}
// Activate bootstrap-select
if($(".selectpicker").length != 0){
$(".selectpicker").selectpicker();
}
if($(".tagsinput").length != 0){
$(".tagsinput").tagsInput();
}
if($('.datepicker').length != 0){
$('.datepicker').datepicker({
weekStart:1,
color: '{color}'
});
}
$('.btn-tooltip').tooltip();
$('.label-tooltip').tooltip();
// Carousel
$('.carousel').carousel({
interval: 4000
});
$('.form-control').on("focus", function(){
$(this).parent('.input-group').addClass("input-group-focus");
}).on("blur", function(){
$(this).parent(".input-group").removeClass("input-group-focus");
});
demo.initPickColor();
// Make the images from the card fill the hole space
gsdk.fitBackgroundForCards();
// Init icon search action for the navbar
gsdk.initNavbarSearch();
// Init popovers
gsdk.initPopovers();
// Init Collapse Areas
gsdk.initCollapseArea();
// Init Sliders
gsdk.initSliders();
// Init video card actions
gsdk.initVideoCards();
});
// activate collapse right menu when the windows is resized
$(window).resize(function(){
if($(window).width() < 768){
gsdk.initRightMenu();
}
});
gsdk = {
misc:{
navbar_menu_visible: 0
},
initRightMenu: function(){
if(!navbar_initialized){
$navbar = $('nav').find('.navbar-collapse').first().clone(true);
$navbar.css('min-height', window.screen.height);
ul_content = '';
$navbar.children('ul').each(function(){
content_buff = $(this).html();
ul_content = ul_content + content_buff;
});
ul_content = '<ul class="nav navbar-nav">' + ul_content + '</ul>';
$navbar.html(ul_content);
$('body').append($navbar);
background_image = $navbar.data('nav-image');
if(background_image != undefined){
$navbar.css('background',"url('" + background_image + "')")
.removeAttr('data-nav-image')
.css('background-size',"cover")
.addClass('has-image');
}
$toggle = $('.navbar-toggle');
$navbar.find('a').removeClass('btn btn-round btn-default');
$navbar.find('button').removeClass('btn-round btn-fill btn-info btn-primary btn-success btn-danger btn-warning btn-neutral');
$navbar.find('button').addClass('btn-simple btn-block');
$toggle.click(function (){
if(gsdk.misc.navbar_menu_visible == 1) {
$('html').removeClass('nav-open');
gsdk.misc.navbar_menu_visible = 0;
$('#bodyClick').remove();
setTimeout(function(){
$toggle.removeClass('toggled');
}, 400);
} else {
setTimeout(function(){
$toggle.addClass('toggled');
}, 430);
div = '<div id="bodyClick"></div>';
$(div).appendTo("body").click(function() {
$('html').removeClass('nav-open');
gsdk.misc.navbar_menu_visible = 0;
$('#bodyClick').remove();
setTimeout(function(){
$toggle.removeClass('toggled');
}, 400);
});
$('html').addClass('nav-open');
gsdk.misc.navbar_menu_visible = 1;
}
});
navbar_initialized = true;
}
},
checkScrollForTransparentNavbar: debounce(function() {
if($(document).scrollTop() > 260 ) {
if(transparent) {
transparent = false;
$('nav[role="navigation"]').removeClass('navbar-transparent');
}
} else {
if( !transparent ) {
transparent = true;
$('nav[role="navigation"]').addClass('navbar-transparent');
}
}
}, 17),
fitBackgroundForCards: function(){
$('.card').each(function(){
if(!$(this).hasClass('card-product') && !$(this).hasClass('card-user')){
image = $(this).find('.image img');
image.hide();
image_src = image.attr('src');
$(this).find('.image').css({
"background-image": "url('" + image_src + "')",
"background-position": "center center",
"background-size": "cover"
});
}
});
},
initPopovers: function(){
if($('[data-toggle="popover"]').length != 0){
$('body').append('<div class="popover-filter"></div>');
// Activate Popovers
$('[data-toggle="popover"]').popover().on('show.bs.popover', function () {
$('.popover-filter').click(function(){
$(this).removeClass('in');
$('[data-toggle="popover"]').popover('hide');
});
$('.popover-filter').addClass('in');
}).on('hide.bs.popover', function(){
$('.popover-filter').removeClass('in');
});
}
},
initCollapseArea: function(){
$('[data-toggle="gsdk-collapse"]').each(function () {
var thisdiv = $(this).attr("data-target");
$(thisdiv).addClass("gsdk-collapse");
});
$('[data-toggle="gsdk-collapse"]').hover(function(){
var thisdiv = $(this).attr("data-target");
if(!$(this).hasClass('state-open')){
$(this).addClass('state-hover');
$(thisdiv).css({
'height':'30px'
});
}
},
function(){
var thisdiv = $(this).attr("data-target");
$(this).removeClass('state-hover');
if(!$(this).hasClass('state-open')){
$(thisdiv).css({
'height':'0px'
});
}
}).click(function(event){
event.preventDefault();
var thisdiv = $(this).attr("data-target");
var height = $(thisdiv).children('.panel-body').height();
if($(this).hasClass('state-open')){
$(thisdiv).css({
'height':'0px',
});
$(this).removeClass('state-open');
} else {
$(thisdiv).css({
'height':height + 30,
});
$(this).addClass('state-open');
}
});
},
initSliders: function(){
// Sliders for demo purpose in refine cards section
if($('#slider-range').length != 0){
$( "#slider-range" ).slider({
range: true,
min: 0,
max: 500,
values: [ 75, 300 ],
});
}
if($('#refine-price-range').length != 0){
$( "#refine-price-range" ).slider({
range: true,
min: 0,
max: 999,
values: [ 100, 850 ],
slide: function( event, ui ) {
min_price = ui.values[0];
max_price = ui.values[1];
$(this).siblings('.price-left').html('&euro; ' + min_price);
$(this).siblings('.price-right').html('&euro; ' + max_price)
}
});
}
if($('#slider-default').length != 0 || $('#slider-default2').length != 0){
$( "#slider-default, #slider-default2" ).slider({
value: 70,
orientation: "horizontal",
range: "min",
animate: true
});
}
},
initVideoCards: function(){
$('[data-toggle="video"]').click(function(){
id_video = $(this).data('video');
video = $('#' + id_video).get(0);
card_parent = $(this).closest('.card');
if(video.paused){
video.play();
$(this).html('<i class="fa fa-pause"></i> Pause');
card_parent.addClass('state-play');
} else {
video.pause();
$(this).html('<i class="fa fa-play"></i> Play');
card_parent.removeClass('state-play');
}
});
},
initNavbarSearch: function(){
$('[data-toggle="search"]').click(function(){
if(searchVisible == 0){
searchVisible = 1;
$(this).parent().addClass('active');
$('.navbar-search-form').fadeIn(function(){
$('.navbar-search-form input').focus();
});
} else {
searchVisible = 0;
$(this).parent().removeClass('active');
$(this).blur();
$('.navbar-search-form').fadeOut(function(){
$('.navbar-search-form input').blur();
});
}
});
}
}
demo = {
initPickColor: function(){
$('.pick-class-label').click(function(){
var new_class = $(this).attr('new-class');
var old_class = $('#display-buttons').attr('data-class');
var display_div = $('#display-buttons');
if(display_div.length) {
var display_buttons = display_div.find('.btn');
display_buttons.removeClass(old_class);
display_buttons.addClass(new_class);
display_div.attr('data-class', new_class);
}
});
}
}
examples = {
initContactUsMap: function(){
var myLatlng = new google.maps.LatLng(44.433530, 26.093928);
var mapOptions = {
zoom: 14,
center: myLatlng,
scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page
}
var map = new google.maps.Map(document.getElementById("contactUsMap"), mapOptions);
var marker = new google.maps.Marker({
position: myLatlng,
title:"Hello World!"
});
// To add the marker to the map, call setMap();
marker.setMap(map);
}
}
// Returns a function, that, as long as it continues to be invoked, will not
// be triggered. The function will be called after it stops being called for
// N milliseconds. If `immediate` is passed, trigger the function on the
// leading edge, instead of the trailing.
function debounce(func, wait, immediate) {
var timeout;
return function() {
var context = this, args = arguments;
clearTimeout(timeout);
timeout = setTimeout(function() {
timeout = null;
if (!immediate) func.apply(context, args);
}, wait);
if (immediate && !timeout) func.apply(context, args);
};
};

9789
html/assets/js/jquery-1.10.2.js vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 105 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 200 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 93 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 233 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 214 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 305 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

View file

@ -0,0 +1,48 @@
/*!
=========================================================
* Paper Kit - v1.2.2
=========================================================
* Product Page: http://www.creative-tim.com/product/paper-kit
* Copyright 2016 Creative Tim (http://www.creative-tim.com)
* Licensed under MIT (https://github.com/timcreative/paper-kit/blob/master/LICENSE.md)
=========================================================
* The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
*/
@import "ct-paper/variables";
@import "ct-paper/mixins";
@import "ct-paper/typography";
// Core CSS
@import "ct-paper/misc";
@import "ct-paper/buttons";
@import "ct-paper/inputs";
@import "ct-paper/progress-bars";
@import "ct-paper/sliders";
@import "ct-paper/alerts";
@import "ct-paper/labels";
@import "ct-paper/tooltips-and-popovers";
@import "ct-paper/sections";
@import "ct-paper/checkbox-radio";
@import "ct-paper/navbars";
@import "ct-paper/images";
// Fancy Stuff
@import "ct-paper/dropdown";
@import "ct-paper/tabs-navs-pagination";
@import "ct-paper/collapse";
@import "ct-paper/carousel";
@import "ct-paper/modal";
@import "ct-paper/responsive";
@import "ct-paper/datepicker";

View file

@ -0,0 +1,41 @@
.alert{
border: 0;
border-radius: 0;
color: #FFFFFF;
padding: 10px 15px;
font-size: 14px;
.container &{
border-radius: 4px;
}
.navbar &{
border-radius: 0;
left: 0;
position: absolute;
right: 0;
top: 85px;
width: 100%;
z-index: 3;
}
.navbar:not(.navbar-transparent) &{
top: 70px;
}
}
.alert-info{
background-color: $bg-info;
color: $info-states-color;
}
.alert-success {
background-color: $bg-success;
color: $success-states-color;
}
.alert-warning {
background-color: $bg-warning;
color: $warning-states-color;
}
.alert-danger {
background-color: $bg-danger;
color: $danger-states-color;
}

View file

@ -0,0 +1,120 @@
.btn,
.navbar .navbar-nav > li > a.btn{
border-radius: $border-radius-btn-base;
box-sizing: border-box;
border-width: $border-thick;
background-color: $transparent-bg;
// line-height: $line-height;
font-size: $font-size-base;
font-weight: $font-weight-semi;
padding: $padding-base-vertical $padding-base-horizontal;
@include btn-styles($default-color, $default-states-color);
@include transition($fast-transition-time, linear);
&:hover,
&:focus{
outline: 0 !important;
}
&:active,
&.active,
.open > &.dropdown-toggle {
@include box-shadow(none);
outline: 0 !important;
}
&.btn-icon{
padding: $padding-base-vertical;
}
i{
margin-right: 5px;
}
}
.btn-group .btn + .btn,
.btn-group .btn + .btn-group,
.btn-group .btn-group + .btn,
.btn-group .btn-group + .btn-group{
margin-left: -2px;
}
// Apply the mixin to the buttons
//.btn-default { @include btn-styles($default-color, $default-states-color); }
.navbar .navbar-nav > li > a.btn-primary, .btn-primary { @include btn-styles($primary-color, $primary-states-color); }
.navbar .navbar-nav > li > a.btn-success, .btn-success { @include btn-styles($success-color, $success-states-color); }
.navbar .navbar-nav > li > a.btn-info, .btn-info { @include btn-styles($info-color, $info-states-color); }
.navbar .navbar-nav > li > a.btn-warning, .btn-warning { @include btn-styles($warning-color, $warning-states-color); }
.navbar .navbar-nav > li > a.btn-danger, .btn-danger { @include btn-styles($danger-color, $danger-states-color); }
.btn-neutral {
@include btn-styles($white-color, $white-color);
&:hover,
&:focus{
color: $default-color;
}
&:active,
&.active,
.open > &.dropdown-toggle{
background-color: $white-color;
color: $default-color;
}
&.btn-fill{
color: $default-color;
}
&.btn-fill:hover,
&.btn-fill:focus{
color: $default-states-color;
}
&.btn-simple:active,
&.btn-simple.active{
background-color: transparent;
}
}
.btn{
&:disabled,
&[disabled],
&.disabled{
@include opacity(.5);
}
}
.btn-simple{
border: $none;
padding: $padding-base-vertical $padding-base-horizontal;
&.btn-icon{
padding: $padding-base-vertical;
}
}
.btn-lg{
@include btn-size($padding-large-vertical, $padding-large-horizontal, $font-size-large, $border-radius-btn-large, $line-height-small);
font-weight: $font-weight-normal;
}
.btn-sm{
@include btn-size($padding-small-vertical, $padding-small-horizontal, $font-size-small, $border-radius-btn-small, $line-height-small);
}
.btn-xs {
@include btn-size($padding-xs-vertical, $padding-xs-horizontal, $font-size-xs, $border-radius-btn-small, $line-height-small);
}
.btn-wd {
min-width: 140px;
}
.btn-group.select{
width: 100%;
}
.btn-group.select .btn{
text-align: left;
}
.btn-group.select .caret{
position: absolute;
top: 50%;
margin-top: -1px;
right: 8px;
}

View file

@ -0,0 +1,59 @@
.carousel-control{
background-color: $danger-color;
border-radius: 50%;
opacity: 1;
text-shadow: none;
&:hover,
&:focus{
opacity: 1;
background-color: $danger-states-color;
}
}
.carousel-control.left{
height: 30px;
top: 50%;
width: 30px;
left: 8%;
}
.carousel-control.right{
height: 30px;
right: 8%;
top: 50%;
width: 30px;
}
.carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .fa, .carousel-control .fa {
display: inline-block;
z-index: 5;
}
.carousel-control .fa{
font-size: 26px;
margin: 2px;
}
.carousel-control.left, .carousel-control.right {
background-image: none;
}
.carousel-inner{
background-color: #d6d2cc;
}
.carousel-inner > .item {
padding: 50px;
}
.carousel-inner > .item > img,
.carousel-inner > .item > a > img{
border-radius: $border-radius-extreme;
box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
margin-left: 25%;
max-width: 50%;
}
.carousel-indicators{
bottom: 0px;
}
.carousel-indicators > li{
background-color: $white-color;
border: 0 none;
}
.carousel-indicators .active{
background-color: $danger-color;
}

View file

@ -0,0 +1,129 @@
/* Checkbox and radio */
.checkbox,
.radio {
margin-bottom: 12px;
padding-left: 30px;
position: relative;
-webkit-transition: color,opacity 0.25s linear;
transition: color,opacity 0.25s linear;
font-size: $font-size-base;
font-weight: normal;
line-height: 1.5;
color: $font-color;
cursor: pointer;
.icons {
color: $font-color;
display: block;
height: 20px;
left: 0;
position: absolute;
top: 0;
width: 20px;
text-align: center;
line-height: 21px;
font-size: 20px;
cursor: pointer;
-webkit-transition: color,opacity 0.15s linear;
transition: color,opacity 0.15s linear;
opacity: .50;
}
&.checked{
.icons{
opacity: 1;
}
}
input{
outline: none !important;
display: none;
}
}
.checkbox .icons .first-icon,
.radio .icons .first-icon,
.checkbox .icons .second-icon,
.radio .icons .second-icon {
display: inline-table;
position: absolute;
left: 0;
top: 0;
background-color: transparent;
margin: 0;
@include opacity(1);
}
.checkbox .icons .second-icon,
.radio .icons .second-icon {
@include opacity(0);
}
.checkbox:hover,
.radio:hover {
-webkit-transition: color 0.2s linear;
transition: color 0.2s linear;
}
.checkbox:hover .first-icon,
.radio:hover .first-icon {
@include opacity(0);
}
.checkbox:hover .second-icon,
.radio:hover .second-icon {
@include opacity (1);
}
.checkbox.checked,
.radio.checked {
// color: $info-color;
}
.checkbox.checked .first-icon,
.radio.checked .first-icon {
opacity: 0;
filter: alpha(opacity=0);
}
.checkbox.checked .second-icon,
.radio.checked .second-icon {
opacity: 1;
filter: alpha(opacity=100);
// color: $info-color;
-webkit-transition: color 0.2s linear;
transition: color 0.2s linear;
}
.checkbox.disabled,
.radio.disabled {
cursor: default;
color: $medium-gray;
}
.checkbox.disabled .icons,
.radio.disabled .icons {
color: $medium-gray;
}
.checkbox.disabled .first-icon,
.radio.disabled .first-icon {
opacity: 1;
filter: alpha(opacity=100);
}
.checkbox.disabled .second-icon,
.radio.disabled .second-icon {
opacity: 0;
filter: alpha(opacity=0);
}
.checkbox.disabled.checked .icons,
.radio.disabled.checked .icons {
color: $medium-gray;
}
.checkbox.disabled.checked .first-icon,
.radio.disabled.checked .first-icon {
opacity: 0;
filter: alpha(opacity=0);
}
.checkbox.disabled.checked .second-icon,
.radio.disabled.checked .second-icon {
opacity: 1;
color: $medium-gray;
filter: alpha(opacity=100);
}

View file

@ -0,0 +1,30 @@
.panel {
border: 0;
border-bottom: 1px solid $medium-gray;
box-shadow: none;
}
.panel-default > .panel-heading {
background-color: $white-color;
border-color: $white-color;
}
.panel-group .panel{
border-radius: 0;
}
.panel-title{
font-size: $font-size-h5;
}
.panel-title a:hover, .panel-title a:focus{
text-decoration: none;
}
.gsdk-collapse{
display: block;
height: 0px;
visibility: visible;
overflow: hidden;
}
.panel-title a:hover, .panel-title a:focus{
color: $default-states-color;
}
.panel-default > .panel-heading + .panel-collapse.gsdk-collapse > .panel-body {
box-shadow: inset 0 7px 10px -7px rgba(0,0,0,0.14);
}

View file

@ -0,0 +1,221 @@
/*!
* Datepicker for Bootstrap
*
* Copyright 2012 Stefan Petre
* Licensed under the Apache License v2.0
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
/*
*
* SCSS by Creative Tim
* http://www.creative-tim.com
*
*/
.datepicker {
top: 0;
left: 0;
padding: 4px;
margin-top: 1px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
> div {
display: none;
}
table {
width: 100%;
margin: 0;
}
td,
th {
text-align: center;
width: 20px;
height: 20px;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
}
td{
border-top: 1px solid $medium-gray;
text-align: center;
p{
font-size: $font-size-small;
font-weight: $font-weight-normal;
border-radius: 50%;
height: 29px;
line-height: 29px;
margin: 3px 0 8px;
width: 29px;
}
:hover{
cursor: pointer;
}
}
th{
font-weight: $font-weight-light;
&.switch-datepicker{
font-size: $font-paragraph;
}
}
.prev p,
.next p{
font-size: $font-size-h3;
}
p:hover{
background: #eeeeee;
}
.day.disabled {
color: #eeeeee;
}
td.old,
td.new {
color: #999999;
border-top: 0;
}
td.active p,
td.active:hover p{
color: #ffffff;
background-color: $info-color;
}
td.blue p,
td.blue:hover p{
background-color: $primary-color;
}
td.azure p,
td.azure:hover p{
background-color: $info-color;
}
td.green p,
td.green:hover p{
background-color: $success-color;
}
td.orange p,
td.orange:hover p{
background-color: $warning-color;
}
td.red p,
td.red:hover p{
background-color: $danger-color;
}
span {
display: block;
width: 55px;
height: 54px;
line-height: 54px;
float: left;
margin: 2px;
cursor: pointer;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
&.old {
color: #999999;
}
}
span.active,
span:focus,
span:hover,
span:active {
background-color: $info-color;
}
span.active{
color: #FFFFFF;
}
span:hover {
background: #eeeeee;
}
span.blue,
span.blue:hover{
background-color: $primary-color;
}
span.azure,
span.azure:hover{
background-color: $info-color;
}
span.green,
span.green:hover{
background-color: $success-color;
}
span.orange,
span.orange:hover{
background-color: $warning-color;
}
span.red,
span.red:hover{
background-color: $danger-color;
}
th.switch-datepicker {
width: 145px;
}
th.next,
th.prev {
font-size: 21px;
}
thead tr:first-child th {
cursor: pointer;
}
thead tr:first-child th:hover {
background: #eeeeee;
}
&.dropdown-menu{
border-radius: $border-radius-bottom;
@include box-shadow(none);
@include transform-origin(none);
@include transform-scale(1);
@include transition($fast-transition-time, $transition-linear);
margin-top: -20px;
}
&.dropdown-menu.open{
@include opacity(1);
visibility: visible;
margin-top: -1px;
}
.table-condensed > tbody > tr > td{
padding: 2px;
}
.table-condensed > thead > tr > th{
padding: 0;
}
}
.input-append.date .add-on i,
.input-prepend.date .add-on i {
display: block;
cursor: pointer;
width: 16px;
height: 16px;
}
.datepicker-months thead{
padding: 0 0 3px;
display: block;
}

View file

@ -0,0 +1,117 @@
.dropdown-menu{
background-color: $pale-bg;
border: 0 none;
border-radius: $border-radius-extreme;
display: block;
margin-top: 10px;
padding: 0px;
position: absolute;
visibility: hidden;
z-index: 9000;
@include opacity(0);
@include box-shadow($dropdown-shadow);
// the style for opening dropdowns on mobile devices; for the desktop version check the _responsive.scss file
.open &{
@include opacity(1);
visibility: visible;
}
.divider{
background-color: $medium-pale-bg;
margin: 0px;
}
.dropdown-header{
color: $dark-gray;
font-size: $font-size-small;
padding: $padding-dropdown-vertical $padding-dropdown-horizontal;
}
// the style for the dropdown menu that appears under select, it is different from the default one
.select &{
border-radius: $border-radius-bottom;
@include box-shadow(none);
@include transform-origin($select-coordinates);
@include transform-scale(1);
@include transition($fast-transition-time, $transition-linear);
margin-top: -20px;
}
.select.open &{
margin-top: -1px;
}
> li > a {
color: $font-color;
font-size: $font-size-base;
padding: $padding-dropdown-vertical $padding-dropdown-horizontal;
@include transition-none();
img{
margin-top: -3px;
}
}
> li > a:focus{
outline: 0 !important;
}
.btn-group.select &{
min-width: 100%;
}
> li:first-child > a{
border-top-left-radius: $border-radius-extreme;
border-top-right-radius: $border-radius-extreme;
}
> li:last-child > a{
border-bottom-left-radius: $border-radius-extreme;
border-bottom-right-radius: $border-radius-extreme;
}
.select & > li:first-child > a{
border-radius: 0;
border-bottom: 0 none;
}
> li > a:hover,
> li > a:focus {
background-color: $default-color;
color: $fill-font-color;
opacity: 1;
text-decoration: none;
}
&.dropdown-primary > li > a:hover,
&.dropdown-primary > li > a:focus{
background-color: $primary-color;
}
&.dropdown-info > li > a:hover,
&.dropdown-info > li > a:focus{
background-color: $info-color;
}
&.dropdown-success > li > a:hover,
&.dropdown-success > li > a:focus{
background-color: $success-color;
}
&.dropdown-warning > li > a:hover,
&.dropdown-warning > li > a:focus{
background-color: $warning-color;
}
&.dropdown-danger > li > a:hover,
&.dropdown-danger > li > a:focus{
background-color: $danger-color;
}
}
//fix bug for the select items in btn-group
.btn-group.select{
overflow: hidden;
}
.btn-group.select.open{
overflow: visible;
}

View file

@ -0,0 +1,28 @@
.img-rounded{
border-radius: $border-radius-extreme;
box-shadow: 0 2px 2px rgba(204, 197, 185, 0.5);
transition: opacity 0.5s ease 0s;
}
.img-details{
min-height: 50px;
padding: 0 4px 0.5em;
}
.img-details .author{
margin-left: 10px;
margin-top: -21px;
width: 40px;
}
.img-circle{
background-color: $white-color;
margin-bottom: 10px;
padding: 4px;
}
.img-thumbnail{
border: 0 none;
border-radius: $border-radius-extreme;
box-shadow: 0 1px 2px rgba(164, 158, 147, 0.6);
margin-bottom: 10px;
}
.img-no-padding{
padding: 0px;
}

View file

@ -0,0 +1,138 @@
.form-control::-moz-placeholder{
@include placeholder($medium-gray,1);
}
.form-control:-moz-placeholder{
@include placeholder($medium-gray,1);
}
.form-control::-webkit-input-placeholder{
@include placeholder($medium-gray,1);
}
.form-control:-ms-input-placeholder{
@include placeholder($medium-gray,1);
}
.form-control {
background-color: $gray-input-bg;
border: medium none;
border-radius: $border-radius-base;
color: $font-color;
font-size: $font-size-base;
transition: background-color 0.3s ease 0s;
@include input-size($padding-base-vertical, $padding-base-horizontal, $height-base);
@include box-shadow(none);
&:focus{
background-color: $white-bg;
@include box-shadow(none);
outline: 0 !important;
}
.has-success &,
.has-error &,
.has-success &:focus,
.has-error &:focus{
@include box-shadow(none);
}
.has-success &{
background-color: $success-input-bg;
color: $success-color;
}
.has-success &:focus{
background-color: $white-bg;
}
.has-error &{
background-color: $danger-input-bg;
color: $danger-color;
}
.has-error &:focus{
background-color: $white-bg;
}
& + .form-control-feedback{
border-radius: $border-radius-large;
font-size: $font-size-base;
margin-top: -7px;
position: absolute;
right: 10px;
top: 50%;
vertical-align: middle;
}
.open &{
border-radius: $border-radius-base $border-radius-base 0 0;
border-bottom-color: transparent;
}
}
.input-lg{
height: 55px;
padding: $padding-large-vertical $padding-large-horizontal;
}
.has-error{
.form-control-feedback, .control-label{
color: $danger-color;
}
}
.has-success{
.form-control-feedback, .control-label{
color: $success-color;
}
}
.input-group-addon {
background-color: $gray-input-bg;
border: medium none;
border-radius: $border-radius-base;
.has-success &,
.has-error &{
background-color: $white-color;
}
.has-error .form-control:focus + &{
color: $danger-color;
}
.has-success .form-control:focus + &{
color: $success-color;
}
.form-control:focus + &,
.form-control:focus ~ &{
background-color: $white-color;
}
}
.input-group .form-control:first-child,
.input-group-addon:first-child,
.input-group-btn:first-child > .dropdown-toggle,
.input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
border-right: 0 none;
}
.input-group .form-control:last-child,
.input-group-addon:last-child,
.input-group-btn:last-child > .dropdown-toggle,
.input-group-btn:first-child > .btn:not(:first-child) {
border-left: 0 none;
}
.form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control {
background-color: $light-gray;
color: $default-color;
cursor: not-allowed;
}
.input-group-btn .btn{
border-width: $border-thin;
padding: $padding-round-vertical $padding-base-horizontal;
}
.input-group-btn .btn-default:not(.btn-fill){
border-color: $medium-gray;
}
.input-group-btn:last-child > .btn{
margin-left: 0;
}
textarea.form-control{
padding: 10px 18px;
}

View file

@ -0,0 +1,26 @@
/* Labels & Progress-bar */
.label{
padding: 0.4em 0.6em;
border-radius: 10px;
color: #FFFFFF;
font-weight: 500;
font-size: 0.75em;
text-transform: uppercase;
display: inline-block;
margin-bottom: 3px;
}
.label-primary{
background-color: $primary-color;
}
.label-info{
background-color: $info-color;
}
.label-success{
background-color: $success-color;
}
.label-warning{
background-color: $warning-color;
}
.label-danger{
background-color: $danger-color;
}

View file

@ -0,0 +1,127 @@
/* General overwrite */
body{
color: $font-color;
font-size: $font-size-base;
font-family: 'Montserrat', "Helvetica", Arial, sans-serif;
}
a{
color: $info-color;
&:hover, &:focus{
color: $info-states-color;
text-decoration: none;
}
@include transition($fast-transition-time, linear);
}
hr{
border-color: $medium-pale-bg;
}
.icon{
fill: $font-color;
}
.fa-base{
font-size: 1.25em !important;
}
a:focus, a:active,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
select::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner {
outline : 0;
}
.ui-slider-handle:focus,
.navbar-toggle {
outline : 0 !important;
}
/* Animations */
.form-control,
.input-group-addon,
.tagsinput,
.navbar,
.navbar .alert{
@include transition($general-transition-time, linear);
}
.tagsinput .tag,
.tagsinput-remove-link,
.filter,
.btn-hover,
[data-toggle="collapse"] i{
@include transition($fast-transition-time, linear);
}
.btn-morphing .fa,
.btn-morphing .circle,
.gsdk-collapse{
@include transition($slow-transition-time, linear);
}
.fa{
width: 18px;
text-align: center;
}
.margin-top{
margin-top: 50px;
}
/* CT colors */
.ct-blue,
.checkbox-blue.checkbox.checked .second-icon,
.checkbox-blue.checkbox.checked,
.radio-blue.radio.checked .second-icon,
.radio-blue.radio.checked{
color: $primary-color;
}
.ct-azure,
.checkbox-azure.checkbox.checked .second-icon,
.radio-azure.radio.checked .second-icon,
.checkbox-azure.checkbox.checked,
.radio-azure.radio.checked{
color: $info-color;
}
.ct-green,
.checkbox-green.checkbox.checked .second-icon,
.radio-green.radio.checked .second-icon,
.checkbox-green.checkbox.checked,
.radio-green.radio.checked{
color: $success-color;
}
.ct-orange,
.checkbox-orange.checkbox.checked .second-icon,
.radio-orange.radio.checked .second-icon,
.checkbox-orange.checkbox.checked,
.radio-orange.radio.checked{
color: $warning-color;
}
.ct-red,
.checkbox-red.checkbox.checked .second-icon,
.radio-red.radio.checked .second-icon,
.checkbox-red.checkbox.checked,
.radio-red.radio.checked{
color: $danger-color;
}
input.ct-blue + span.switch-left,
input.ct-blue + span + label + span.switch-right{
background-color: $primary-color;
}
input.ct-azure + span.switch-left,
input.ct-azure + span + label + span.switch-right{
background-color: $info-color;
}
input.ct-green + span.switch-left,
input.ct-green + span + label + span.switch-right{
background-color: $success-color;
}
input.ct-orange + span.switch-left,
input.ct-orange + span + label + span.switch-right{
background-color: $warning-color;
}
input.ct-red + span.switch-left,
input.ct-red + span + label + span.switch-right{
background-color: $danger-color;
}

View file

@ -0,0 +1,14 @@
//Utilities
@import "mixins/transparency";
@import "mixins/vendor-prefixes";
//Components
@import "mixins/buttons";
@import "mixins/inputs";
@import "mixins/labels";
@import "mixins/tabs";
@import "mixins/navbars";

View file

@ -0,0 +1,54 @@
.modal-header {
border-bottom: 1px solid $medium-gray;
padding: 20px;
text-align: center;
}
.modal-content {
border: 0 none;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.15), 0 0 1px 1px rgba(0, 0, 0, 0.1);
}
.modal-dialog {
padding-top: 60px;
}
.modal-body{
padding: 20px 50px;
}
.modal-footer {
border-top: 1px solid $medium-gray;
padding: 0px;
}
.modal-footer .left-side, .modal-footer .right-side{
display: inline-block;
text-align: center;
width: 49%;
}
.modal-footer .btn-simple{
padding: 20px;
width: 100%
}
.modal-footer .divider{
background-color: $medium-gray;
display: inline-block;
float: inherit;
height: 63px;
margin: 0px -3px;
position: absolute;
width: 1px;
}
.modal.fade .modal-dialog {
transform: none;
-webkit-transform: none;
-moz-transform: none;
}
.modal.in .modal-dialog {
transform: none;
-webkit-transform: none;
-moz-transform: none;
}
.modal-backdrop.in {
opacity: 0.25;
}

View file

@ -0,0 +1,272 @@
.nav {
> li{
> a:hover,
> a:focus{
background-color: transparent;
}
}
}
.navbar{
border: $none;
font-size: $font-size-navbar;
padding: 10px;
.navbar-brand{
font-weight: $font-weight-bold;
margin: $navbar-margin-brand;
padding: $navbar-padding-brand;
font-size: $font-size-large-navbar;
}
.navbar-nav{
> li > a {
line-height: 1.42857;
margin: $navbar-margin-a;
padding: $navbar-padding-a;
}
> li > a.btn{
margin: $navbar-margin-a-btn;
padding: $padding-base-vertical $padding-base-horizontal;
// line-height: $line-height;
}
> li > a [class^="fa"]{
font-size: $font-size-large + 1;
position: relative;
top: 1px;
}
}
.btn{
margin: $navbar-margin-btn;
font-size: $font-size-base;
}
.btn-simple{
font-size: $font-size-medium;
}
.caret{
// @include center-item();
}
}
.navbar-nav > li > .dropdown-menu{
border-radius: $border-radius-extreme;
margin-top: -5px;
}
.navbar-transparent, [class*="navbar-ct"]{
.navbar-brand{
color: $white-color;
@include opacity(.9);
&:focus,
&:hover{
background-color: transparent;
@include opacity(1);
}
}
.navbar-nav{
> li > a:not(.btn){
color: $white-color;
border-color: $white-color;
@include opacity(0.8);
}
> .active > a:not(.btn),
> .active > a:hover:not(.btn),
> .active > a:focus:not(.btn),
> li > a:hover:not(.btn),
> li > a:focus:not(.btn){
background-color: transparent;
border-radius: 3px;
color: $white-color;
@include opacity(1);
}
.nav > li > a.btn:hover{
background-color: transparent;
}
> .dropdown > a .caret,
> .dropdown > a:hover .caret,
> .dropdown > a:focus .caret{
border-bottom-color: $white-color;
border-top-color: $white-color;
}
> .open > a,
> .open > a:hover,
> .open > a:focus {
background-color: transparent;
color: $white-color;
@include opacity(1);
}
}
.btn-default{
color: $white-color;
border-color: $white-color;
}
.btn-default.btn-fill{
color: $dark-gray;
background-color: $white-color;
@include opacity(.9);
}
.btn-default.btn-fill:hover,
.btn-default.btn-fill:focus,
.btn-default.btn-fill:active,
.btn-default.btn-fill.active,
.open .dropdown-toggle.btn-fill.btn-default{
border-color: $white-color;
@include opacity(1);
}
}
.navbar-transparent{
.dropdown-menu .divider{
background-color: rgba($white-color,.2);
}
}
.nav-open .nav .caret{
border-bottom-color: $white-color;
border-top-color: $white-color;
}
.navbar-default {
background-color: $bg-nude;
border-bottom: 1px solid rgba(0, 0, 0, 0.1);
.brand{
color: $font-color !important;
}
.navbar-nav{
> li > a:not(.btn){
color: $dark-gray;
}
> .active > a,
> .active > a:not(.btn):hover,
> .active > a:not(.btn):focus,
> li > a:not(.btn):hover,
> li > a:not(.btn):focus {
background-color: transparent;
border-radius: 3px;
color: $info-color;
@include opacity(1);
}
> .dropdown > a:hover .caret,
> .dropdown > a:focus .caret {
border-bottom-color: $info-color;
border-top-color: $info-color;
}
> .open > a,
> .open > a:hover,
> .open > a:focus{
background-color: transparent;
color: $info-color;
}
.navbar-toggle:hover,.navbar-toggle:focus {
background-color: transparent;
}
}
&:not(.navbar-transparent) .btn-default:hover{
color: $info-color;
border-color: $info-color;
}
&:not(.navbar-transparent) .btn-neutral,
&:not(.navbar-transparent) .btn-neutral:hover,
&:not(.navbar-transparent) .btn-neutral:active{
color: $dark-gray;
}
}
/* Navbar with icons */
.navbar-icons{
&.navbar .navbar-brand{
margin-top: 12px;
margin-bottom: 12px;
}
.navbar-nav{
> li > a{
text-align: center;
padding: $navbar-padding-a-icons;
margin: $navbar-margin-a-icons;
}
[class^="pe"] {
font-size: 30px;
position: relative;
}
p {
margin: 3px 0 0;
}
}
}
.navbar-form{
@include box-shadow(none);
.form-control{
@include light-form();
height: 22px;
font-size: $font-size-navbar;
line-height: $line-height-general;
color: $light-gray;
}
.navbar-transparent & .form-control,
[class*="navbar-ct"] & .form-control{
color: $white-color;
border: $none;
border-bottom: 1px solid rgba($white-color,.6);
}
}
.navbar-ct-primary{
@include navbar-color($bg-primary);
}
.navbar-ct-info{
@include navbar-color($bg-info);
}
.navbar-ct-success{
@include navbar-color($bg-success);
}
.navbar-ct-warning{
@include navbar-color($bg-warning);
}
.navbar-ct-danger{
@include navbar-color($bg-danger);
}
.navbar-transparent{
padding-top: 15px;
background-color: transparent;
border-bottom: 1px solid transparent;
}
.navbar-toggle{
margin-top: 19px;
margin-bottom: 19px;
border: $none;
.icon-bar {
background-color: $white-color;
}
.navbar-collapse,
.navbar-form {
border-color: transparent;
}
&.navbar-default .navbar-toggle:hover,
&.navbar-default .navbar-toggle:focus {
background-color: transparent;
}
}

View file

@ -0,0 +1,27 @@
.progress {
background-color: $medium-gray;
border-radius: $border-radius-small;
box-shadow: none;
height: 8px;
}
.progress-thin{
height: 4px;
}
.progress-bar{
background-color: $primary-color;
}
.progress-bar-primary{
background-color: $primary-color;
}
.progress-bar-info{
background-color: $info-color;
}
.progress-bar-success{
background-color: $success-color;
}
.progress-bar-warning{
background-color: $warning-color;
}
.progress-bar-danger{
background-color: $danger-color;
}

View file

@ -0,0 +1,353 @@
@media (min-width: 768px){
.navbar-form {
margin-top: 21px;
margin-bottom: 21px;
padding-left: 5px;
padding-right: 5px;
}
.navbar-search-form{
display: none;
}
.navbar-nav > li > .dropdown-menu, .dropdown .dropdown-menu{
transform: translate3d(0px, -40px, 0px);
transition: all 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) 0s, opacity 0.3s ease 0s, height 0s linear 0.35s;
}
.navbar-nav > li.open > .dropdown-menu, .dropdown.open .dropdown-menu{
transform: translate3d(0px, 0px, 0px);
}
.navbar-nav > li > .dropdown-menu:before{
border-bottom: 11px solid $medium-pale-bg;
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
content: "";
display: inline-block;
position: absolute;
right: 12px;
top: -11px;
}
.navbar-nav > li > .dropdown-menu:after {
border-bottom: 11px solid $pale-bg;
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
content: "";
display: inline-block;
position: absolute;
right: 12px;
top: -10px;
}
.navbar-nav.navbar-right > li > .dropdown-menu:before{
left: auto;
right: 12px;
}
.navbar-nav.navbar-right > li > .dropdown-menu:after{
left: auto;
right: 12px;
}
.footer:not(.footer-big){
nav > ul{
li:first-child{
margin-left: 0;
}
}
}
body > .navbar-collapse.collapse{
display: none !important;
}
}
/* Changes for small display */
@media (max-width: 767px){
.navbar-transparent{
padding-top: 15px;
background-color: rgba(0, 0, 0, 0.45);
}
body {
position: relative;
font-size: $font-size-xs;
}
h6{
font-size: 1em;
}
.wrapper{
@include transform-translate-x(0px);
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
left: 0;
background-color: white;
}
.navbar .container{
left: 0;
width: 100%;
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
position: relative;
}
.navbar .navbar-collapse.collapse,
.navbar .navbar-collapse.collapse.in,
.navbar .navbar-collapse.collapsing{
display: none !important;
}
body > .navbar-collapse {
position: fixed;
display: block;
top: 0;
height: 100%;
width: 230px;
right: 0;
z-index: 1032;
visibility: visible;
background-color: #999;
overflow-y: visible;
border-top: none;
text-align: left;
border-left: 1px solid #CCC5B9;
padding-right: 0px;
padding-left: 40px;
padding-top: 15px;
@include transform-translate-x(230px);
@include transition (0.33s, cubic-bezier(0.685, 0.0473, 0.346, 1));
ul {
position: relative;
z-index: 3;
overflow-y:scroll;
height: 95%;
}
.nav > li{
// border-bottom: 1px solid;
&:last-child {
border-bottom: 0;
}
& > a{
margin: 0px 0px;
color: $default-color;
text-transform: uppercase;
font-weight: 600;
font-size: $font-size-small;
line-height: $line-height-general;
padding: 15px 0;
&:hover,
&.active{
color: $default-states-color;
}
}
}
&::after{
top: 0;
left: 0;
height: 100%;
width: 100%;
position: absolute;
background-color: $bg-nude;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
display: block;
content: "";
z-index: 1;
}
&.has-image::after{
@include black-filter(.8);
}
}
.nav-open .navbar-collapse{
@include transform-translate-x(0px);
}
.nav-open .navbar .container{
left: -230px;
}
.nav-open .wrapper{
left: 0;
@include transform-translate-x(-230px);
}
.navbar-toggle .icon-bar {
display: block;
position: relative;
background: #fff;
width: 24px;
height: 2px;
border-radius: 1px;
margin: 0 auto;
}
.navbar-header .navbar-toggle {
margin-top: 12px;
width: 40px;
height: 40px;
}
.bar1,
.bar2,
.bar3 {
outline: 1px solid transparent;
}
.bar1 {
top: 0px;
@include bar-animation($topbar-back);
}
.bar2 {
opacity: 1;
}
.bar3 {
bottom: 0px;
@include bar-animation($bottombar-back);
}
.toggled .bar1 {
top: 6px;
@include bar-animation($topbar-x);
}
.toggled .bar2 {
opacity: 0;
}
.toggled .bar3 {
bottom: 6px;
@include bar-animation($bottombar-x);
}
@include topbar-x-rotation();
@include topbar-back-rotation();
@include bottombar-x-rotation();
@include bottombar-back-rotation();
@-webkit-keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@-moz-keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
@keyframes fadeIn {
0% {opacity: 0;}
100% {opacity: 1;}
}
.navbar-nav {
margin: 1px -15px;
.open .dropdown-menu > li {
& > a{
padding: 15px 15px 5px 50px;
}
&:first-child > a{
padding: 5px 15px 5px 50px;
}
&:last-child > a {
padding: 15px 15px 25px 50px;
}
}
}
[class*="navbar-"] .navbar-nav {
& > li > a, > li > a:hover, > li > a:focus, .active > a, .active > a:hover, .active > a:focus, .open .dropdown-menu > li > a, .open .dropdown-menu > li > a:hover, .open .dropdown-menu > li > a:focus, .navbar-nav .open .dropdown-menu > li > a:active {
color: white;
}
& > li > a,
> li > a:hover,
> li > a:focus,
.open .dropdown-menu > li > a,
.open .dropdown-menu > li > a:hover,
.open .dropdown-menu > li > a:focus{
opacity: .7;
background: transparent;
}
&.navbar-nav .open .dropdown-menu > li > a:active {
opacity: 1;
}
& .dropdown > a{
&:hover .caret {
border-bottom-color: #777;
border-top-color: #777;
}
&:active .caret {
border-bottom-color: white;
border-top-color: white;
}
}
}
.dropdown-menu {
display: none;
}
.navbar-fixed-top {
-webkit-backface-visibility: hidden;
}
#bodyClick {
height: 100%;
width: 100%;
position: fixed;
opacity: 0;
top: 0;
left: auto;
right: 230px;
content: "";
z-index: 9999;
overflow-x: hidden;
}
.social-line .btn{
margin: $margin-bottom;
}
.subscribe-line .form-control{
margin: $margin-bottom;
}
.social-line.pull-right{
float: none;
}
.footer nav.pull-left{
float: none !important;
}
.footer:not(.footer-big) nav > ul li{
float: none;
}
.social-area.pull-right{
float: none !important;
}
.form-control + .form-control-feedback{
margin-top: -8px;
}
.navbar-toggle:hover,.navbar-toggle:focus {
background-color: transparent !important;
}
.btn.dropdown-toggle{
margin-bottom: 0;
}
.media-post .author{
width: 20%;
float: none !important;
display: block;
margin: 0 auto 10px;
}
.media-post .media-body{
width: 100%;
}
.modal-footer .btn-simple {
padding: 15px;
}
}
//overwrite table responsive for 768px screens
@media (max-width: 768px){
.table-responsive {
width: 100%;
margin-bottom: 15px;
overflow-x: scroll;
overflow-y: hidden;
border: 1px solid #dddddd;
-ms-overflow-style: -ms-autohiding-scrollbar;
-webkit-overflow-scrolling: touch;
}
}

View file

@ -0,0 +1,38 @@
.section{
padding: 30px 0;
position: relative;
background-color: #f4f3ef;
background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(112, 112, 112, 0) 60%, rgba(186, 186, 186, 0.15) 100%);
}
.section-with-space{
padding: 60px 0;
}
.section-gray{
background-color: #EEEEEE;
}
.section-white{
background-color: #FFFFFF;
}
.section-nude{
background-color: $bg-nude;
}
.section-light-brown{
background-color: #D8C1AB;
color: $white-color;
}
.section-brown{
background-color: #A59E94;
color: $white-color;
}
.section-light-blue{
background-color: $primary-color;
color: $white-color;
}
.section-dark-blue{
background-color: #506367;
color: $white-color;
}
.section-dark{
background-color: #1a1817;
color: $white-color;
}

View file

@ -0,0 +1,222 @@
/*!
* jQuery UI Slider 1.10.4
* http://jqueryui.com
*
* Copyright 2014 jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/slider/#theming
*/
.ui-slider {
border-radius: $border-radius-small;
position: relative;
text-align: left;
}
.ui-slider .ui-slider-handle {
position: absolute;
z-index: 2;
width: 1.2em;
height: 1.2em;
cursor: default;
transition: none;
-webkit-transition: none;
}
.ui-slider .ui-slider-range {
background-position: 0 0;
border: 0;
border-radius: $border-radius-small;
display: block;
font-size: .7em;
position: absolute;
z-index: 1;
}
/* For IE8 - See #6727 */
.ui-slider.ui-state-disabled .ui-slider-handle,
.ui-slider.ui-state-disabled .ui-slider-range {
filter: inherit;
}
.ui-slider-horizontal {
height: 8px;
}
.ui-slider-horizontal .ui-slider-handle {
margin-left: -10px;
top: -4px;
}
.ui-slider-horizontal .ui-slider-range {
top: 0;
height: 100%;
}
.ui-slider-horizontal .ui-slider-range-min {
left: 0;
}
.ui-slider-horizontal .ui-slider-range-max {
right: 0;
}
.ui-slider-vertical {
width: .8em;
height: 100px;
}
.ui-slider-vertical .ui-slider-handle {
left: -.3em;
margin-left: 0;
margin-bottom: -.6em;
}
.ui-slider-vertical .ui-slider-range {
left: 0;
width: 100%;
}
.ui-slider-vertical .ui-slider-range-min {
bottom: 0;
}
.ui-slider-vertical .ui-slider-range-max {
top: 0;
}
/* Component containers
----------------------------------*/
.ui-widget {
font-size: 1.1em/*{fsDefault}*/;
}
.ui-widget .ui-widget {
font-size: 1em;
}
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
font-size: 1em;
}
.ui-widget-content {
background-color: #E5E5E5;
}
.ui-widget-content a {
color: #222222/*{fcContent}*/;
}
.ui-widget-header {
background: $medium-gray;
color: #222222;
font-weight: bold;
}
.ui-widget-header a {
color: #222222;
}
.slider-primary .ui-widget-header{
background-color: $primary-color;
}
.slider-info .ui-widget-header{
background-color: $info-color;
}
.slider-success .ui-widget-header{
background-color: $success-color;
}
.slider-warning .ui-widget-header{
background-color: $warning-color;
}
.slider-danger .ui-widget-header{
background-color: $danger-color;
}
/* Interaction states
----------------------------------*/
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
background: rgb(255,255,255); /* Old browsers */
background: -moz-linear-gradient(top, rgba(255,255,255,1) 0%, rgba(241,241,242,1) 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,1)), color-stop(100%,rgba(241,241,242,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,242,1) 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,242,1) 100%); /* Opera 11.10+ */
background: -ms-linear-gradient(top, rgba(255,255,255,1) 0%,rgba(241,241,242,1) 100%); /* IE10+ */
background: linear-gradient(to bottom, rgba(255,255,255,1) 0%,rgba(241,241,242,1) 100%); /* W3C */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#f1f1f2',GradientType=0 ); /* IE6-9 */
border-radius: 50%;
box-shadow: 0 1px 1px #FFFFFF inset, 0 1px 2px rgba(0, 0, 0, 0.4);
height:15px;
width:15px;
cursor:pointer;
}
.ui-state-default a,
.ui-state-default a:link,
.ui-state-default a:visited {
color: #555555/*{fcDefault}*/;
text-decoration: none;
}
.ui-state-hover a,
.ui-state-hover a:hover,
.ui-state-hover a:link,
.ui-state-hover a:visited,
.ui-state-focus a,
.ui-state-focus a:hover,
.ui-state-focus a:link,
.ui-state-focus a:visited {
color: #212121/*{fcHover}*/;
text-decoration: none;
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
color: #212121/*{fcActive}*/;
text-decoration: none;
}
/* Interaction Cues
----------------------------------*/
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
border: 1px solid #fcefa1;
background: #fbf9ee;
color: #363636;
}
.ui-state-highlight a,
.ui-widget-content .ui-state-highlight a,
.ui-widget-header .ui-state-highlight a {
color: #363636;
}
.ui-state-error,
.ui-widget-content .ui-state-error,
.ui-widget-header .ui-state-error {
border: 1px solid $danger-color/*{borderColorError}*/;
background-color: $danger-color;
color: $danger-color/*{fcError}*/;
}
.ui-state-error a,
.ui-widget-content .ui-state-error a,
.ui-widget-header .ui-state-error a {
color: $danger-color/*{fcError}*/;
}
.ui-state-error-text,
.ui-widget-content .ui-state-error-text,
.ui-widget-header .ui-state-error-text {
color: $danger-color/*{fcError}*/;
}
.ui-priority-primary,
.ui-widget-content .ui-priority-primary,
.ui-widget-header .ui-priority-primary {
font-weight: bold;
}
.ui-priority-secondary,
.ui-widget-content .ui-priority-secondary,
.ui-widget-header .ui-priority-secondary {
opacity: .7;
filter:Alpha(Opacity=70);
font-weight: normal;
}
.ui-state-disabled,
.ui-widget-content .ui-state-disabled,
.ui-widget-header .ui-state-disabled {
opacity: .35;
filter:Alpha(Opacity=35);
background-image: none;
}
.ui-state-disabled .ui-icon {
filter:Alpha(Opacity=35); /* For IE8 - See #6059 */
}

View file

@ -0,0 +1,353 @@
/* Navigation menu */
/* Navigation Tabs */
.nav-tabs-navigation{
text-align: center;
border-bottom: 1px solid $medium-pale-bg;
margin-bottom: 30px;
.nav > li > a{
padding-bottom: 20px;
}
}
.nav-tabs-wrapper{
display: inline-block;
margin-bottom: -6px;
margin-left: 1.25%;
margin-right: 1.25%;
position: relative;
width: auto;
}
.nav-tabs {
border-bottom: 0 none;
font-size: $font-size-base;
font-weight: $font-weight-bold;
> li{
> a{
border: 0 none;
color: $other-medium-gray;
}
> a:hover{
color: $font-color;
}
}
> li.active{
color: $font-color;
position: relative;
> a,
> a:hover,
> a:focus{
background-color: transparent;
border: 0 none;
//height: 50px;
}
:after{
border-bottom: 11px solid $bg-nude;
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
content: "";
display: inline-block;
position: absolute;
right: 40%;
bottom: -1px;
}
:before{
border-bottom: 11px solid $medium-pale-bg;
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
content: "";
display: inline-block;
position: absolute;
right: 40%;
bottom: 1px;
}
}
}
/* Navigation Pills */
.nav-pills {
> li + li {
margin-left: 0;
}
> li > a {
border: 2px solid $default-color;
border-radius: 0;
color: $default-color;
font-weight: $font-weight-bold;
margin-left: -1px;
padding: 5px 20px;
}
> li.active > a,
> li.active > a:hover,
> li.active > a:focus {
background-color: $default-color;
color: #FFFFFF;
}
> li:first-child > a{
border-radius: 30px 0 0 30px;
margin: 0;
}
> li:last-child > a{
border-radius: 0 30px 30px 0;
}
}
.pagination > li > a,
.pagination > li > span,
.pagination > li:first-child > a,
.pagination > li:first-child > span,
.pagination > li:last-child > a,
.pagination > li:last-child > span{
background-color: transparent;
border: 2px solid $default-color;
border-radius: 20px;
color: $default-color;
height: $line-height;
margin: 0 2px;
min-width: 36px;
padding: 5px 12px;
}
.pagination > li > a:hover,
.pagination > li > a:focus,
.pagination > li > a:active,
.pagination > li.active > a,
.pagination > li.active > span,
.pagination > li.active > a:hover,
.pagination > li.active > span:hover,
.pagination > li.active > a:focus,
.pagination > li.active > span:focus {
background-color: $default-color;
border-color: $default-color;
color: $white-color;
}
.nav-pills-primary > li > a,
.pagination-primary > li > a,
.pagination-primary > li > span,
.pagination-primary > li:first-child > a,
.pagination-primary > li:first-child > span,
.pagination-primary > li:last-child > a,
.pagination-primary > li:last-child > span{
border: 2px solid $primary-color;
color: $primary-color;
}
.nav-pills-primary > li.active > a,
.nav-pills-primary > li.active > a:hover,
.nav-pills-primary > li.active > a:focus,
.pagination-primary > li > a:hover,
.pagination-primary > li > a:focus,
.pagination-primary > li > a:active,
.pagination-primary > li.active > a,
.pagination-primary > li.active > span,
.pagination-primary > li.active > a:hover,
.pagination-primary > li.active > span:hover,
.pagination-primary > li.active > a:focus,
.pagination-primary > li.active > span:focus{
background-color: $primary-color;
border-color: $primary-color;
color: $white-color;
}
.nav-pills-info > li > a,
.pagination-info > li > a,
.pagination-info > li > span,
.pagination-info > li:first-child > a,
.pagination-info > li:first-child > span,
.pagination-info > li:last-child > a,
.pagination-info > li:last-child > span{
border: 2px solid $info-color;
color: $info-color;
}
.nav-pills-info > li.active > a,
.nav-pills-info > li.active > a:hover,
.nav-pills-info > li.active > a:focus,
.pagination-info > li > a:hover,
.pagination-info > li > a:focus,
.pagination-info > li > a:active,
.pagination-info > li.active > a,
.pagination-info > li.active > span,
.pagination-info > li.active > a:hover,
.pagination-info > li.active > span:hover,
.pagination-info > li.active > a:focus,
.pagination-info > li.active > span:focus{
background-color: $info-color;
border-color: $info-color;
color: $white-color;
}
.nav-pills-success > li > a,
.pagination-success > li > a,
.pagination-success > li > span,
.pagination-success > li:first-child > a,
.pagination-success > li:first-child > span,
.pagination-success > li:last-child > a,
.pagination-success > li:last-child > span{
border: 2px solid $success-color;
color: $success-color;
}
.nav-pills-success > li.active > a,
.nav-pills-success > li.active > a:hover,
.nav-pills-success > li.active > a:focus,
.pagination-success > li > a:hover,
.pagination-success > li > a:focus,
.pagination-success > li > a:active,
.pagination-success > li.active > a,
.pagination-success > li.active > span,
.pagination-success > li.active > a:hover,
.pagination-success > li.active > span:hover,
.pagination-success > li.active > a:focus,
.pagination-success > li.active > span:focus{
background-color: $success-color;
border-color: $success-color;
color: $white-color;
}
.nav-pills-warning > li > a,
.pagination-warning > li > a,
.pagination-warning > li > span,
.pagination-warning > li:first-child > a,
.pagination-warning > li:first-child > span,
.pagination-warning > li:last-child > a,
.pagination-warning > li:last-child > span{
border: 2px solid $warning-color;
color: $warning-color;
}
.nav-pills-warning > li.active > a,
.nav-pills-warning > li.active > a:hover,
.nav-pills-warning > li.active > a:focus,
.pagination-warning > li > a:hover,
.pagination-warning > li > a:focus,
.pagination-warning > li > a:active,
.pagination-warning > li.active > a,
.pagination-warning > li.active > span,
.pagination-warning > li.active > a:hover,
.pagination-warning > li.active > span:hover,
.pagination-warning > li.active > a:focus,
.pagination-warning > li.active > span:focus{
background-color: $warning-color;
border-color: $warning-color;
color: $white-color;
}
.nav-pills-danger > li > a,
.pagination-danger > li > a,
.pagination-danger > li > span,
.pagination-danger > li:first-child > a,
.pagination-danger > li:first-child > span,
.pagination-danger > li:last-child > a,
.pagination-danger > li:last-child > span{
border: 2px solid $danger-color;
color: $danger-color;
}
.nav-pills-danger > li.active > a,
.nav-pills-danger > li.active > a:hover,
.nav-pills-danger > li.active > a:focus,
.pagination-danger > li > a:hover,
.pagination-danger > li > a:focus,
.pagination-danger > li > a:active,
.pagination-danger > li.active > a,
.pagination-danger > li.active > span,
.pagination-danger > li.active > a:hover,
.pagination-danger > li.active > span:hover,
.pagination-danger > li.active > a:focus,
.pagination-danger > li.active > span:focus{
background-color: $danger-color;
border-color: $danger-color;
color: $white-color;
}
.nav-text, .nav-icons{
margin: $margin-bottom;
> li > a{
display: block;
padding: 0px $padding-base-horizontal;
color: $dark-gray;
text-align: center;
@include opacity(0.8);
&:hover,
&:focus{
background-color: $transparent-bg;
@include opacity(1);
}
}
> li:first-child a{
padding-left: 0;
}
> li.active a{
color: $info-color;
}
}
.nav-icons > li{
display: inline-block;
> a{
padding: 0 10px;
margin-bottom: 10px;
}
> a i{
font-size: $font-size-h4;
margin-bottom: 10px;
width: $font-size-h4;
}
}
.nav-icons.nav-stacked > li{
display: block;
> a {
margin-bottom: 20px;
}
}
.nav-blue > li.active a{
color: $primary-color;
}
.nav-azure > li.active a{
color: $info-color;
}
.nav-green > li.active a{
color: $success-color;
}
.nav-orange > li.active a{
color: $warning-color;
}
.nav-red > li.active a{
color: $danger-color;
}
.nav-text{
margin: $margin-bottom;
> li > a{
font-size: $font-size-h6;
text-transform: uppercase;
padding: 3px 0;
text-align: left;
font-weight: $font-weight-semi;
}
> li:first-child > a{
padding-top: 0;
}
h4{
margin-top: 0;
}
}
.nav-text:not(.nav-stacked){
> li{
display: inline-block;
}
> li > a{
margin-right: 15px;
}
}

View file

@ -0,0 +1,171 @@
.tooltip {
font-size: $font-size-small;
font-weight: $font-weight-normal;
&.top {
margin-top: -11px;
padding: 0;
}
&.top .tooltip-inner:after {
border-top: 11px solid $white-color;
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
bottom: -10px;
}
&.top .tooltip-inner:before {
border-top: 11px solid rgba(0, 0, 0, 0.2);
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
bottom: -11px;
}
&.bottom {
margin-top: 11px;
padding: 0;
}
&.bottom .tooltip-inner:after {
border-bottom: 11px solid $white-color;
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
top: -10px;
}
&.bottom .tooltip-inner:before {
border-bottom: 11px solid rgba(0, 0, 0, 0.2);
border-left: 11px solid rgba(0, 0, 0, 0);
border-right: 11px solid rgba(0, 0, 0, 0);
top: -11px;
}
&.left{
margin-left: -11px;
padding: 0;
}
&.left .tooltip-inner:after {
border-left: 11px solid $white-color;
border-top: 11px solid rgba(0, 0, 0, 0);
border-bottom: 11px solid rgba(0, 0, 0, 0);
right: -10px;
left: auto;
margin-left: 0;
}
&.left .tooltip-inner:before {
border-left: 11px solid rgba(0, 0, 0, 0.2);
border-top: 11px solid rgba(0, 0, 0, 0);
border-bottom: 11px solid rgba(0, 0, 0, 0);
right: -11px;
left: auto;
margin-left: 0;
}
&.right{
margin-left: 11px;
padding: 0;
}
&.right .tooltip-inner:after {
border-right: 11px solid $white-color;
border-top: 11px solid rgba(0, 0, 0, 0);
border-bottom: 11px solid rgba(0, 0, 0, 0);
left: -10px;
top: 10px;
margin-left: 0;
}
&.right .tooltip-inner:before {
border-right: 11px solid rgba(0, 0, 0, 0.2);
border-top: 11px solid rgba(0, 0, 0, 0);
border-bottom: 11px solid rgba(0, 0, 0, 0);
left: -11px;
top: 11px;
margin-left: 0;
}
}
.tooltip-arrow{
display: none;
opacity: 0;
}
.tooltip-inner {
background-color: $white-color;
border-radius: $border-radius-extreme;
box-shadow: 0 1px 13px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(115, 71, 38, 0.23);
color: $default-color;
max-width: 200px;
padding: 10px 10px;
text-align: center;
text-decoration: none;
}
.tooltip-inner:after {
content: "";
display: inline-block;
left: 100%;
margin-left: -60%;
position: absolute;
}
.tooltip-inner:before {
content: "";
display: inline-block;
left: 100%;
margin-left: -60%;
position: absolute;
}
.popover{
border: 0;
border-radius: $border-radius-base;
background-color: $bg-danger;
color: $white-color;
font-weight: $font-weight-normal;
padding: 0;
z-index: 1031;
@include box-shadow(none);
}
.popover-title{
background-color: $bg-danger;
border-bottom: 0 none;
font-size: $font-paragraph;
font-weight: normal;
line-height: 22px;
padding: 15px 15px 8px 15px;
margin: 0;
color: $danger-states-color;
text-align: center;
border-radius: $border-radius-base $border-radius-base 0 0;
}
.popover-content{
padding: 10px 15px 20px 15px;
text-align: center;
}
.popover .arrow{
border: 0;
}
.popover.top .arrow{
margin-left: 0;
}
.popover.bottom .arrow:after{
border-bottom-color: $bg-danger;
}
.popover-filter{
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 1030;
background-color: #000000;
@include opacity(0);
visibility: hidden;
transition: visibility 0s linear 0.3s,opacity 0.3s linear;
}
.popover-filter.in{
visibility:visible;
@include opacity(0.2);
transition-delay: 0s;
}
.popover.left > .arrow::after{
border-left-color: $bg-danger;
bottom: -20px;
}
.popover.top > .arrow::after{
border-top-color: $bg-danger;
}
.popover.right > .arrow::after{
border-right-color: $bg-danger;
}

View file

@ -0,0 +1,83 @@
/* Font Smoothing */
h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, a, .td-name, td{
-moz-osx-font-smoothing: grayscale;
-webkit-font-smoothing: antialiased;
font-family: 'Montserrat', "Helvetica", Arial, sans-serif;
}
h1, .h1, h2, .h2, h3, .h3, h4, .h4{
font-weight: $font-weight-normal;
margin: $margin-large-vertical 0 $margin-base-vertical;
}
h1, .h1 {
font-size: $font-size-h1;
}
h2, .h2{
font-size: $font-size-h2;
}
h3, .h3{
font-size: $font-size-h3;
line-height: 1.4;
margin: 20px 0 10px;
}
h4, .h4{
font-size: $font-size-h4;
font-weight: $font-weight-bold;
line-height: 1.2em;
}
h5, .h5 {
font-size: $font-size-h5;
font-weight: $font-weight-normal;
line-height: 1.4em;
margin-bottom: 15px;
}
h6, .h6{
font-size: $font-size-h6;
font-weight: $font-weight-bold;
text-transform: uppercase;
}
p{
font-size: $font-paragraph;
line-height: $line-height-general;
}
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small {
color: $dark-gray;
font-weight: $font-weight-light;
line-height: $line-height-general;
}
h1 small, h2 small, h3 small, h1 .small, h2 .small, h3 .small {
font-size: 60%;
}
.title-uppercase{
text-transform: uppercase;
}
blockquote{
font-style: italic;
}
blockquote small{
font-style: normal;
}
.text-muted{
color: $medium-gray;
}
.text-primary, .text-primary:hover{
color: $primary-states-color !important;
}
.text-info, .text-info:hover{
color: $info-states-color !important;
}
.text-success, .text-success:hover{
color: $success-states-color !important;
}
.text-warning, .text-warning:hover{
color: $warning-states-color !important;
}
.text-danger, .text-danger:hover{
color: $danger-states-color !important;
}
.glyphicon{
line-height: 1;
}

View file

@ -0,0 +1,238 @@
//== Buttons
//
//## For each of Bootstrap's buttons, define text, background and border color.
$font-color: #66615b !default;
$fill-font-color: rgba(255, 255, 255, 0.7);
$none: 0 !default;
$border-thin: 1px !default;
$border-thick: 2px !default;
$white-color: #FFFFFF !default;
$white-bg: #FFFFFF !default;
$smoke-bg: #F5F5F5 !default;
$pale-bg: #FFFCF5 !default;
$medium-pale-bg: #F1EAE0 !default;
$black-bg: rgba(30,30,30,.97) !default;
$black-color: #333333 !default;
$black-hr: #444444 !default;
$light-gray: #E3E3E3 !default;
$medium-gray: #DDDDDD !default;
$dark-gray: #9A9A9A !default;
$gray-input-bg: #fffcf5 !default;
$danger-input-bg: #FFC0A4 !default;
$success-input-bg: #ABF3CB !default;
$other-medium-gray: #A49E93 !default;
$transparent-bg: transparent !default;
$default-color: #66615B !default;
$default-bg: #66615B !default;
$default-states-color: #403D39 !default;
$primary-color: #7A9E9F !default;
$primary-bg: #7A9E9F !default;
$primary-states-color: #427C89 !default;
$success-color: #7AC29A !default;
$success-bg: #7AC29A !default;
$success-states-color: #42A084 !default;
$info-color: #68B3C8 !default;
$info-bg: #68B3C8 !default;
$info-states-color: #3091B2 !default;
$warning-color: #F3BB45 !default;
$warning-bg: #F3BB45 !default;
$warning-states-color: #BB992F !default;
$danger-color: #EB5E28 !default;
$danger-bg: #EB5E28 !default;
$danger-states-color: #B33C12 !default;
$link-disabled-color: #666666 !default;
/* light colors - used for select dropdown */
$light-blue: rgba($primary-color, .2);
$light-azure: rgba($info-color, .2);
$light-green: rgba($success-color, .2);
$light-orange: rgba($warning-color, .2);
$light-red: rgba($danger-color, .2);
//== Components
//
$padding-base-vertical: 7px !default;
$padding-base-horizontal: 18px !default;
$padding-round-vertical: 9px !default;
$padding-round-horizontal: 18px !default;
$padding-simple-vertical: 10px !default;
$padding-simple-horizontal: 18px !default;
$padding-large-vertical: 11px !default;
$padding-large-horizontal: 30px !default;
$padding-small-vertical: 4px !default;
$padding-small-horizontal: 10px !default;
$padding-xs-vertical: 2px !default;
$padding-xs-horizontal: 5px !default;
$padding-label-vertical: 2px !default;
$padding-label-horizontal: 12px !default;
// padding for links inside dropdown menu
$padding-dropdown-vertical: 10px !default;
$padding-dropdown-horizontal: 15px !default;
$margin-large-vertical: 30px !default;
$margin-base-vertical: 15px !default;
// border radius for buttons
$border-radius-btn-small: 26px !default;
$border-radius-btn-base: 20px !default;
$border-radius-btn-large: 50px !default;
// Cristina: am schimbat aici si s-au modificat inputurile
$margin-bottom: 0 0 10px 0 !default;
$border-radius-small: 3px !default;
$border-radius-base: 4px !default;
$border-radius-large: 6px !default;
$border-radius-extreme: 8px !default;
$border-radius-large-top: $border-radius-large $border-radius-large 0 0 !default;
$border-radius-large-bottom: 0 0 $border-radius-large $border-radius-large !default;
$btn-round-radius: 30px !default;
$height-base: 40px !default;
$font-size-base: 16px !default;
$font-size-xs: 12px !default;
$font-size-small: 14px !default;
$font-size-medium: 18px !default;
$font-size-large: 20px !default;
$font-size-large-navbar: 22px !default;
// $font-size-h1: 52px !default;
$font-size-h1: 4.5em !default;
$font-size-h2: 3em !default;
$font-size-h3: 1.825em !default;
$font-size-h4: 1.5em !default;
$font-size-h5: 1.25em !default;
$font-size-h6: 0.9em !default;
$font-paragraph: 16px !default;
$font-size-navbar: 16px !default;
$font-size-small: 12px !default;
$font-weight-light: 300 !default;
$font-weight-normal: 400 !default;
$font-weight-semi: 500 !default;
$font-weight-bold: 600 !default;
$line-height-small: 20px !default;
$line-height-general: 1.4em !default;
$line-height: 36px !default;
$line-height-lg: 54px !default;
$border-radius-top: 10px 10px 0 0 !default;
$border-radius-bottom: 0 0 10px 10px !default;
$dropdown-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(17, 16, 15, 0.1);
$general-transition-time: 300ms !default;
$slow-transition-time: 300ms !default;
$dropdown-coordinates: 29px -50px !default;
$fast-transition-time: 150ms !default;
$select-coordinates: 50% -40px !default;
$transition-linear: linear !default;
$transition-bezier: cubic-bezier(0.34, 1.61, 0.7, 1) !default;
$transition-ease: ease 0s;
$navbar-padding-a: 10px 15px;
$navbar-margin-a: 15px 3px;
$padding-social-a: 10px 5px;
$navbar-margin-a-btn: 15px 3px;
$navbar-margin-a-btn-round: 16px 3px;
$navbar-padding-a-icons: 6px 15px;
$navbar-margin-a-icons: 6px 3px;
$navbar-padding-brand: 20px 15px;
$navbar-margin-brand: 5px 0px;
$navbar-margin-brand-icons: 12px auto;
$navbar-margin-btn: 15px 3px;
$height-icon: 64px !default;
$width-icon: 64px !default;
$padding-icon: 12px !default;
$border-radius-icon: 15px !default;
$size-icon: 64px;
$size-icon-sm: 32px;
$height-icon-sm: 32px;
$width-icon-sm: 32px;
$padding-icon-sm: 4px;
$border-radius-icon-sm: 7px;
$height-icon-message: 40px;
$width-icon-message: 40px;
$height-icon-message-sm: 20px;
$width-icon-message-sm: 20px;
$white-navbar: rgba(#FFFFFF, .96);
$blue-navbar: rgba(#34ACDC, .98);
$azure-navbar: rgba(#5BCAFF, .98);
$green-navbar: rgba(#4CD964, .98);
$orange-navbar: rgba(#FF9500, .98);
$red-navbar: rgba(#FF4C40, .98);
$bg-nude: #FFFCF5 !default;
$bg-primary: #8ECFD5 !default;
$bg-info: #7CE4FE !default;
$bg-success: #8EF3C5 !default;
$bg-warning: #FFE28C !default;
$bg-danger: #FF8F5E !default;
$filter-blue: darken($primary-color, 10%);
$filter-azure: darken($info-color, 10%);
$filter-green: darken($success-color, 10%);
$filter-orange: darken($warning-color, 10%);
$filter-red: darken($danger-color, 10%);
$topbar-x: topbar-x !default;
$topbar-back: topbar-back !default;
$bottombar-x: bottombar-x !default;
$bottombar-back: bottombar-back !default;

View file

@ -0,0 +1,86 @@
// Mixin for generating new styles
@mixin btn-styles($btn-color, $btn-states-color) {
border-color: $btn-color;
color: $btn-color;
&:hover,
&:focus,
&:active,
&.active,
.open > &.dropdown-toggle {
background-color: $btn-color;
color: $fill-font-color;
border-color: $btn-color;
.caret{
border-top-color: $fill-font-color;
}
}
&.disabled,
&:disabled,
&[disabled],
fieldset[disabled] & {
&,
&:hover,
&:focus,
&.focus,
&:active,
&.active {
background-color: $transparent-bg;
border-color: $btn-color;
}
}
&.btn-fill {
color: $white-color;
background-color: $btn-color;
@include opacity(1);
&:hover,
&:focus,
&:active,
&.active,
.open > &.dropdown-toggle{
background-color: $btn-states-color;
color: $white-color;
border-color: $btn-states-color;
}
.caret{
border-top-color: $white-color;
}
}
&.btn-simple {
&:hover,
&:focus,
&:active,
&.active,
.open > &.dropdown-toggle{
background-color: $transparent-bg;
color: $btn-states-color;
}
.caret{
border-top-color: $white-color;
}
}
.caret{
border-top-color: $btn-color;
}
}
@mixin btn-size($padding-vertical, $padding-horizontal, $font-size, $border, $line-height){
font-size: $font-size;
border-radius: $border;
/* line-height: $line-height; */
padding: $padding-vertical $padding-horizontal;
&.btn-simple{
padding: $padding-vertical + 2 $padding-horizontal;
}
}

View file

@ -0,0 +1,17 @@
@mixin input-size($padding-vertical, $padding-horizontal, $height){
padding: $padding-vertical $padding-horizontal;
height: $height;
}
@mixin placeholder($color, $opacity){
color: $color;
@include opacity(1);
}
@mixin light-form(){
border-radius: 0;
border:0;
padding: 0;
background-color: transparent;
}

View file

@ -0,0 +1,21 @@
@mixin label-style(){
padding: $padding-label-vertical $padding-label-horizontal;
border: 1px solid $default-color;
border-radius: $border-radius-small;
color: $default-color;
font-weight: $font-weight-semi;
font-size: $font-size-small;
text-transform: uppercase;
display: inline-block;
vertical-align: middle;
}
@mixin label-color($color){
border-color: $color;
color: $color;
}
@mixin label-color-fill($color){
border-color: $color;
color: $white-color;
background-color: $color;
}

View file

@ -0,0 +1,11 @@
@mixin navbar-color($color){
background-color: $color;
}
@mixin center-item(){
left: 0;
right: 0;
margin-right: auto;
margin-left: auto;
position: absolute;
}

View file

@ -0,0 +1,4 @@
@mixin pill-style($color){
border: 1px solid $color;
color: $color;
}

View file

@ -0,0 +1,20 @@
// Opacity
@mixin opacity($opacity) {
opacity: $opacity;
// IE8 filter
$opacity-ie: ($opacity * 100);
filter: #{alpha(opacity=$opacity-ie)};
}
@mixin black-filter($opacity){
top: 0;
left: 0;
height: 100%;
width: 100%;
position: absolute;
background-color: rgba(17,17,17,$opacity);
display: block;
content: "";
z-index: 1;
}

View file

@ -0,0 +1,185 @@
// User select
// For selecting text on the page
@mixin user-select($select) {
-webkit-user-select: $select;
-moz-user-select: $select;
-ms-user-select: $select; // IE10+
user-select: $select;
}
@mixin box-shadow($shadow...) {
-webkit-box-shadow: $shadow; // iOS <4.3 & Android <4.1
box-shadow: $shadow;
}
// Box sizing
@mixin box-sizing($boxmodel) {
-webkit-box-sizing: $boxmodel;
-moz-box-sizing: $boxmodel;
box-sizing: $boxmodel;
}
@mixin transition($time, $type){
-webkit-transition: all $time $type;
-moz-transition: all $time $type;
-o-transition: all $time $type;
-ms-transition: all $time $type;
transition: all $time $type;
}
@mixin transition-none(){
-webkit-transition: none;
-moz-transition: none;
-o-transition: none;
-ms-transition: none;
transition: none;
}
@mixin transform-scale($value){
-webkit-transform: scale($value);
-moz-transform: scale($value);
-o-transform: scale($value);
-ms-transform: scale($value);
transform: scale($value);
}
@mixin transform-translate-x($value){
-webkit-transform: translate3d($value, 0, 0);
-moz-transform: translate3d($value, 0, 0);
-o-transform: translate3d($value, 0, 0);
-ms-transform: translate3d($value, 0, 0);
transform: translate3d($value, 0, 0);
}
@mixin transform-origin($coordinates){
-webkit-transform-origin: $coordinates;
-moz-transform-origin: $coordinates;
-o-transform-origin: $coordinates;
-ms-transform-origin: $coordinates;
transform-origin: $coordinates;
}
@mixin icon-gradient ($top-color, $bottom-color){
background: $top-color;
background: -moz-linear-gradient(top, $top-color 0%, $bottom-color 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,$top-color), color-stop(100%,$bottom-color));
background: -webkit-linear-gradient(top, $top-color 0%,$bottom-color 100%);
background: -o-linear-gradient(top, $top-color 0%,$bottom-color 100%);
background: -ms-linear-gradient(top, $top-color 0%,$bottom-color 100%);
background: linear-gradient(to bottom, $top-color 0%,$bottom-color 100%);
}
@mixin vertical-align {
position: relative;
top: 50%;
-webkit-transform: translateY(-50%);
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}
@mixin rotate-180(){
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg);
}
@mixin bar-animation($type){
-webkit-animation: $type 500ms linear 0s;
-moz-animation: $type 500ms linear 0s;
animation: $type 500ms 0s;
-webkit-animation-fill-mode: forwards;
-moz-animation-fill-mode: forwards;
animation-fill-mode: forwards;
}
@mixin topbar-x-rotation(){
@keyframes topbar-x {
0% {top: 0px; transform: rotate(0deg); }
45% {top: 6px; transform: rotate(145deg); }
75% {transform: rotate(130deg); }
100% {transform: rotate(135deg); }
}
@-webkit-keyframes topbar-x {
0% {top: 0px; -webkit-transform: rotate(0deg); }
45% {top: 6px; -webkit-transform: rotate(145deg); }
75% {-webkit-transform: rotate(130deg); }
100% { -webkit-transform: rotate(135deg); }
}
@-moz-keyframes topbar-x {
0% {top: 0px; -moz-transform: rotate(0deg); }
45% {top: 6px; -moz-transform: rotate(145deg); }
75% {-moz-transform: rotate(130deg); }
100% { -moz-transform: rotate(135deg); }
}
}
@mixin topbar-back-rotation(){
@keyframes topbar-back {
0% { top: 6px; transform: rotate(135deg); }
45% { transform: rotate(-10deg); }
75% { transform: rotate(5deg); }
100% { top: 0px; transform: rotate(0); }
}
@-webkit-keyframes topbar-back {
0% { top: 6px; -webkit-transform: rotate(135deg); }
45% { -webkit-transform: rotate(-10deg); }
75% { -webkit-transform: rotate(5deg); }
100% { top: 0px; -webkit-transform: rotate(0); }
}
@-moz-keyframes topbar-back {
0% { top: 6px; -moz-transform: rotate(135deg); }
45% { -moz-transform: rotate(-10deg); }
75% { -moz-transform: rotate(5deg); }
100% { top: 0px; -moz-transform: rotate(0); }
}
}
@mixin bottombar-x-rotation(){
@keyframes bottombar-x {
0% {bottom: 0px; transform: rotate(0deg);}
45% {bottom: 6px; transform: rotate(-145deg);}
75% {transform: rotate(-130deg);}
100% {transform: rotate(-135deg);}
}
@-webkit-keyframes bottombar-x {
0% {bottom: 0px; -webkit-transform: rotate(0deg);}
45% {bottom: 6px; -webkit-transform: rotate(-145deg);}
75% {-webkit-transform: rotate(-130deg);}
100% {-webkit-transform: rotate(-135deg);}
}
@-moz-keyframes bottombar-x {
0% {bottom: 0px; -moz-transform: rotate(0deg);}
45% {bottom: 6px; -moz-transform: rotate(-145deg);}
75% {-moz-transform: rotate(-130deg);}
100% {-moz-transform: rotate(-135deg);}
}
}
@mixin bottombar-back-rotation{
@keyframes bottombar-back {
0% { bottom: 6px;transform: rotate(-135deg);}
45% { transform: rotate(10deg);}
75% { transform: rotate(-5deg);}
100% { bottom: 0px;transform: rotate(0);}
}
@-webkit-keyframes bottombar-back {
0% {bottom: 6px;-webkit-transform: rotate(-135deg);}
45% {-webkit-transform: rotate(10deg);}
75% {-webkit-transform: rotate(-5deg);}
100% {bottom: 0px;-webkit-transform: rotate(0);}
}
@-moz-keyframes bottombar-back {
0% {bottom: 6px;-moz-transform: rotate(-135deg);}
45% {-moz-transform: rotate(10deg);}
75% {-moz-transform: rotate(-5deg);}
100% {bottom: 0px;-moz-transform: rotate(0);}
}
}

View file

@ -0,0 +1,150 @@
.landing-alert{
margin-bottom: 0;
}
.landing-header{
background-size: cover;
min-height: 570px;
}
.landing-header .motto{
padding-top: 8%;
text-align: left;
z-index: 3;
}
.landing-section{
padding: 100px 0;
}
.landing-section .btn-simple{
padding: 0;
}
.landing-section .column{
padding: 0 75px 0 25px;
}
.team-player .img-circle, .team-player .img-thumbnail{
display: block;
margin-top: 50px;
margin-left: auto;
margin-right: auto;
width: 120px;
}
.contact-form{
margin-top: 30px;
}
.contact-form label{
margin-top: 15px;
}
.contact-form .btn{
margin-top: 30px;
}
.navbar-relative{
position: relative;
z-index: 2;
}
#register-navbar a{
color: #FFF;
}
.register-background{
background-image: url('../paper_img/landscape.jpg');
background-position: center center;
background-size: cover;
min-height: 100vh;
overflow: hidden;
position: absolute;
width: 100%;
}
.register-background .filter-black::after{
background-color: rgba(0, 0, 0, 0.5);
content: "";
display: block;
height: 100%;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 1;
}
.register-background .container{
margin-top: 11%;
position: relative;
z-index: 3;
}
.register-footer{
bottom: 20px;
color: #fff;
position: absolute;
z-index: 3;
width: 100%;
}
.register-footer .fa-heart{
color: #EB5E28;
}
.register-card{
background-color: #FF8F5E;
border-radius: 8px;
color: #fff;
max-width: 350px;
margin: 20px 0 70px;
min-height: 400px;
padding: 30px;
}
.register-card label{
margin-top: 15px;
}
.register-card .title{
color: #B33C12;
text-align: center;
}
.register-card .btn{
margin-top: 30px;
}
.register-card .forgot{
text-align: center;
}
.profile-background{
background-image: url('../paper_img/lamp.jpg');
background-position: center center;
background-size: cover;
height: 300px;
position: relative;
margin-top: -110px;
}
.profile-background .filter-black::after{
background-color: rgba(0, 0, 0, 0.5);
content: "";
display: block;
height: 300px;
left: 0;
position: absolute;
top: 0;
width: 100%;
z-index: 1;
}
.profile-content{
position: relative;
}
.owner .avatar{
margin-top: -85px;
padding: 15px;
position:relative;
z-index: 3;
}
.owner .name h4{
margin-top: 10px;
}
.profile-tabs{
margin: 50px 0;
min-height: 300px;
}
#following h3{
margin: 40px 0;
}
.follows .unfollow{
width: 15px;
}
.follows hr{
margin-top: 10px;
}
.alert h5{
margin-bottom: 10px;
}