copy dari repo om Irfan
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.colorpicker {
|
||||
background-color: $dark-color-3;
|
||||
|
||||
&:before {
|
||||
border-bottom-color: $dark-color-1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
border-bottom-color: $dark-color-3;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
// MARKDOWN
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Bootstrap Markdown */
|
||||
.md-editor {
|
||||
border-radius: 4px;
|
||||
@include transition( border-color ease-in-out .15s, box-shadow ease-in-out .15s );
|
||||
|
||||
> .md-header {
|
||||
border-radius: 4px 4px 0 0;
|
||||
padding: 6px 4px 0;
|
||||
}
|
||||
|
||||
> .md-preview,
|
||||
> textarea {
|
||||
background: #FFF;
|
||||
border-bottom: none;
|
||||
border-radius: 0 0 4px 4px;
|
||||
padding: 10px;
|
||||
outline: none;
|
||||
width: 100% !important;
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.md-editor {
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
|
||||
.md-editor >.md-header,
|
||||
.md-editor .md-footer {
|
||||
background: $dark-color-5;
|
||||
}
|
||||
|
||||
.md-editor > .md-preview,
|
||||
.md-editor > textarea {
|
||||
background: $dark-color-3;
|
||||
}
|
||||
|
||||
.md-editor > textarea {
|
||||
color: #EEE;
|
||||
border-color: $dark-color-1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
@media only screen and (max-width: 767px) {
|
||||
.bootstrap-maxlength {
|
||||
&.bottom-left {
|
||||
margin-left: 40px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.multiselect-container {
|
||||
background-color: $dark-color-3;
|
||||
|
||||
> li > a {
|
||||
color: #EEE;
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
background-color: $dark-color-1;
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
.bootstrap-tagsinput {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.form-group-invisible {
|
||||
|
||||
.bootstrap-tagsinput {
|
||||
border: 0 none;
|
||||
box-shadow: none;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.bootstrap-tagsinput {
|
||||
background: $dark-color-3;
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,44 @@
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.bootstrap-timepicker-widget {
|
||||
background-color: $dark-color-3;
|
||||
|
||||
&:before {
|
||||
border-bottom-color: $dark-color-1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
border-bottom-color: $dark-color-3;
|
||||
}
|
||||
|
||||
&.timepicker-orient-bottom {
|
||||
|
||||
&:before {
|
||||
border-top-color: $dark-color-1;
|
||||
}
|
||||
|
||||
&:after {
|
||||
border-top-color: $dark-color-3;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
table td {
|
||||
|
||||
a {
|
||||
color: #FFF;
|
||||
|
||||
&:hover {
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
|
||||
input {
|
||||
background-color: $dark-color-2;
|
||||
border-color: $dark-color-3;
|
||||
color: #EEE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// DARK - CODE MIRROR
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark .CodeMirror pre {
|
||||
background: transparent;
|
||||
border: none;
|
||||
}
|
||||
@@ -0,0 +1,254 @@
|
||||
// DATEPICKER
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Datepicker - Input Group Addon */
|
||||
.input-daterange .input-group-addon {
|
||||
min-width: 36px;
|
||||
}
|
||||
|
||||
/* Datepicker - Base */
|
||||
.datepicker {
|
||||
padding: 10px;
|
||||
margin: 0 auto;
|
||||
|
||||
line-height: 1.1em;
|
||||
|
||||
&.datepicker-inline {
|
||||
line-height: 1.7em;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
|
||||
tr {
|
||||
td {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
cursor: pointer;
|
||||
@include font-size(13);
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
|
||||
&.prev {
|
||||
content: '\f0d9';
|
||||
font-family: FontAwesome;
|
||||
}
|
||||
|
||||
&.next {
|
||||
content: '\f0da';
|
||||
font-family: FontAwesome;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
td {
|
||||
text-align: center;
|
||||
@include font-size(12);
|
||||
|
||||
&.day {
|
||||
@include transition(background-color .1s ease-in .1s, color .1s ease-in .1s);
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DATEPICKER SKINS
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Datepicker - Skin Default */
|
||||
.datepicker {
|
||||
thead tr:first-child th:hover,
|
||||
tfoot tr th:hover,
|
||||
table tr td span:hover {
|
||||
background: $color-primary;
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
|
||||
table {
|
||||
tbody {
|
||||
tr {
|
||||
td {
|
||||
span.old,
|
||||
span.new {
|
||||
color: #CCC;
|
||||
|
||||
&:hover {
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
}
|
||||
|
||||
&.day {
|
||||
&:hover {
|
||||
background: $color-primary;
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: darken( $color-primary, 10% );
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
|
||||
&.new {
|
||||
color: $color-default-inverse;
|
||||
|
||||
&:hover {
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Datepicker - Skin Dark */
|
||||
.datepicker.datepicker-dark {
|
||||
background: #33363F;
|
||||
|
||||
table {
|
||||
thead {
|
||||
tr {
|
||||
th {
|
||||
&.datepicker-switch {
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
|
||||
&.dow {
|
||||
color: $color-default-inverse;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
tr {
|
||||
td {
|
||||
span.old,
|
||||
span.new {
|
||||
color: #444;
|
||||
|
||||
&:hover {
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
}
|
||||
|
||||
&.day {
|
||||
color: $color-primary-inverse;
|
||||
|
||||
&:hover {
|
||||
background: $color-primary;
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background: darken( $color-primary, 10% );
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
|
||||
&.new {
|
||||
color: $color-default-inverse;
|
||||
|
||||
&:hover {
|
||||
color: $color-primary-inverse;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/* Datepicker - Skin Primary */
|
||||
.datepicker.datepicker-primary {
|
||||
min-width: 255px;
|
||||
|
||||
&.datepicker-inline {
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
}
|
||||
|
||||
table {
|
||||
thead {
|
||||
tr {
|
||||
&:first-child {
|
||||
background-color: $color-primary;
|
||||
color: $color-primary-inverse;
|
||||
|
||||
th {
|
||||
&:hover {
|
||||
background-color: darken($color-primary, 10%);
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
border-radius: 4px 0 0 0;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
border-radius: 0 4px 0 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
background-color: lighten($color-primary, 5%);
|
||||
color: $color-primary-inverse;
|
||||
|
||||
th:hover {
|
||||
background-color: $color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
th {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
tbody {
|
||||
tr {
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.input-daterange .input-group-addon {
|
||||
text-shadow: none;
|
||||
}
|
||||
|
||||
.datepicker-dropdown {
|
||||
color: #EEE;
|
||||
background-color: $dark-color-3;
|
||||
|
||||
&:after {
|
||||
border-bottom-color: $dark-color-3;
|
||||
}
|
||||
|
||||
&.datepicker-orient-bottom {
|
||||
&:before {
|
||||
border-top-color: rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
&:after {
|
||||
border-top-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.datepicker.datepicker-primary {
|
||||
border-color: $dark-color-3;
|
||||
background: $dark-color-3;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
// FILE UPLOAD
|
||||
// -----------------------------------------------------------------------------
|
||||
.fileupload {
|
||||
.uneditable-input {
|
||||
.fa {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
}
|
||||
|
||||
.fileupload-preview {
|
||||
display: inline-block;
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
padding: 0 0 0 17px;
|
||||
text-overflow: ellipsis;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.btn {
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 479px) {
|
||||
.fileupload {
|
||||
.uneditable-input {
|
||||
width: 170px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,54 @@
|
||||
// FORM GROUP INVISIBLE
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Form Group Invisible */
|
||||
.form-group-invisible {
|
||||
position: relative;
|
||||
|
||||
&.focus {
|
||||
.control-label-invisible {
|
||||
color: #0088cc;
|
||||
}
|
||||
}
|
||||
|
||||
.control-label-invisible {
|
||||
bottom: 0;
|
||||
display: block;
|
||||
float: none;
|
||||
left: 0;
|
||||
line-height: 64px;
|
||||
margin: 0;
|
||||
padding-left: 50px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: -15px;
|
||||
@include transition( color ease-in-out .15s );
|
||||
width: auto;
|
||||
}
|
||||
|
||||
.form-control-invisible {
|
||||
&,
|
||||
&:focus,
|
||||
&:active,
|
||||
& + .bootstrap-tagsinput {
|
||||
background: transparent !important;
|
||||
border-color: transparent !important;
|
||||
box-shadow: none !important;
|
||||
}
|
||||
|
||||
& + .bootstrap-tagsinput {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
.form-group-invisible {
|
||||
padding-top: 30px;
|
||||
|
||||
.control-label-invisible {
|
||||
padding-left: 27px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,365 @@
|
||||
.switch {
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
cursor: pointer;
|
||||
margin: 3px 0;
|
||||
|
||||
.ios-switch {
|
||||
height: 35px;
|
||||
width: 65px;
|
||||
|
||||
.handle {
|
||||
height: 31px;
|
||||
width: 31px;
|
||||
}
|
||||
}
|
||||
|
||||
@each $state in $states {
|
||||
|
||||
&.switch-#{nth($state,1)} {
|
||||
.ios-switch .on-background {
|
||||
background: #{nth($state,2)};
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.switch-lg {
|
||||
|
||||
.ios-switch {
|
||||
height: 45px;
|
||||
width: 75px;
|
||||
|
||||
.handle {
|
||||
height: 41px;
|
||||
width: 41px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&.switch-sm {
|
||||
|
||||
.ios-switch {
|
||||
height: 25px;
|
||||
width: 55px;
|
||||
|
||||
.handle {
|
||||
height: 21px;
|
||||
width: 21px;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.ios-switch {
|
||||
height: 45px;
|
||||
width: 75px;
|
||||
position: relative;
|
||||
background-color: #E5E5E5;
|
||||
border-radius: 100px;
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
|
||||
.ios-switch .background-fill {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 100px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.ios-switch .on-background {
|
||||
background-image: -o-linear-gradient(#00e459, #00e158);
|
||||
background-image: -ms-linear-gradient(#00e459, #00e158);
|
||||
background-image: -moz-linear-gradient(#00e459, #00e158);
|
||||
background-image: -webkit-linear-gradient(#00e459, #00e158);
|
||||
background-image: linear-gradient(#00e459, #00e158);
|
||||
opacity: 0;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
|
||||
filter: alpha(opacity=0);
|
||||
z-index: 1;
|
||||
-o-transition: .3s 0.2s;
|
||||
-ms-transition: .3s 0.2s;
|
||||
-moz-transition: .3s 0.2s;
|
||||
-webkit-transition: .3s 0.2s;
|
||||
transition: .3s 0.2s;
|
||||
}
|
||||
|
||||
.ios-switch .state-background {
|
||||
border-radius: 100px;
|
||||
z-index: 2;
|
||||
background-image: -o-linear-gradient(#ffffff, #FDFDFD);
|
||||
background-image: -ms-linear-gradient(#ffffff, #FDFDFD);
|
||||
background-image: -moz-linear-gradient(#ffffff, #FDFDFD);
|
||||
background-image: -webkit-linear-gradient(#ffffff, #FDFDFD);
|
||||
background-image: linear-gradient(#ffffff, #FDFDFD);
|
||||
border: 2px solid #E5E5E5;
|
||||
-o-box-sizing: border-box;
|
||||
-ms-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
-o-transform: scale(1);
|
||||
-ms-transform: scale(1);
|
||||
-moz-transform: scale(1);
|
||||
-webkit-transform: scale(1);
|
||||
transform: scale(1);
|
||||
-o-transition: .4s;
|
||||
-ms-transition: .4s;
|
||||
-moz-transition: .4s;
|
||||
-webkit-transition: .4s;
|
||||
transition: .4s;
|
||||
}
|
||||
|
||||
.ios-switch .handle {
|
||||
width: 41px;
|
||||
height: 41px;
|
||||
background-color: white;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
position: absolute;
|
||||
border-radius: 20px;
|
||||
box-shadow: 0 0 3px 1px hsla(0, 0%, 0%, .075), 0 3px 5px hsla(0, 0%, 0%, .15), 1px 2px 2px hsla(0, 0%, 0%, .05);
|
||||
z-index: 3;
|
||||
-o-transition: -o-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-ms-transition: -ms-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-moz-transition: -moz-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-webkit-transition: -webkit-transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-o-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-ms-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-moz-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-webkit-transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
transition: transform .3s 0.25s cubic-bezier(0.455, 0.030, 0.215, 1.330);
|
||||
-o-box-sizing: content-box;
|
||||
-ms-box-sizing: content-box;
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box;
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
.ios-switch.off .handle {
|
||||
-o-animation: expand-off .3s 0.2s;
|
||||
-ms-animation: expand-off .3s 0.2s;
|
||||
-moz-animation: expand-off .3s 0.2s;
|
||||
-webkit-animation: expand-off .3s 0.2s;
|
||||
animation: expand-off .3s 0.2s;
|
||||
-o-transform: translate(0px, 0);
|
||||
-ms-transform: translate(0px, 0);
|
||||
-moz-transform: translate(0px, 0);
|
||||
-webkit-transform: translate(0px, 0);
|
||||
transform: translate(0px, 0);
|
||||
-o-transform: translate3d(0px, 0, 0);
|
||||
-ms-transform: translate3d(0px, 0, 0);
|
||||
-moz-transform: translate3d(0px, 0, 0);
|
||||
-webkit-transform: translate3d(0px, 0, 0);
|
||||
transform: translate3d(0px, 0, 0);
|
||||
}
|
||||
|
||||
.ios-switch.off .on-background {
|
||||
-o-transition: .3s 0s;
|
||||
-ms-transition: .3s 0s;
|
||||
-moz-transition: .3s 0s;
|
||||
-webkit-transition: .3s 0s;
|
||||
transition: .3s 0s;
|
||||
}
|
||||
|
||||
.ios-switch.off .state-background {
|
||||
-o-transition: .4s 0.25s;
|
||||
-ms-transition: .4s 0.25s;
|
||||
-moz-transition: .4s 0.25s;
|
||||
-webkit-transition: .4s 0.25s;
|
||||
transition: .4s 0.25s;
|
||||
}
|
||||
|
||||
.ios-switch.on .handle {
|
||||
-o-animation: expand-on .3s 0.2s;
|
||||
-ms-animation: expand-on .3s 0.2s;
|
||||
-moz-animation: expand-on .3s 0.2s;
|
||||
-webkit-animation: expand-on .3s 0.2s;
|
||||
animation: expand-on .3s 0.2s;
|
||||
-o-transform: translate(30px, 0);
|
||||
-ms-transform: translate(30px, 0);
|
||||
-moz-transform: translate(30px, 0);
|
||||
-webkit-transform: translate(30px, 0);
|
||||
transform: translate(30px, 0);
|
||||
-o-transform: translate3d(30px, 0, 0);
|
||||
-ms-transform: translate3d(30px, 0, 0);
|
||||
-moz-transform: translate3d(30px, 0, 0);
|
||||
-webkit-transform: translate3d(30px, 0, 0);
|
||||
transform: translate3d(30px, 0, 0);
|
||||
}
|
||||
|
||||
.ios-switch.on .on-background {
|
||||
opacity: 1;
|
||||
-ms-filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=100);
|
||||
filter: alpha(opacity=100);
|
||||
}
|
||||
|
||||
.ios-switch.on .state-background {
|
||||
-o-transform: scale(0);
|
||||
-ms-transform: scale(0);
|
||||
-moz-transform: scale(0);
|
||||
-webkit-transform: scale(0);
|
||||
transform: scale(0);
|
||||
}
|
||||
|
||||
@keyframes expand-on {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes expand-off {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
left: -7px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes expand-on {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes expand-on {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes expand-on {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes expand-on {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes expand-off {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
left: -7px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes expand-off {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
left: -7px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes expand-off {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
left: -7px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes expand-off {
|
||||
0% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
|
||||
40% {
|
||||
padding-right: 9px;
|
||||
left: -7px;
|
||||
}
|
||||
|
||||
100% {
|
||||
padding-right: 0;
|
||||
left: 2px;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,441 @@
|
||||
.select2-container {
|
||||
&.form-control {
|
||||
background: transparent;
|
||||
border: none;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
.select2-choices .select2-search-field input,
|
||||
.select2-choice,
|
||||
.select2-choices {
|
||||
background: none;
|
||||
border-radius: 4px;
|
||||
color: #555;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
background-color: #FFF;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
border-color: #ccc;
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-search input {
|
||||
border-radius: 4px;
|
||||
color: #555;
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||
background-color: #FFF;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
||||
border-color: #ccc;
|
||||
}
|
||||
|
||||
.select2-container {
|
||||
.select2-choices .select2-search-field input {
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
.select2-choice {
|
||||
height: 34px;
|
||||
line-height: 1.42857;
|
||||
}
|
||||
&.select2-container-multi.form-control {
|
||||
height: auto;
|
||||
}
|
||||
&.input-sm .select2-choice {
|
||||
height: 30px;
|
||||
line-height: 1.5;
|
||||
border-radius: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-sm .select2-container .select2-choice {
|
||||
height: 30px;
|
||||
line-height: 1.5;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.select2-container.input-lg .select2-choice,
|
||||
.input-group-lg .select2-container .select2-choice {
|
||||
height: 45px;
|
||||
line-height: 1.33;
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.select2-container-multi {
|
||||
.select2-choices .select2-search-field input {
|
||||
height: 32px;
|
||||
margin: 0;
|
||||
}
|
||||
&.input-sm .select2-choices .select2-search-field input {
|
||||
height: 28px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-sm .select2-container-multi .select2-choices .select2-search-field input {
|
||||
height: 28px;
|
||||
}
|
||||
|
||||
.select2-container-multi.input-lg .select2-choices .select2-search-field input,
|
||||
.input-group-lg .select2-container-multi .select2-choices .select2-search-field input {
|
||||
height: 43px;
|
||||
}
|
||||
|
||||
.select2-chosen,
|
||||
.select2-choice > span:first-child,
|
||||
.select2-container .select2-choices .select2-search-field input {
|
||||
padding: 6px 12px;
|
||||
}
|
||||
|
||||
.input-sm .select2-chosen,
|
||||
.input-group-sm .select2-chosen,
|
||||
.input-sm .select2-choice > span:first-child,
|
||||
.input-group-sm .select2-choice > span:first-child,
|
||||
.input-sm .select2-choices .select2-search-field input,
|
||||
.input-group-sm .select2-choices .select2-search-field input {
|
||||
padding: 5px 10px;
|
||||
}
|
||||
|
||||
.input-lg .select2-chosen,
|
||||
.input-group-lg .select2-chosen,
|
||||
.input-lg .select2-choice > span:first-child,
|
||||
.input-group-lg .select2-choice > span:first-child,
|
||||
.input-lg .select2-choices .select2-search-field input,
|
||||
.input-group-lg .select2-choices .select2-search-field input {
|
||||
padding: 10px 16px;
|
||||
}
|
||||
|
||||
.select2-container-multi {
|
||||
.select2-choices .select2-search-choice {
|
||||
margin-top: 5px;
|
||||
margin-bottom: 3px;
|
||||
color: #fff;
|
||||
background: $color-primary;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border: 0 none;
|
||||
font-size: 75%;
|
||||
font-weight: bold;
|
||||
}
|
||||
&.input-sm .select2-choices .select2-search-choice {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
}
|
||||
|
||||
.input-group-sm .select2-container-multi .select2-choices .select2-search-choice {
|
||||
margin-top: 3px;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
.select2-container-multi.input-lg .select2-choices .select2-search-choice,
|
||||
.input-group-lg .select2-container-multi .select2-choices .select2-search-choice {
|
||||
line-height: 24px;
|
||||
}
|
||||
|
||||
.select2-container .select2-choice {
|
||||
.select2-arrow, div {
|
||||
border-left: 1px solid #ccc;
|
||||
background: none;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice {
|
||||
.select2-arrow, div {
|
||||
border-left-color: transparent;
|
||||
background: none;
|
||||
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container .select2-choice {
|
||||
.select2-arrow b, div b {
|
||||
background-position: 0 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-dropdown-open .select2-choice {
|
||||
.select2-arrow b, div b {
|
||||
background-position: -18px 3px;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container.input-sm .select2-choice .select2-arrow b,
|
||||
.input-group-sm .select2-container .select2-choice .select2-arrow b,
|
||||
.select2-container.input-sm .select2-choice div b,
|
||||
.input-group-sm .select2-container .select2-choice div b {
|
||||
background-position: 0 1px;
|
||||
}
|
||||
|
||||
.select2-dropdown-open.input-sm .select2-choice .select2-arrow b,
|
||||
.input-group-sm .select2-dropdown-open .select2-choice .select2-arrow b,
|
||||
.select2-dropdown-open.input-sm .select2-choice div b,
|
||||
.input-group-sm .select2-dropdown-open .select2-choice div b {
|
||||
background-position: -18px 1px;
|
||||
}
|
||||
|
||||
.select2-container.input-lg .select2-choice .select2-arrow b,
|
||||
.input-group-lg .select2-container .select2-choice .select2-arrow b,
|
||||
.select2-container.input-lg .select2-choice div b,
|
||||
.input-group-lg .select2-container .select2-choice div b {
|
||||
background-position: 0 9px;
|
||||
}
|
||||
|
||||
.select2-dropdown-open.input-lg .select2-choice .select2-arrow b,
|
||||
.input-group-lg .select2-dropdown-open .select2-choice .select2-arrow b,
|
||||
.select2-dropdown-open.input-lg .select2-choice div b,
|
||||
.input-group-lg .select2-dropdown-open .select2-choice div b {
|
||||
background-position: -18px 9px;
|
||||
}
|
||||
|
||||
.has-warning {
|
||||
.select2-choice,
|
||||
.select2-choices {
|
||||
border-color: #c09853;
|
||||
}
|
||||
.select2-container-active .select2-choice,
|
||||
.select2-container-multi.select2-container-active .select2-choices {
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e;
|
||||
border-color: #a47e3c;
|
||||
}
|
||||
&.select2-drop-active {
|
||||
border-color: #a47e3c;
|
||||
&.select2-drop.select2-drop-above {
|
||||
border-top-color: #a47e3c;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.has-error {
|
||||
.select2-choice,
|
||||
.select2-choices {
|
||||
border-color: #b94a48;
|
||||
}
|
||||
.select2-container-active .select2-choice,
|
||||
.select2-container-multi.select2-container-active .select2-choices {
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392;
|
||||
border-color: #953b39;
|
||||
}
|
||||
&.select2-drop-active {
|
||||
border-color: #953b39;
|
||||
&.select2-drop.select2-drop-above {
|
||||
border-top-color: #953b39;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.has-success {
|
||||
.select2-choice,
|
||||
.select2-choices {
|
||||
border-color: #468847;
|
||||
}
|
||||
.select2-container-active .select2-choice,
|
||||
.select2-container-multi.select2-container-active .select2-choices {
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b;
|
||||
border-color: #356635;
|
||||
}
|
||||
&.select2-drop-active {
|
||||
border-color: #356635;
|
||||
&.select2-drop.select2-drop-above {
|
||||
border-top-color: #356635;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container-active .select2-choice,
|
||||
.select2-container-multi.select2-container-active .select2-choices {
|
||||
outline: none;
|
||||
-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
|
||||
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
|
||||
-webkit-transition: border-color ease-in-out .15s box-shadow ease-in-out .15s;
|
||||
transition: border-color ease-in-out .15s box-shadow ease-in-out .15s;
|
||||
border-color: #66afe9;
|
||||
}
|
||||
|
||||
.select2-drop-active {
|
||||
border-color: #66afe9;
|
||||
}
|
||||
|
||||
.select2-drop-auto-width,
|
||||
.select2-drop.select2-drop-above.select2-drop-active {
|
||||
border-top-color: #66afe9;
|
||||
}
|
||||
|
||||
.input-group {
|
||||
&.select2-bootstrap-prepend [class^=select2-choice] {
|
||||
border-bottom-left-radius: 0 !important;
|
||||
border-top-left-radius: 0 !important;
|
||||
}
|
||||
&.select2-bootstrap-append [class^=select2-choice] {
|
||||
border-bottom-right-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-dropdown-open {
|
||||
[class^=select2-choice] {
|
||||
border-bottom-right-radius: 0 !important;
|
||||
border-bottom-left-radius: 0 !important;
|
||||
}
|
||||
&.select2-drop-above [class^=select2-choice] {
|
||||
border-top-right-radius: 0 !important;
|
||||
border-top-left-radius: 0 !important;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-dropdown-open.select2-drop-above .select2-choice,
|
||||
.select2-dropdown-open.select2-drop-above .select2-choices {
|
||||
background: none;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.select2-results .select2-highlighted {
|
||||
color: #FFF;
|
||||
background-color: #428bca;
|
||||
}
|
||||
|
||||
.select2-bootstrap-append,
|
||||
.select2-bootstrap-prepend {
|
||||
.select2-container-multiple {
|
||||
vertical-align: top;
|
||||
}
|
||||
.input-group-btn {
|
||||
vertical-align: top;
|
||||
.btn {
|
||||
vertical-align: top;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container-multi .select2-choices .select2-search-choice-focus {
|
||||
background: #ebebeb;
|
||||
color: #333;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none;
|
||||
border-color: #adadad;
|
||||
}
|
||||
|
||||
.select2-search-choice-close {
|
||||
background: none;
|
||||
margin-top: -8px;
|
||||
top: 50%;
|
||||
|
||||
&:after {
|
||||
content: 'x';
|
||||
font-size: 10px;
|
||||
color: #fff;
|
||||
padding: 0 4px;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container .select2-choice abbr {
|
||||
top: 50%;
|
||||
}
|
||||
|
||||
.select2-results {
|
||||
.select2-no-results,
|
||||
.select2-searching,
|
||||
.select2-selection-limit {
|
||||
background-color: #fcf8e3;
|
||||
color: #c09853;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container.select2-container-disabled {
|
||||
.select2-choice,
|
||||
.select2-choices {
|
||||
cursor: not-allowed;
|
||||
background-color: #eee;
|
||||
border-color: #ccc;
|
||||
}
|
||||
.select2-choice {
|
||||
.select2-arrow, div {
|
||||
background-color: transparent;
|
||||
border-left: 1px solid transparent;
|
||||
}
|
||||
}
|
||||
.select2-choices {
|
||||
.select2-arrow, div {
|
||||
background-color: transparent;
|
||||
border-left: 1px solid transparent;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.select2-search input.select2-active,
|
||||
.select2-container-multi .select2-choices .select2-search-field input.select2-active,
|
||||
.select2-more-results.select2-active {
|
||||
background-position: right 4px center;
|
||||
}
|
||||
|
||||
|
||||
// DARK SKIN
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.select2-container {
|
||||
.select2-choices .select2-search-field input,
|
||||
.select2-choice,
|
||||
.select2-choices {
|
||||
color: #EEE;
|
||||
background-color: $dark-color-3;
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-search {
|
||||
position: relative;
|
||||
|
||||
input {
|
||||
color: #EEE;
|
||||
background: $dark-color-4;
|
||||
border-color: $dark-color-5;
|
||||
|
||||
&.select2-active {
|
||||
background: $dark-color-4;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
&:before {
|
||||
font-family: 'FontAwesome';
|
||||
content: "\f002";
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 50%;
|
||||
color: #EEE;
|
||||
font-size: 12px;
|
||||
margin: -11px 0 0;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-drop {
|
||||
background-color: $dark-color-3;
|
||||
border-color: $dark-color-2;
|
||||
}
|
||||
|
||||
.select2-container-multi {
|
||||
.select2-choices .select2-search-choice {
|
||||
color: #EEE;
|
||||
}
|
||||
}
|
||||
|
||||
.select2-container .select2-choice .select2-arrow,
|
||||
.select2-container .select2-choice div {
|
||||
border-color: $dark-color-3;
|
||||
}
|
||||
|
||||
.select2-results .select2-result-label {
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
.spinner-buttons {
|
||||
|
||||
&.btn-group-vertical .btn {
|
||||
height: 18px;
|
||||
margin: 0 0 0 -1px;
|
||||
padding-left: 6px;
|
||||
padding-right: 6px;
|
||||
text-align: center;
|
||||
width: 22px;
|
||||
line-height: 14px;
|
||||
}
|
||||
|
||||
&.btn-group-vertical .btn i {
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
&.btn-group-vertical .btn:first-child {
|
||||
border-radius: 0 4px 0 0 !important;
|
||||
-webkit-border-radius: 0 4px 0 0 !important;
|
||||
}
|
||||
|
||||
&.btn-group-vertical .btn:last-child {
|
||||
border-radius: 0 0 4px !important;
|
||||
-webkit-border-radius: 0 0 4px !important;
|
||||
margin-top: -1px;
|
||||
height: 17px;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,104 @@
|
||||
// WYSIWYG
|
||||
// -----------------------------------------------------------------------------
|
||||
/* Summernote */
|
||||
.note-editor {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 4px;
|
||||
|
||||
@include transition( border-color ease-in-out .15s, box-shadow ease-in-out .15s );
|
||||
|
||||
&.active {
|
||||
border-color: #66afe9;
|
||||
box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,0.6);
|
||||
}
|
||||
|
||||
.note-title {
|
||||
padding-top: 0 !important;
|
||||
}
|
||||
|
||||
.note-toolbar {
|
||||
background-color: #FFF;
|
||||
border: {
|
||||
bottom: 1px dashed #ddd;
|
||||
left: none;
|
||||
right: none;
|
||||
top: none;
|
||||
}
|
||||
border-radius: 4px 4px 0 0;
|
||||
padding: 6px 4px 0;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
|
||||
i {
|
||||
margin: 0;
|
||||
|
||||
&:before {
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.btn-group {
|
||||
float: none !important;
|
||||
margin: 0 0 6px 5px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 767px) {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
|
||||
.note-editable {
|
||||
clear: both;
|
||||
background: #FFF;
|
||||
border: none;
|
||||
border-radius: 0 0 4px 4px;
|
||||
font-family: Arial, Helvetica, Sans-serif;
|
||||
}
|
||||
|
||||
.note-statusbar {
|
||||
background: #FFF;
|
||||
border-radius: 0 0 4px 4px;
|
||||
|
||||
.note-resizebar {
|
||||
border-color: #DDD;
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// DARK
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
|
||||
.note-editor {
|
||||
border-color: $dark-color-3;
|
||||
color: #EEE;
|
||||
|
||||
.note-toolbar,
|
||||
.note-statusbar {
|
||||
background: $dark-color-5;
|
||||
border-color: $dark-color-1;
|
||||
}
|
||||
|
||||
.note-editable {
|
||||
background: $dark-color-3;
|
||||
border-color: $dark-color-1;
|
||||
}
|
||||
|
||||
.note-statusbar .note-resizebar {
|
||||
border-color: $dark-color-1;
|
||||
|
||||
.note-icon-bar {
|
||||
border-color: #444;
|
||||
}
|
||||
}
|
||||
|
||||
.caret {
|
||||
border-color: #FFF transparent transparent;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,528 @@
|
||||
// WIZARD: TABS
|
||||
// -----------------------------------------------------------------------------
|
||||
.wizard-tabs {
|
||||
|
||||
.panel-body & {
|
||||
margin: -15px -15px 15px;
|
||||
}
|
||||
|
||||
.panel-body-nopadding & {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
ul {
|
||||
display: table;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
list-style: none;
|
||||
|
||||
& > li {
|
||||
display: table-cell;
|
||||
border-bottom: 1px solid $wizard-nav-item-border-color;
|
||||
|
||||
&.active {
|
||||
border-bottom-color: transparent;
|
||||
|
||||
& > a {
|
||||
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
background: $wizard-nav-item-background-active-hover;
|
||||
color: $wizard-nav-default-color;
|
||||
}
|
||||
|
||||
&:after {
|
||||
border-left-color: $wizard-nav-item-background-active-hover;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.badge {
|
||||
background-color: $color-primary;
|
||||
}
|
||||
}
|
||||
|
||||
&.disabled {
|
||||
& > a {
|
||||
|
||||
&,
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $wizard-nav-disabled-color;
|
||||
}
|
||||
}
|
||||
|
||||
.badge {
|
||||
background-color: $wizard-nav-disabled-color;
|
||||
}
|
||||
}
|
||||
|
||||
& > a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 5px;
|
||||
@include font-size($body-font-size);
|
||||
text-decoration: none;
|
||||
color: $wizard-nav-default-color;
|
||||
|
||||
&,
|
||||
&:hover {
|
||||
background: $wizard-nav-item-background;
|
||||
color: $wizard-nav-default-color;
|
||||
}
|
||||
|
||||
&:hover {
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
&:active,
|
||||
&:focus {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
// Chevron
|
||||
&:before,
|
||||
&:after {
|
||||
display: block;
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: -10px;
|
||||
z-index: 1;
|
||||
border: 17px solid transparent;
|
||||
border-right: 0;
|
||||
border-left: 10px solid transparent;
|
||||
width: 0;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
&:before {
|
||||
z-index: 1;
|
||||
right: -11px;
|
||||
border-left-color: $wizard-nav-item-chevron-border-color;
|
||||
}
|
||||
|
||||
&:after {
|
||||
z-index: 2;
|
||||
border-left-color: $wizard-nav-item-background;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
&:last-child {
|
||||
& > a {
|
||||
&:before,
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// DARK - WIZARD: TABS
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.wizard-tabs {
|
||||
ul > li {
|
||||
border-color: $dark-color-3;
|
||||
|
||||
&.active {
|
||||
border-color: $dark-color-4;
|
||||
|
||||
a {
|
||||
&,
|
||||
&:hover,
|
||||
&:active {
|
||||
background: $dark-color-4;
|
||||
color: #EEE;
|
||||
|
||||
}
|
||||
|
||||
&:before {
|
||||
border-left-color: $dark-color-2;
|
||||
}
|
||||
|
||||
&:after {
|
||||
border-left-color: $dark-color-4;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
a {
|
||||
&,
|
||||
&:hover {
|
||||
background: $dark-color-3;
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
&:before {
|
||||
border-left-color: $dark-color-2;
|
||||
}
|
||||
|
||||
&:after {
|
||||
border-left-color: $dark-color-3;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// WIZARD: PROGRESS
|
||||
// -----------------------------------------------------------------------------
|
||||
html,
|
||||
html.dark {
|
||||
.wizard-progress {
|
||||
margin: 0 15px;
|
||||
|
||||
.steps-progress {
|
||||
height: 2px;
|
||||
margin: 0 38px;
|
||||
position: relative;
|
||||
top: 15px;
|
||||
background: $wizard-progress-default-background;
|
||||
|
||||
.progress-indicator {
|
||||
height: 100%;
|
||||
width: 0;
|
||||
background: $wizard-progress-completed-background;
|
||||
@include transition(width .2s ease-in);
|
||||
}
|
||||
}
|
||||
|
||||
.wizard-steps {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 15px 0 0;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
font-size: 0;
|
||||
text-align: justify;
|
||||
-ms-text-justify: distribute-all-lines; /* IE8+ */
|
||||
|
||||
&:after {
|
||||
/*
|
||||
* We don't need IE6 and IE7 inline-block hack support here
|
||||
* since they don't support :after anyways (the text-justify
|
||||
* properties for them are above)... IE8 and above have native
|
||||
* inline-block support so for IE8+, both the text-justify and
|
||||
* :after will take effect but it doesn't have any negative
|
||||
* effects since this element is invisible
|
||||
*/
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
content: '.';
|
||||
font-size: 0;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
vertical-align: top;
|
||||
min-width: 50px;
|
||||
max-width: 100px;
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 25px 8px 0;
|
||||
font-size: 11px;
|
||||
color: $wizard-progress-item-color;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
word-break: break-all;
|
||||
|
||||
span {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 50%;
|
||||
display: block;
|
||||
background: $wizard-progress-default-background;
|
||||
color: $wizard-progress-default-color;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
margin-top: -15px;
|
||||
margin-left: -15px;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
border-radius: 35px;
|
||||
font-size: 13px;
|
||||
text-indent: -1px;
|
||||
border: 2px solid $wizard-progress-default-border-color;
|
||||
@include transition(all .2s ease-in);
|
||||
}
|
||||
}
|
||||
|
||||
// WIZARD PROGRESS ITEM: COMPLETED
|
||||
&.completed {
|
||||
|
||||
a {
|
||||
span {
|
||||
background: $color-primary;
|
||||
color: $wizard-progress-completed-color;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
// WIZARD PROGRESS ITEM: ACTIVE
|
||||
&.active {
|
||||
|
||||
a {
|
||||
span {
|
||||
background: $wizard-progress-active-background;
|
||||
color: $wizard-progress-active-color;
|
||||
border-color: $wizard-progress-active-border-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&.completed.active {
|
||||
|
||||
a {
|
||||
span {
|
||||
color: #FFF;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// PROGRESS SIZE: LARGE
|
||||
&.wizard-progress-lg {
|
||||
margin: 0 auto 30px;
|
||||
width: 80%;
|
||||
|
||||
.steps-progress {
|
||||
margin: 0 52px;
|
||||
height: 4px;
|
||||
top: 34px;
|
||||
}
|
||||
|
||||
.wizard-steps {
|
||||
padding-top: 30px;
|
||||
}
|
||||
|
||||
ul {
|
||||
li {
|
||||
max-width: 135px;
|
||||
|
||||
a {
|
||||
padding-top: 40px;
|
||||
font-size: 14px;
|
||||
|
||||
span {
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
margin-top: -30px;
|
||||
margin-left: -30px;
|
||||
border-radius: 60px;
|
||||
line-height: 52px;
|
||||
font-size: 22px;
|
||||
border-width: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK - WIZARD: PROGRESS
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.wizard-progress .wizard-steps li a {
|
||||
color: $dark-default-text;
|
||||
}
|
||||
|
||||
.wizard-progress.wizard-progress ul li a span {
|
||||
background: darken( $dark-color-3, 2% );
|
||||
border-color: darken( $dark-color-3, 2% );
|
||||
}
|
||||
|
||||
.wizard-progress .wizard-steps li.active a span {
|
||||
background: darken( $dark-color-3, 2% );
|
||||
}
|
||||
|
||||
.wizard-progress .steps-progress {
|
||||
background: darken( $dark-color-3, 2% );
|
||||
}
|
||||
}
|
||||
|
||||
// WIZARD: PROGRESS RESPONSIVE
|
||||
// -----------------------------------------------------------------------------
|
||||
@media only screen and (max-width: 991px) {
|
||||
html, html.dark {
|
||||
.wizard-progress {
|
||||
&,
|
||||
&.wizard-progress-lg {
|
||||
width: auto;
|
||||
margin-bottom: 0;
|
||||
margin-left: -15px;
|
||||
margin-right: -15px;
|
||||
}
|
||||
|
||||
// initial values
|
||||
.steps-progress {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.wizard-steps {
|
||||
display: block;
|
||||
font-size: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-align: left;
|
||||
width: 100%;
|
||||
|
||||
li {
|
||||
@include transition( margin .5s linear );
|
||||
display: inline-block;
|
||||
float: none;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
|
||||
a {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
content: '';
|
||||
display: block;
|
||||
height: 2px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
width: 50%;
|
||||
}
|
||||
|
||||
&:before {
|
||||
background: $wizard-progress-completed-background;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
&:after {
|
||||
background: $wizard-progress-default-background;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
&.active {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
&.completed {
|
||||
margin-left: -100%;
|
||||
|
||||
&:after {
|
||||
background: $wizard-progress-completed-background;
|
||||
}
|
||||
}
|
||||
|
||||
&.completed.active {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&:after {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.wizard-progress.wizard-progress-lg {
|
||||
.wizard-steps {
|
||||
li {
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
|
||||
&:before,
|
||||
&:after {
|
||||
height: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// WIZARD: TAB CONTENT
|
||||
// -----------------------------------------------------------------------------
|
||||
.form-wizard {
|
||||
margin-bottom: 20px;
|
||||
|
||||
.tabs {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.tab-content {
|
||||
background: none;
|
||||
border: 0 none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
ul.pager {
|
||||
|
||||
.next,
|
||||
.previous,
|
||||
.first,
|
||||
.last,
|
||||
.finish {
|
||||
a {
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
.disabled {
|
||||
a {
|
||||
cursor: not-allowed;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// DARK - WIZARD PAGER
|
||||
// -----------------------------------------------------------------------------
|
||||
html.dark {
|
||||
.form-wizard {
|
||||
.pager {
|
||||
li > a,
|
||||
li > a:hover,
|
||||
li > a:focus,
|
||||
li > span {
|
||||
background: $dark-color-4;
|
||||
border-color: $dark-color-3;
|
||||
color: #EEE;
|
||||
}
|
||||
|
||||
.disabled {
|
||||
& > a,
|
||||
& > a:hover,
|
||||
& > a:focus,
|
||||
& > span {
|
||||
background: $dark-color-3;
|
||||
border-color: $dark-color-3;
|
||||
color: #EEE;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user