tidy up, split into server/client

This commit is contained in:
simon
2019-03-17 16:27:07 +01:00
parent 3c831f02a6
commit f46dd0262d
141 changed files with 760 additions and 89254 deletions
-207
View File
@@ -1,207 +0,0 @@
/*!
* animate.css -http://daneden.me/animate
* Version - 3.7.0
* Licensed under the MIT license - http://opensource.org/licenses/MIT
*
* Copyright (c) 2018 Daniel Eden
*/
.animated {
animation-duration: 1s;
animation-fill-mode: both;
&.infinite {
animation-iteration-count: infinite;
}
&.delay-1s {
animation-delay: 1s;
}
&.delay-2s {
animation-delay: 2s;
}
&.delay-3s {
animation-delay: 3s;
}
&.delay-4s {
animation-delay: 4s;
}
&.delay-5s {
animation-delay: 5s;
}
&.fast {
animation-duration: 800ms;
}
&.faster {
animation-duration: 500ms;
}
&.slow {
animation-duration: 2s;
}
&.slower {
animation-duration: 3s;
}
}
@media (prefers-reduced-motion) {
.animated {
animation: unset !important;
transition: none !important;
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
.fadeIn {
animation-name: fadeIn;
}
@keyframes fadeInDown {
from {
opacity: 0;
transform: translate3d(0, -100%, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
.fadeInDown {
animation-name: fadeInDown;
}
@keyframes fadeInLeft {
from {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
.fadeInLeft {
animation-name: fadeInLeft;
}
@keyframes fadeInRight {
from {
opacity: 0;
transform: translate3d(100%, 0, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
.fadeInRight {
animation-name: fadeInRight;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translate3d(0, 100%, 0);
}
to {
opacity: 1;
transform: translate3d(0, 0, 0);
}
}
.fadeInUp {
animation-name: fadeInUp;
}
@keyframes fadeOut {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
.fadeOut {
animation-name: fadeOut;
}
@keyframes fadeOutDown {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(0, 100%, 0);
}
}
.fadeOutDown {
animation-name: fadeOutDown;
}
@keyframes fadeOutLeft {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(-100%, 0, 0);
}
}
.fadeOutLeft {
animation-name: fadeOutLeft;
}
@keyframes fadeOutRight {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(100%, 0, 0);
}
}
.fadeOutRight {
animation-name: fadeOutRight;
}
@keyframes fadeOutUp {
from {
opacity: 1;
}
to {
opacity: 0;
transform: translate3d(0, -100%, 0);
}
}
.fadeOutUp {
animation-name: fadeOutUp;
}
-14
View File
@@ -1,14 +0,0 @@
// Badges
.badge {
box-shadow: $z-depth-1;
border-radius: $border-radius-base;
color: $white !important;
}
.badge-pill {
border-radius: $badge-pill-border-radius;
padding-right: $badge-pill-padding-x;
padding-left: $badge-pill-padding-x;
}
@each $name, $color in $basic-mdb-colors {
@include make-badge($name, $color);
}
-122
View File
@@ -1,122 +0,0 @@
// Buttons
.btn {
box-shadow: $z-depth-1;
@include button-size($btn-padding-y-basic, $btn-padding-x-basic, $btn-font-size-basic);
transition: $btn-transition;
margin: $btn-margin-basic;
border: 0;
border-radius: $border-radius-base;
cursor: pointer;
text-transform: uppercase;
white-space: normal;
word-wrap: break-word;
color: $btn-color-basic;
&:hover,
&:active,
&:focus {
box-shadow: $z-depth-1-half;
outline: 0;
}
&:not([disabled]):not(.disabled):active,
&:not([disabled]):not(.disabled).active {
box-shadow: $z-depth-1-half;
}
.fa {
position: relative;
font-size: $btn-icon-basic;
&.right {
margin-left: $btn-icon-margin;
}
&.left {
margin-right: $btn-icon-margin;
}
}
&.btn-lg {
@include button-size($btn-padding-y-large, $btn-padding-x-large, $btn-font-size-large);
.fa {
font-size: $btn-icon-large;
}
}
&.btn-md {
@include button-size($btn-padding-y-medium, $btn-padding-x-medium, $btn-font-size-medium);
.fa {
font-size: $btn-icon-medium;
}
}
&.btn-sm {
@include button-size($btn-padding-y-small, $btn-padding-x-small, $btn-font-size-small);
.fa {
font-size: $btn-icon-small;
}
}
&.btn-tb {
padding: $btn-tb-padding-y $btn-tb-padding-x;
}
&.disabled,
&:disabled {
&:active,
&:focus,
&:hover {
box-shadow: $z-depth-1;
}
}
&.btn-block {
margin: inherit;
}
&.btn-link {
@extend .black-text;
box-shadow: none;
background-color: transparent;
&:active,
&:focus,
&:hover {
box-shadow: none !important;
background-color: transparent;
}
}
&[class*="btn-outline-"] {
padding-top: $btn-outline-padding-y-basic;
padding-bottom: $btn-outline-padding-y-basic;
&.btn-lg {
padding-top: $btn-outline-padding-y-large;
padding-bottom: $btn-outline-padding-y-large;
}
&.btn-md {
padding-top: $btn-outline-padding-y-medium;
padding-bottom: $btn-outline-padding-y-medium;
}
&.btn-sm {
padding-top: $btn-outline-padding-y-small;
padding-bottom: $btn-outline-padding-y-small;
}
}
}
.btn-group {
.btn {
margin: 0;
}
}
// Overwrite default button icon size
.btn {
.fa-lg {font-size: 1.33333333em !important;}
.fa-2x {font-size: 2em !important;}
.fa-3x {font-size: 3em !important;}
.fa-4x {font-size: 4em !important;}
.fa-5x {font-size: 5em !important;}
}
@each $btn_name, $color_value in $mdb-colors {
@include make-button($btn_name, $color_value);
@include make-outline-button($btn_name, $color_value);
}
// button,
// html [type="file"] {
// -webkit-appearance: button;
// appearance: button;
// }
// button::-moz-focus-inner,
// [type="file"]::-moz-focus-inner {
// padding: 0;
// border-style: none;
// }
-28
View File
@@ -1,28 +0,0 @@
// Cards
.card {
box-shadow: $z-depth-1;
border: 0;
font-weight: 400;
&[class*="border"] {
border: 1px solid $grey-base;
box-shadow: none;
}
.card-body {
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
}
.card-title {
a {
transition: $md-card-link-transition;
&:hover {
transition: $md-card-link-transition;
}
}
}
.card-text {
color: $md-card-text-color;
font-size: $md-card-font-size;
font-weight: 400;
}
}
}
-50
View File
@@ -1,50 +0,0 @@
// Carousels
.carousel {
.carousel-control-prev-icon,
.carousel-control-next-icon {
width: $carousel-control-icon-width;
height: $carousel-control-icon-height;
}
.carousel-control-prev-icon {
background-image: $carousel-control-prev-icon;
}
.carousel-control-next-icon {
background-image: $carousel-control-next-icon;
}
.carousel-indicators {
li {
width: $carousel-indicators-width;
height: $carousel-indicators-height;
border-radius: $carousel-indicators-border-radius;
cursor: pointer;
}
}
}
.carousel-fade {
.carousel-item {
opacity: 0;
transition-duration: $carousel-transition-duration;
transition-property: opacity;
}
.carousel-item.active,
.carousel-item-next.carousel-item-left,
.carousel-item-prev.carousel-item-right {
opacity: 1;
}
.carousel-item-left,
.carousel-item-right {
&.active {
opacity: 0;
}
}
.carousel-item-next,
.carousel-item-prev,
.carousel-item.active,
.carousel-item-left.active,
.carousel-item-prev.active {
transform: $carousel-item-transform;
@supports (transform-style: preserve-3d) {
transform: $carousel-item-transform-2;
}
}
}
-1
View File
@@ -1 +0,0 @@
// These settings will be only for one version
-10
View File
@@ -1,10 +0,0 @@
// Dropdowns
.dropdown {
.dropdown-menu {
.dropdown-item {
&:active {
background-color: $grey-darken-1;
}
}
}
}
-18
View File
@@ -1,18 +0,0 @@
// Footers
footer {
&.page-footer {
bottom: 0;
color: $white-base;
.container-fluid {
width: auto;
}
.footer-copyright {
overflow: hidden;
background-color: $footer-copyright-bg-color;
color: $footer-copyright-color;
}
a {
color: $white-base;
}
}
}
-184
View File
@@ -1,184 +0,0 @@
// Forms basic
// Input + label wrapper styles
.md-form {
// Text inputs
input[type=text],
input[type=password],
input[type=email],
input[type=url],
input[type=time],
input[type=date],
input[type=datetime-local],
input[type=tel],
input[type=number],
input[type=search-md],
input[type=search],
textarea.md-textarea {
// General Styles
transition: $input-transition;
outline: none;
box-shadow: none;
border: none;
border-bottom: 1px solid $input-border-color;
border-radius: 0;
box-sizing: content-box;
background-color: transparent;
// Focused input style
&:focus:not([readonly]) {
box-shadow: 0 1px 0 0 $input-md-focus-color;
border-bottom: 1px solid $input-md-focus-color;
// Focused label style
+ label {
color: $input-md-focus-color;
}
}
// Form message shared styles
+ label:after {
content: "";
position: absolute;
top: $input-label-after-top;
display: block;
opacity: 0;
transition: $input-label-after-transition;
}
// Valid input style
&.valid, &:focus.valid {
border-bottom: 1px solid $input-success-color;
box-shadow: 0 1px 0 0 $input-success-color;
}
&.valid + label:after, &:focus.valid + label:after {
content: attr(data-success);
color: $input-success-color;
opacity: 1;
}
// Invalid input style
&.invalid, &:focus.invalid {
border-bottom: 1px solid $input-error-color;
box-shadow: 0 1px 0 0 $input-error-color;
}
&.invalid + label:after, &:focus.invalid + label:after {
content: attr(data-error);
color: $input-error-color;
opacity: 1;
}
&.form-control.valid + label:after,
&.form-control:focus.valid + label:after {
top: $input-label-valid-top;
}
&.form-control.invalid + label:after,
&.form-control:focus.invalid + label:after {
top: $input-label-invalid-top;
}
&.form-control-lg.valid + label:after,
&.form-control-lg:focus.valid + label:after {
top: $input-label-valid-top-lg;
}
&.form-control-lg.invalid + label:after,
&.form-control-lg:focus.invalid + label:after {
top: $input-label-invalid-top-lg;
}
&.form-control-sm.valid + label:after,
&.form-control-sm:focus.valid + label:after {
top: $input-label-valid-top-sm;
}
&.form-control-sm.invalid + label:after,
&.form-control-sm:focus.invalid + label:after {
top: $input-label-invalid-top-sm;
}
}
.was-validated {
input[type=text] {
&:valid {
+ label {
color: $input-success-color !important;
}
}
&:invalid {
+ label {
color: $input-error-color !important;
}
}
}
.form-control {
&:valid:focus {
box-shadow: 0 1px 0 0 $input-success-color !important;
}
&:valid {
border-color: $input-success-color !important;
}
&:invalid:focus {
box-shadow: 0 1px 0 0 $input-error-color !important;
}
&:invalid {
border-color: $input-error-color !important;
}
}
}
// Input with label
.form-control {
margin: 0 0 $input-form-control-margin-bottom 0;
border-radius: 0;
padding: $input-form-control-padding-top 0 $input-form-control-padding-bottom 0;
background-image: none;
background-color: transparent;
height: auto;
&:focus {
box-shadow: none;
background: transparent;
}
&:disabled,
&[readonly] {
border-bottom: 1px solid $grey-lighten-1;
background-color: transparent;
}
}
@include make-input($input-validate-mb, $input-label-font-size, $input-label-active-font-size, $input-prefix-top, $input-prefix-font-size, $input-prefix-margin-left, $input-prefix-width, $input-form-text-ml);
position: relative;
margin-top: $input-md-form-margin-top;
margin-bottom: $input-md-form-margin-bottom;
label {
position: absolute;
top: $input-label-top;
left: 0;
transition: $input-label-transition;
cursor: text;
color: $input-label-color;
&.active {
transform: $input-label-active-transform;
}
}
.prefix {
position: absolute;
transition: $input-prefix-transition;
&.active {
color: $input-md-focus-color;
}
}
&.form-lg {
@include make-input($input-validate-mb-lg, $input-label-font-size-lg, $input-label-active-font-size-lg, $input-prefix-top-lg, $input-prefix-font-size-lg, $input-prefix-margin-left-lg, $input-prefix-width-lg, $input-form-text-ml-lg);
}
&.form-sm {
@include make-input($input-validate-mb-sm, $input-label-font-size-sm, $input-label-active-font-size-sm, $input-prefix-top-sm, $input-prefix-font-size-sm, $input-prefix-margin-left-sm, $input-prefix-width-sm, $input-form-text-ml-sm);
}
// Textarea
textarea {
&.md-textarea {
overflow-y: hidden;
padding: $textarea-padding 0;
resize: none;
}
&.md-textarea-auto {
padding: 0;
padding-top: $textarea-padding;
}
}
}
-21
View File
@@ -1,21 +0,0 @@
// Input group
.md-form {
&.input-group {
label {
top: 0;
margin-bottom: 0;
}
.input-group-text {
background-color: $input-group-text-bgc;
&.md-addon {
border: none;
background-color: transparent;
font-weight: 500;
}
}
.form-control {
margin: 0;
padding: $input-group-form-control-py $input-group-form-control-px;
}
}
}
-28
View File
@@ -1,28 +0,0 @@
// List group
.media {
.media-left {
padding: $list-group-padding;
img {
box-shadow: $z-depth-1;
}
}
}
.list-group {
.list-group-item {
&:first-child {
border-top-left-radius: $border-radius-base;
border-top-right-radius: $border-radius-base;
}
&:last-child {
border-bottom-left-radius: $border-radius-base;
border-bottom-right-radius: $border-radius-base;
}
}
a,
button {
transition: $list-group-transition;
&:hover {
transition: $list-group-transition;
}
}
}
-277
View File
@@ -1,277 +0,0 @@
// Modals
// Styles for body
body {
&.modal-open {
overflow: auto;
padding-right: 0 !important;
}
&.scrollable {
overflow-y: auto;
}
}
// *** ENHANCED BOOTSTRAP MODALS ***///
// General styles
.modal-dialog {
.modal-content {
box-shadow: $z-depth-1-half;
border: 0;
border-radius: $border-radius-base;
.modal-header {
border-top-left-radius: $border-radius-base;
border-top-right-radius: $border-radius-base;
}
}
// Cascading modals
&.cascading-modal {
margin-top: 10%;
.close {
opacity: 1;
text-shadow: none;
color: $white-base;
outline: 0;
}
// Cascading header
.modal-header {
box-shadow: $z-depth-1-half;
margin: $cascading-modal-margin-top $cascading-modal-margin-right $cascading-modal-margin-bottom $cascading-modal-margin-left;
border: none;
border-radius: $border-radius-base;
padding: $cascading-modal-padding;
text-align: center;
.close {
margin-right: $cascading-modal-close-margin-right;
}
.title {
margin-bottom: 0;
width: 100%;
font-size: $cascading-modal-font-size;
.fa {
margin-right: $cascading-modal-fa-margin-right;
}
}
.social-buttons {
margin-top: $cascading-modal-social-margin-top;
a {
font-size: $cascading-modal-a-font-size;
}
}
}
// Cascading tabs nav
.modal-c-tabs {
.md-tabs {
box-shadow: $z-depth-1;
margin: $cascading-modal-tabs-margin-top $cascading-modal-tabs-margin-x 0 $cascading-modal-tabs-margin-x;
display: flex;
li {
flex: 1;
a {
text-align: center;
}
}
}
.tab-content {
padding: $cascading-modal-tabs-padding-top 0 0 0;
}
//.md-tabs {
// border-radius: $md-card-border-radius;
// .nav-item {
// .nav-link {
// border-radius: $md-card-border-radius;
// background-color: inherit;
// color: $white-base;
// }
// }
//}
}
// Footer customization
.modal-body,
.modal-footer {
padding-left: $modal-body-padding-left;
padding-right: $modal-body-padding-right;
color: $grey-darken-2;
.additional-option {
margin-top: $modal-body-margin-top;
text-align: center;
}
}
// Cascading avatar
&.modal-avatar {
margin-top: $modal-avatar-margin-top;
.modal-header {
box-shadow: none;
@extend .img-fluid;
margin: $modal-avatar-header-margin-top 0 $modal-avatar-header-margin-bottom;
img {
width: $modal-avatar-img-width;
box-shadow: $z-depth-2;
margin-left: auto;
margin-right: auto;
}
}
}
}
// Modal notify
&.modal-notify {
.heading {
margin: 0;
padding: $modal-notify-heading-padding;
font-size: $modal-notify-font-size;
color: $white-base;
}
.modal-header {
box-shadow: $z-depth-1;
border: 0;
}
.close {
opacity: 1;
}
.modal-body {
padding: $modal-notify-body-padding;
color: $grey-darken-2;
}
@each $name, $color in $basic {
&.modal-#{$name} {
.modal-header {
background-color: $color;
}
.fa {
color: $color;
}
.badge {
background-color: $color;
}
}
}
}
}
// Position & Size
.modal {
padding-right: 0 !important;
.modal-dialog {
@media (min-width: 768px) {
&.modal-top {
top: 0;
}
&.modal-left {
left: 0;
}
&.modal-right {
right: 0;
}
&.modal-bottom {
bottom: 0;
}
&.modal-top-left {
top: $modal-distance;
left: $modal-distance;
}
&.modal-top-right {
top: $modal-distance;
right: $modal-distance;
}
&.modal-bottom-left {
bottom: $modal-distance;
left: $modal-distance;
}
&.modal-bottom-right {
bottom: $modal-distance;
right: $modal-distance;
}
}
}
&.fade {
&.top:not(.show) .modal-dialog {
transform: $modal-fade-top-transform;
}
&.left:not(.show) .modal-dialog {
transform: $modal-fade-left-transform;
}
&.right:not(.show) .modal-dialog {
transform: $modal-fade-right-transform;
}
&.bottom:not(.show) .modal-dialog {
transform: $modal-fade-bottom-transform;
}
}
@media (min-width: $medium-screen) {
&.modal-scrolling {
position: relative;
.modal-dialog {
position: fixed;
z-index: 1050;
}
}
&.modal-content-clickable {
top: auto;
bottom: auto;
.modal-dialog {
position: fixed;
}
}
.modal-fluid {
width: 100%;
max-width: 100%;
.modal-content {
width: 100%;
}
}
.modal-frame {
position: absolute;
margin: 0;
width: 100%;
max-width: 100%;
&.modal-bottom {
bottom: 0;
}
}
.modal-full-height {
position: absolute;
display: flex;
margin: 0;
width: $modal-width;
min-height: 100%;
height: auto;
min-height: 100%;
top: 0;
right: 0;
&.modal-top,
&.modal-bottom {
display: block;
width: 100%;
max-width: 100%;
height: auto;
}
&.modal-top {
bottom: auto;
}
&.modal-bottom {
min-height: 0;
top: auto;
}
.modal-content {
width: 100%;
}
&.modal-lg {
width: 90%;
max-width: 90%;
@media (min-width: $medium-screen) {
width: $modal-full-height-medium-screen;
max-width: $modal-full-height-medium-screen;
}
@media (min-width: $large-screen) {
width: $modal-full-height-large-screen;
max-width: $modal-full-height-large-screen;
}
}
}
.modal-side {
position: absolute;
bottom: $modal-distance;
right: $modal-distance;
margin: 0;
width: $modal-width;
}
}
}
-75
View File
@@ -1,75 +0,0 @@
// Miscellaneous
// Edge Headers
.edge-header {
display: block;
height: $edge-header-height;
background-color: $edge-header-background-color;
}
.free-bird {
margin-top: $edge-header-margin-top;
}
// Additional gradients
.juicy-peach-gradient {
background-image: linear-gradient(to right, #ffecd2 0%, #fcb69f 100%);
}
.young-passion-gradient {
background-image: linear-gradient(to right, #ff8177 0%, #ff867a 0%, #ff8c7f 21%, #f99185 52%, #cf556c 78%, #b12a5b 100%);
}
.lady-lips-gradient {
background-image: linear-gradient(to top, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
}
.sunny-morning-gradient {
background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
}
.rainy-ashville-gradient {
background-image: linear-gradient(to top, #fbc2eb 0%, #a6c1ee 100%);
}
.frozen-dreams-gradient {
background-image: linear-gradient(to top, #fdcbf1 0%, #fdcbf1 1%, #e6dee9 100%);
}
.warm-flame-gradient {
background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
}
.night-fade-gradient {
background-image: linear-gradient(to top, #a18cd1 0%, #fbc2eb 100%);
}
.spring-warmth-gradient {
background-image: linear-gradient(to top, #fad0c4 0%, #ffd1ff 100%);
}
.winter-neva-gradient {
background-image: linear-gradient(120deg, #a1c4fd 0%, #c2e9fb 100%);
}
.dusty-grass-gradient {
background-image: linear-gradient(120deg, #d4fc79 0%, #96e6a1 100%);
}
.tempting-azure-gradient {
background-image: linear-gradient(120deg, #84fab0 0%, #8fd3f4 100%);
}
.heavy-rain-gradient {
background-image: linear-gradient(to top, #cfd9df 0%, #e2ebf0 100%);
}
.amy-crisp-gradient {
background-image: linear-gradient(120deg, #a6c0fe 0%, #f68084 100%);
}
.mean-fruit-gradient {
background-image: linear-gradient(120deg, #fccb90 0%, #d57eeb 100%);
}
.deep-blue-gradient {
background-image: linear-gradient(120deg, #e0c3fc 0%, #8ec5fc 100%);
}
.ripe-malinka-gradient {
background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);
}
.cloudy-knoxville-gradient {
background-image: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}
.morpheus-den-gradient {
background-image: linear-gradient(to top, #30cfd0 0%, #330867 100%);
}
.rare-wind-gradient {
background-image: linear-gradient(to top, #a8edea 0%, #fed6e3 100%);
}
.near-moon-gradient {
background-image: linear-gradient(to top, #5ee7df 0%, #b490ca 100%);
}
-99
View File
@@ -1,99 +0,0 @@
// Navbars
.navbar {
box-shadow: $z-depth-1;
font-weight: $navbar-font-weight;
form {
.md-form {
input {
margin: 0 $navbar-form-input-mr $navbar-form-input-mb $navbar-form-input-ml;
}
}
}
.breadcrumb {
margin: 0;
padding: $navbar-breadcrumb-padding-top 0 0 $navbar-breadcrumb-padding-left;
background-color: inherit;
font-size: $navbar-double-font-size;
font-weight: $navbar-font-weight;
.breadcrumb-item {
color: $white-base;
&.active {
color: $navbar-breadcrumb-color;
}
&:before {
color: $navbar-breadcrumb-color;
}
}
}
.navbar-toggler {
outline: 0;
border-width: 0;
}
.nav-flex-icons {
flex-direction: row;
}
.container {
@media (max-width: $medium-screen) {
width: 100%;
.navbar-toggler-right {
right: 0;
}
}
}
.nav-item {
.nav-link {
display: block;
&.disabled {
&:active {
pointer-events: none;
}
}
.fa {
padding-right: $navbar-flex-icons-padding-lg;
padding-left: $navbar-flex-icons-padding-lg;
}
@media (max-width: $medium-screen) {
padding-right: $navbar-flex-icons-padding-md;
padding-left: $navbar-flex-icons-padding-md;
}
}
}
.dropdown-menu {
position: absolute !important;
margin-top: 0;
a {
padding: $navbar-dropdown-menu-padding;
font-size: $navbar-dropdown-font-size;
font-weight: $navbar-font-weight;
color: $black;
}
form {
@media (max-width: $small-screen) {
width: 17rem;
}
@media (min-width: $small-screen) {
width: 22rem;
}
}
}
&.navbar-light {
@include make-navbar($navbar-light-disabled-color, $navbar-light-toggler-icon, $black, $navbar-light-hover-color, $navbar-light-bg-active-color);
}
&.navbar-dark {
@include make-navbar($navbar-dark-disabled-color, $navbar-dark-toggler-icon, $white, $navbar-dark-hover-color, $navbar-dark-bg-active-color);
}
&.scrolling-navbar {
@media (min-width: $small-screen) {
transition: $navbar-scrolling-transition;
padding-top: $navbar-scrolling-padding;
padding-bottom: $navbar-scrolling-padding;
.navbar-nav > li {
transition-duration: $navbar-scrolling-transition-duration;
}
&.top-nav-collapse {
padding-top: $navbar-top-collapse-padding;
padding-bottom: $navbar-top-collapse-padding;
}
}
}
}
-83
View File
@@ -1,83 +0,0 @@
// Pagination
.pagination {
.page-item {
&.active {
.page-link {
box-shadow: $z-depth-1;
transition: $pagination-active-transition;
border-radius: $border-radius-base;
background-color: $primary-color;
color: $white-base;
&:hover {
background-color: $primary-color;
}
}
}
&.disabled {
.page-link {
color: $pagination-page-item-disabled-color;
}
}
.page-link {
transition: $pagination-page-link-transition;
outline: 0;
border: 0;
background-color: transparent;
font-size: $pagination-page-link-font-size;
color: $pagination-page-link-color;
&:hover {
transition: $pagination-page-link-transition;
border-radius: $border-radius-base;
background-color: $pagination-page-link-hover-bg-color;
}
&:focus {
background-color: transparent;
}
}
}
&.pagination-lg {
.page-item {
.page-link {
font-size: $pagination-page-link-font-size-lg;
}
}
}
&.pagination-sm {
.page-item {
.page-link {
font-size: $pagination-page-link-font-size-sm;
}
}
}
&.pagination-circle {
.page-item {
.page-link {
margin-left: $pagination-circle-margin-x;
margin-right: $pagination-circle-margin-x;
border-radius: $pagination-circle-border-radius;
&:hover {
border-radius: $pagination-circle-border-radius;
}
}
&.active {
.page-link {
border-radius: $pagination-circle-border-radius;
}
}
}
}
@each $name, $color in $pagination-colors {
&.pg-#{$name} {
.page-item {
&.active {
.page-link {
background-color: $color;
&:hover {
background-color: $color;
}
}
}
}
}
}
}
-189
View File
@@ -1,189 +0,0 @@
// Steppers
ul.stepper {
counter-reset: section;
overflow-y: auto;
overflow-x: hidden;
margin: 1em -1.5rem;
padding: 0 1.5rem;
padding: 1.5rem;
li {
a {
padding: $stepper-li-a-padding;
text-align: center;
.circle {
display: inline-block;
color: $stepper-li-a-circle-color;
border-radius: $stepper-li-a-circle-border-radius;
background: $stepper-li-a-circle-bg;
width: 1.75rem;
height: 1.75rem;
text-align: center;
line-height: 1.7rem;
margin-right: $stepper-li-a-circle-mr;
}
.label {
display: inline-block;
color: $stepper-li-a-circle-bg;
}
}
&.active,
&.completed {
a {
.circle {
@extend .primary-color;
}
.label {
font-weight: 600;
color: $stepper-li-a-label-color;
}
}
}
&.warning {
a {
.circle {
@extend .danger-color;
}
}
}
}
}
// Horizontal
.stepper-horizontal {
position: relative;
display: flex;
justify-content: space-between;
li {
transition: $stepper-horizontal-li-transition;
display: flex;
align-items: center;
flex: 1;
position: relative;
a {
.label {
margin-top: $stepper-horizontal-li-a-label-mt;
}
}
&:not(:last-child):after {
content: "";
position: relative;
flex: 1;
margin: $stepper-horizontal-li-after-margin 0 0 0;
height: $stepper-horizontal-li-after-height;
background-color: $stepper-horizontal-li-after-bgc;
}
&:not(:first-child):before {
content: "";
position: relative;
flex: 1;
margin: $stepper-horizontal-li-after-margin 0 0 0;
height: $stepper-horizontal-li-after-height;
background-color: $stepper-horizontal-li-after-bgc;
}
&:hover {
background-color: rgba(0, 0, 0, .06);
}
}
@media (max-width: $stepper-horizontal-breakpoint) {
flex-direction: column;
li {
align-items: flex-start;
flex-direction: column;
a {
.label {
flex-flow: column nowrap;
order: 2;
margin-top: $stepper-horizontal-small-li-a-label-mt;
}
}
&:not(:last-child):after {
content: "";
position: absolute;
width: $stepper-horizontal-small-li-after-width;
height: $stepper-horizontal-small-li-after-height;
left: $stepper-horizontal-small-li-after-left;
top: $stepper-horizontal-small-li-after-top;
}
}
}
>li:not(:last-of-type) {
margin-bottom: 0 !important;
}
}
// Vertical
.stepper-vertical {
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
li {
display: flex;
align-items: flex-start;
flex: 1;
flex-direction: column;
position: relative;
a {
align-self: flex-start;
display: flex;
position: relative;
.circle {
order: 1;
}
.label {
flex-flow: column nowrap;
order: 2;
margin-top: $stepper-vertical-li-a-label-mt;
}
}
&.completed {
a {
.label {
font-weight: 500;
}
}
}
.step-content {
display: block;
margin-top: 0;
margin-left: $stepper-vertical-li-step-content-ml;
padding: $stepper-vertical-li-step-content-padding;
p {
font-size: $stepper-vertical-li-step-content-p-font-size;
}
}
&:not(:last-child):after {
content: "";
position: absolute;
width: $stepper-vertical-li-after-width;
height: $stepper-vertical-li-after-height;
left: $stepper-vertical-li-after-left;
top: $stepper-vertical-li-after-top;
background-color: $stepper-vertical-li-after-bgc;
}
}
}
-51
View File
@@ -1,51 +0,0 @@
// Switch free
.bs-switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
input {
display: none;
&:checked {
+ .slider {
background-color: #2196F3;
&:before {
transform: translateX(26px);
}
}
}
&:focus {
+ .slider {
box-shadow: 0 0 1px #2196F3;
}
}
}
.slider {
position: absolute;
cursor: pointer;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #ccc;
-webkit-transition: .4s;
transition: .4s;
&:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
&.round {
border-radius: 34px;
&:before {
border-radius: 50%;
}
}
}
}
-66
View File
@@ -1,66 +0,0 @@
// Tables
table {
th {
font-size: $table-th-font-size;
font-weight: 400;
}
td {
font-size: $table-td-font-size;
font-weight: 300;
}
&.table {
thead th {
border-top: none;
}
th,
td {
padding-top: $table-th-padding-top;
padding-bottom: $table-td-padding-bottom;
}
a {
margin: 0;
color: $table-a-color;
}
.label-table {
margin: 0;
padding: 0;
line-height: $table-label-height;
height: $table-label-line-height;
}
&.btn-table {
td {
vertical-align: middle;
}
}
}
&.table-hover {
tbody {
tr {
&:hover {
transition: $table-hover-transition;
background-color: $table-hover-background-color;
}
}
}
}
.th-lg {
min-width: $table-th-lg-min-width;
}
.th-sm {
min-width: $table-th-sm-min-width;
}
&.table-sm {
th,
td {
padding-top: $table-sm-padding-y;
padding-bottom: $table-sm-padding-y;
}
}
}
.table-scroll-vertical {
max-height: $table-scroll-vertical-max-height;
overflow-y: auto;
}
.table-fixed {
table-layout: fixed;
}
File diff suppressed because it is too large Load Diff
@@ -1,7 +0,0 @@
/*
* MDBootstrap Animations Extended
* Learn more: https://mdbootstrap.com/css/animations/
* About MDBootstrap: https://mdbootstrap.com/
*/
@import "module";