Initial Working Copy
This commit is contained in:
commit
0731843a82
357 changed files with 120880 additions and 0 deletions
41
html/assets/sass/ct-paper/_alerts.scss
Normal file
41
html/assets/sass/ct-paper/_alerts.scss
Normal 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;
|
||||
}
|
||||
|
||||
120
html/assets/sass/ct-paper/_buttons.scss
Normal file
120
html/assets/sass/ct-paper/_buttons.scss
Normal 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;
|
||||
}
|
||||
59
html/assets/sass/ct-paper/_carousel.scss
Normal file
59
html/assets/sass/ct-paper/_carousel.scss
Normal 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;
|
||||
}
|
||||
129
html/assets/sass/ct-paper/_checkbox-radio.scss
Normal file
129
html/assets/sass/ct-paper/_checkbox-radio.scss
Normal 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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
30
html/assets/sass/ct-paper/_collapse.scss
Normal file
30
html/assets/sass/ct-paper/_collapse.scss
Normal 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);
|
||||
}
|
||||
221
html/assets/sass/ct-paper/_datepicker.scss
Normal file
221
html/assets/sass/ct-paper/_datepicker.scss
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
117
html/assets/sass/ct-paper/_dropdown.scss
Normal file
117
html/assets/sass/ct-paper/_dropdown.scss
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
28
html/assets/sass/ct-paper/_images.scss
Normal file
28
html/assets/sass/ct-paper/_images.scss
Normal 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;
|
||||
}
|
||||
138
html/assets/sass/ct-paper/_inputs.scss
Normal file
138
html/assets/sass/ct-paper/_inputs.scss
Normal 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;
|
||||
}
|
||||
26
html/assets/sass/ct-paper/_labels.scss
Normal file
26
html/assets/sass/ct-paper/_labels.scss
Normal 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;
|
||||
}
|
||||
127
html/assets/sass/ct-paper/_misc.scss
Normal file
127
html/assets/sass/ct-paper/_misc.scss
Normal 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;
|
||||
}
|
||||
|
||||
14
html/assets/sass/ct-paper/_mixins.scss
Normal file
14
html/assets/sass/ct-paper/_mixins.scss
Normal 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";
|
||||
54
html/assets/sass/ct-paper/_modal.scss
Normal file
54
html/assets/sass/ct-paper/_modal.scss
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
272
html/assets/sass/ct-paper/_navbars.scss
Normal file
272
html/assets/sass/ct-paper/_navbars.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
27
html/assets/sass/ct-paper/_progress-bars.scss
Normal file
27
html/assets/sass/ct-paper/_progress-bars.scss
Normal 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;
|
||||
}
|
||||
353
html/assets/sass/ct-paper/_responsive.scss
Normal file
353
html/assets/sass/ct-paper/_responsive.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
38
html/assets/sass/ct-paper/_sections.scss
Normal file
38
html/assets/sass/ct-paper/_sections.scss
Normal 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;
|
||||
}
|
||||
222
html/assets/sass/ct-paper/_sliders.scss
Normal file
222
html/assets/sass/ct-paper/_sliders.scss
Normal 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 */
|
||||
}
|
||||
353
html/assets/sass/ct-paper/_tabs-navs-pagination.scss
Normal file
353
html/assets/sass/ct-paper/_tabs-navs-pagination.scss
Normal 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;
|
||||
}
|
||||
}
|
||||
171
html/assets/sass/ct-paper/_tooltips-and-popovers.scss
Normal file
171
html/assets/sass/ct-paper/_tooltips-and-popovers.scss
Normal 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;
|
||||
}
|
||||
83
html/assets/sass/ct-paper/_typography.scss
Normal file
83
html/assets/sass/ct-paper/_typography.scss
Normal 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;
|
||||
}
|
||||
238
html/assets/sass/ct-paper/_variables.scss
Normal file
238
html/assets/sass/ct-paper/_variables.scss
Normal 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;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
86
html/assets/sass/ct-paper/mixins/_buttons.scss
Normal file
86
html/assets/sass/ct-paper/mixins/_buttons.scss
Normal 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;
|
||||
}
|
||||
|
||||
}
|
||||
17
html/assets/sass/ct-paper/mixins/_inputs.scss
Normal file
17
html/assets/sass/ct-paper/mixins/_inputs.scss
Normal 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;
|
||||
|
||||
}
|
||||
21
html/assets/sass/ct-paper/mixins/_labels.scss
Normal file
21
html/assets/sass/ct-paper/mixins/_labels.scss
Normal 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;
|
||||
}
|
||||
11
html/assets/sass/ct-paper/mixins/_navbars.scss
Normal file
11
html/assets/sass/ct-paper/mixins/_navbars.scss
Normal 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;
|
||||
}
|
||||
4
html/assets/sass/ct-paper/mixins/_tabs.scss
Normal file
4
html/assets/sass/ct-paper/mixins/_tabs.scss
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
@mixin pill-style($color){
|
||||
border: 1px solid $color;
|
||||
color: $color;
|
||||
}
|
||||
20
html/assets/sass/ct-paper/mixins/_transparency.scss
Normal file
20
html/assets/sass/ct-paper/mixins/_transparency.scss
Normal 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;
|
||||
}
|
||||
185
html/assets/sass/ct-paper/mixins/_vendor-prefixes.scss
Normal file
185
html/assets/sass/ct-paper/mixins/_vendor-prefixes.scss
Normal 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);}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue