Scrollreveal+cat+datenews
This commit is contained in:
@@ -15,3 +15,4 @@
|
||||
@import "spectre/progress";
|
||||
@import "spectre/sliders";
|
||||
@import "spectre/timelines";
|
||||
@import "spectre/viewer-360";
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
padding: $unit-1 $unit-2;
|
||||
|
||||
.icon {
|
||||
transition: all .2s ease;
|
||||
transition: transform .25s;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
margin-bottom: $layout-spacing;
|
||||
max-height: 0;
|
||||
overflow: hidden;
|
||||
transition: max-height .2s ease;
|
||||
transition: max-height .25s;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,24 +1,29 @@
|
||||
// Optimized for East Asian CJK
|
||||
:lang(zh),
|
||||
:lang(zh-Hans) {
|
||||
html:lang(zh),
|
||||
html:lang(zh-Hans),
|
||||
.lang-zh,
|
||||
.lang-zh-hans {
|
||||
font-family: $cjk-zh-hans-font-family;
|
||||
}
|
||||
|
||||
:lang(zh-Hant) {
|
||||
html:lang(zh-Hant),
|
||||
.lang-zh-hant {
|
||||
font-family: $cjk-zh-hant-font-family;
|
||||
}
|
||||
|
||||
:lang(ja) {
|
||||
html:lang(ja),
|
||||
.lang-ja {
|
||||
font-family: $cjk-jp-font-family;
|
||||
}
|
||||
|
||||
:lang(ko) {
|
||||
html:lang(ko),
|
||||
.lang-ko {
|
||||
font-family: $cjk-ko-font-family;
|
||||
}
|
||||
|
||||
:lang(zh),
|
||||
:lang(ja),
|
||||
.cjk {
|
||||
.lang-cjk {
|
||||
ins,
|
||||
u {
|
||||
border-bottom: $border-width solid;
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
&:not(:first-child) {
|
||||
&::before {
|
||||
color: $gray-color-light;
|
||||
color: $gray-color-dark;
|
||||
content: "/";
|
||||
padding-right: $unit-2;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
// Buttons
|
||||
.btn {
|
||||
@include control-transition();
|
||||
appearance: none;
|
||||
background: $bg-color-light;
|
||||
border: $border-width solid $primary-color;
|
||||
@@ -15,6 +14,7 @@
|
||||
padding: $control-padding-y $control-padding-x;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
transition: background .2s, border .2s, box-shadow .2s, color .2s;
|
||||
user-select: none;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
@@ -134,16 +134,18 @@
|
||||
background: transparent;
|
||||
border: 0;
|
||||
color: currentColor;
|
||||
height: $unit-4;
|
||||
height: $unit-5;
|
||||
line-height: $unit-4;
|
||||
margin-left: $unit-1;
|
||||
margin-right: -2px;
|
||||
opacity: 1;
|
||||
padding: 0;
|
||||
padding: $unit-h;
|
||||
text-decoration: none;
|
||||
width: $unit-4;
|
||||
width: $unit-5;
|
||||
|
||||
&:focus,
|
||||
&:hover {
|
||||
background: rgba($bg-color, .5);
|
||||
opacity: .95;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
padding: $unit-1;
|
||||
|
||||
.date-item {
|
||||
@include control-transition();
|
||||
appearance: none;
|
||||
background: transparent;
|
||||
border: $border-width solid transparent;
|
||||
@@ -60,6 +59,7 @@
|
||||
position: relative;
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
transition: background .2s, border .2s, box-shadow .2s, color .2s;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
width: $unit-7;
|
||||
|
||||
@@ -1,4 +1,17 @@
|
||||
// Carousels
|
||||
// The number of carousel images
|
||||
$carousel-number: 8;
|
||||
|
||||
%carousel-image-checked {
|
||||
animation: carousel-slidein .75s ease-in-out 1;
|
||||
opacity: 1;
|
||||
z-index: $zindex-1;
|
||||
}
|
||||
|
||||
%carousel-nav-checked {
|
||||
color: $gray-color-light;
|
||||
}
|
||||
|
||||
.carousel {
|
||||
background: $bg-color;
|
||||
display: block;
|
||||
@@ -44,7 +57,7 @@
|
||||
opacity: 0;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transition: all .4s ease;
|
||||
transition: all .4s;
|
||||
transform: translateY(-50%);
|
||||
z-index: $zindex-1;
|
||||
}
|
||||
@@ -57,19 +70,16 @@
|
||||
}
|
||||
|
||||
.carousel-locator {
|
||||
&:nth-of-type(1):checked ~ .carousel-container .carousel-item:nth-of-type(1),
|
||||
&:nth-of-type(2):checked ~ .carousel-container .carousel-item:nth-of-type(2),
|
||||
&:nth-of-type(3):checked ~ .carousel-container .carousel-item:nth-of-type(3),
|
||||
&:nth-of-type(4):checked ~ .carousel-container .carousel-item:nth-of-type(4) {
|
||||
animation: carousel-slidein .75s ease-in-out 1;
|
||||
opacity: 1;
|
||||
z-index: $zindex-1;
|
||||
@for $i from 1 through ($carousel-number) {
|
||||
&:nth-of-type(#{$i}):checked ~ .carousel-container .carousel-item:nth-of-type(#{$i}) {
|
||||
@extend %carousel-image-checked;
|
||||
}
|
||||
}
|
||||
&:nth-of-type(1):checked ~ .carousel-nav .nav-item:nth-of-type(1),
|
||||
&:nth-of-type(2):checked ~ .carousel-nav .nav-item:nth-of-type(2),
|
||||
&:nth-of-type(3):checked ~ .carousel-nav .nav-item:nth-of-type(3),
|
||||
&:nth-of-type(4):checked ~ .carousel-nav .nav-item:nth-of-type(4) {
|
||||
color: $gray-color-light;
|
||||
|
||||
@for $i from 1 through ($carousel-number) {
|
||||
&:nth-of-type(#{$i}):checked ~ .carousel-nav .nav-item:nth-of-type(#{$i}) {
|
||||
@extend %carousel-nav-checked;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -3,16 +3,18 @@
|
||||
align-items: center;
|
||||
background: $bg-color-dark;
|
||||
border-radius: 5rem;
|
||||
color: $gray-color-dark;
|
||||
display: inline-flex;
|
||||
font-size: 90%;
|
||||
height: $unit-6;
|
||||
line-height: $unit-4;
|
||||
margin: $unit-h;
|
||||
max-width: 100%;
|
||||
max-width: $control-width-sm;
|
||||
overflow: hidden;
|
||||
padding: $unit-1 $unit-2;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: middle;
|
||||
white-space: nowrap;
|
||||
|
||||
&.active {
|
||||
background: $primary-color;
|
||||
@@ -25,6 +27,7 @@
|
||||
}
|
||||
|
||||
.btn-clear {
|
||||
border-radius: 50%;
|
||||
transform: scale(.75);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,6 @@ legend {
|
||||
|
||||
// Form element: Input
|
||||
.form-input {
|
||||
@include control-transition();
|
||||
appearance: none;
|
||||
background: $bg-color-light;
|
||||
background-image: none;
|
||||
@@ -49,6 +48,7 @@ legend {
|
||||
outline: none;
|
||||
padding: $control-padding-y $control-padding-x;
|
||||
position: relative;
|
||||
transition: background .2s, border .2s, box-shadow .2s, color .2s;
|
||||
width: 100%;
|
||||
&:focus {
|
||||
@include control-shadow();
|
||||
@@ -85,7 +85,11 @@ legend {
|
||||
|
||||
// Form element: Textarea
|
||||
textarea.form-input {
|
||||
height: auto;
|
||||
&,
|
||||
&.input-lg,
|
||||
&.input-sm {
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
// Form element: Input hint
|
||||
@@ -118,19 +122,7 @@ textarea.form-input {
|
||||
padding: $control-padding-y $control-padding-x;
|
||||
vertical-align: middle;
|
||||
width: 100%;
|
||||
|
||||
&[size],
|
||||
&[multiple] {
|
||||
height: auto;
|
||||
|
||||
option {
|
||||
padding: $unit-h $unit-1;
|
||||
}
|
||||
}
|
||||
&:not([multiple]):not([size]) {
|
||||
background: #fff url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23667189'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E") no-repeat right .35rem center/.4rem .5rem;
|
||||
padding-right: $control-icon-size + $control-padding-x;
|
||||
}
|
||||
background: $bg-color-light;
|
||||
&:focus {
|
||||
@include control-shadow();
|
||||
border-color: $primary-color;
|
||||
@@ -151,6 +143,21 @@ textarea.form-input {
|
||||
height: $control-size-lg;
|
||||
padding: $control-padding-y-lg ($control-icon-size + $control-padding-x-lg) $control-padding-y-lg $control-padding-x-lg;
|
||||
}
|
||||
|
||||
// Multiple select
|
||||
&[size],
|
||||
&[multiple] {
|
||||
height: auto;
|
||||
padding: $control-padding-y $control-padding-x;
|
||||
|
||||
option {
|
||||
padding: $unit-h $unit-1;
|
||||
}
|
||||
}
|
||||
&:not([multiple]):not([size]) {
|
||||
background: $bg-color-light url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%204%205'%3E%3Cpath%20fill='%23667189'%20d='M2%200L0%202h4zm0%205L0%203h4z'/%3E%3C/svg%3E") no-repeat right .35rem center / .4rem .5rem;
|
||||
padding-right: $control-icon-size + $control-padding-x;
|
||||
}
|
||||
}
|
||||
|
||||
// Form Icons
|
||||
@@ -218,11 +225,11 @@ textarea.form-input {
|
||||
}
|
||||
|
||||
.form-icon {
|
||||
@include control-transition();
|
||||
border: $border-width solid $border-color-dark;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
transition: background .2s, border .2s, box-shadow .2s, color .2s;
|
||||
}
|
||||
|
||||
// Input checkbox, radio and switch sizes
|
||||
@@ -266,14 +273,14 @@ textarea.form-input {
|
||||
border-left-width: 0;
|
||||
border-top-width: 0;
|
||||
content: "";
|
||||
height: 12px;
|
||||
height: 9px;
|
||||
left: 50%;
|
||||
margin-left: -4px;
|
||||
margin-top: -8px;
|
||||
margin-left: -3px;
|
||||
margin-top: -6px;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: rotate(45deg);
|
||||
width: 8px;
|
||||
width: 6px;
|
||||
}
|
||||
}
|
||||
&:indeterminate + .form-icon {
|
||||
@@ -304,12 +311,12 @@ textarea.form-input {
|
||||
background: $bg-color-light;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: 4px;
|
||||
height: 6px;
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
width: 4px;
|
||||
width: 6px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -320,7 +327,7 @@ textarea.form-input {
|
||||
padding-left: ($unit-8 + $control-padding-x);
|
||||
|
||||
.form-icon {
|
||||
background: $gray-color-light;
|
||||
background: $gray-color;
|
||||
background-clip: padding-box;
|
||||
border-radius: $unit-2 + $border-width;
|
||||
height: $unit-4 + $border-width * 2;
|
||||
@@ -328,7 +335,6 @@ textarea.form-input {
|
||||
top: ($control-size-sm - $unit-4) / 2 - $border-width;
|
||||
width: $unit-8;
|
||||
&::before {
|
||||
@include control-transition();
|
||||
background: $bg-color-light;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
@@ -337,6 +343,7 @@ textarea.form-input {
|
||||
left: 0;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
transition: background .2s, border .2s, box-shadow .2s, color .2s, left .2s;
|
||||
width: $unit-4;
|
||||
}
|
||||
}
|
||||
@@ -424,6 +431,7 @@ textarea.form-input {
|
||||
.form-select {
|
||||
.has-success &,
|
||||
&.is-success {
|
||||
background: lighten($success-color, 53%);
|
||||
border-color: $success-color;
|
||||
&:focus {
|
||||
@include control-shadow($success-color);
|
||||
@@ -432,6 +440,7 @@ textarea.form-input {
|
||||
|
||||
.has-error &,
|
||||
&.is-error {
|
||||
background: lighten($error-color, 53%);
|
||||
border-color: $error-color;
|
||||
&:focus {
|
||||
@include control-shadow($error-color);
|
||||
@@ -447,7 +456,7 @@ textarea.form-input {
|
||||
.form-icon {
|
||||
border-color: $error-color;
|
||||
}
|
||||
|
||||
|
||||
input {
|
||||
&:checked + .form-icon {
|
||||
background: $error-color;
|
||||
@@ -481,6 +490,7 @@ textarea.form-input {
|
||||
border-color: $error-color;
|
||||
&:focus {
|
||||
@include control-shadow($error-color);
|
||||
background: lighten($error-color, 53%);
|
||||
}
|
||||
|
||||
& + .form-input-hint {
|
||||
@@ -542,4 +552,4 @@ input {
|
||||
// Form inline
|
||||
.form-inline {
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
// Hero
|
||||
.hero {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 4rem;
|
||||
padding-top: 4rem;
|
||||
|
||||
&.hero-sm {
|
||||
padding-bottom: 2rem;
|
||||
padding-top: 2rem;
|
||||
}
|
||||
|
||||
&.hero-lg {
|
||||
padding-bottom: 8rem;
|
||||
padding-top: 8rem;
|
||||
}
|
||||
|
||||
.hero-body {
|
||||
padding: $layout-spacing;
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,6 @@
|
||||
padding-left: $layout-spacing;
|
||||
padding-right: $layout-spacing;
|
||||
width: 100%;
|
||||
@extend .clearfix;
|
||||
|
||||
$grid-spacing: ($layout-spacing / ($layout-spacing * 0 + 1)) * $html-font-size;
|
||||
|
||||
|
||||
@@ -7,5 +7,4 @@
|
||||
@import "mixins/position";
|
||||
@import "mixins/shadow";
|
||||
@import "mixins/text";
|
||||
@import "mixins/toast";
|
||||
@import "mixins/transition";
|
||||
@import "mixins/toast";
|
||||
@@ -23,7 +23,6 @@
|
||||
|
||||
.navbar-brand {
|
||||
font-size: $font-size-lg;
|
||||
font-weight: 500;
|
||||
text-decoration: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,7 +28,7 @@ $off-canvas-breakpoint: $size-lg !default;
|
||||
overflow-y: auto;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
transition: transform .25s ease;
|
||||
transition: transform .25s;
|
||||
z-index: $zindex-2;
|
||||
@if $rtl == true {
|
||||
right: 0;
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
a {
|
||||
border-radius: $border-radius;
|
||||
color: $gray-color-dark;
|
||||
display: inline-block;
|
||||
padding: $unit-1 $unit-2;
|
||||
text-decoration: none;
|
||||
|
||||
@@ -52,7 +52,7 @@ $parallax-fade-color: rgba(255, 255, 255, .35) !default;
|
||||
text-shadow: 0 0 20px rgba($dark-color, .75);
|
||||
top: 0;
|
||||
transform: translateZ($parallax-offset-z) scale($parallax-scale);
|
||||
transition: all .4s ease;
|
||||
transition: transform .4s;
|
||||
width: 100%;
|
||||
z-index: $zindex-0;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
position: absolute;
|
||||
top: 0;
|
||||
transform: translate(-50%, -50%) scale(0);
|
||||
transition: transform .2s ease;
|
||||
transition: transform .2s;
|
||||
width: $control-width-sm;
|
||||
z-index: $zindex-3;
|
||||
}
|
||||
@@ -19,7 +19,7 @@
|
||||
&:hover .popover-container {
|
||||
display: block;
|
||||
opacity: 1;
|
||||
transform: translate(-50%, -100%);
|
||||
transform: translate(-50%, -100%) scale(1);
|
||||
}
|
||||
|
||||
&.popover-right {
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
*:focus + .popover-container,
|
||||
&:hover .popover-container {
|
||||
transform: translate(0, -50%);
|
||||
transform: translate(0, -50%) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
*:focus + .popover-container,
|
||||
&:hover .popover-container {
|
||||
transform: translate(-50%, 0);
|
||||
transform: translate(-50%, 0) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
*:focus + .popover-container,
|
||||
&:hover .popover-container {
|
||||
transform: translate(-100%, -50%);
|
||||
transform: translate(-100%, -50%) scale(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
border-radius: 50%;
|
||||
height: $unit-3;
|
||||
margin-top: -($unit-3 - $unit-h) / 2;
|
||||
transition: transform .2s ease;
|
||||
transition: transform .2s;
|
||||
width: $unit-3;
|
||||
}
|
||||
&::-moz-range-thumb {
|
||||
@@ -34,7 +34,7 @@
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
height: $unit-3;
|
||||
transition: transform .2s ease;
|
||||
transition: transform .2s;
|
||||
width: $unit-3;
|
||||
}
|
||||
&::-ms-thumb {
|
||||
@@ -42,7 +42,7 @@
|
||||
border: 0;
|
||||
border-radius: 50%;
|
||||
height: $unit-3;
|
||||
transition: transform .2s ease;
|
||||
transition: transform .2s;
|
||||
width: $unit-3;
|
||||
}
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
}
|
||||
|
||||
a {
|
||||
color: $gray-color;
|
||||
color: $primary-color;
|
||||
display: inline-block;
|
||||
padding: 20px 10px 0;
|
||||
text-decoration: none;
|
||||
@@ -59,9 +59,10 @@
|
||||
}
|
||||
|
||||
a {
|
||||
color: $gray-color;
|
||||
|
||||
&::before {
|
||||
background: $gray-color-light;
|
||||
background: $border-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
// Tables with horizontal scrollbar
|
||||
// Scollable tables
|
||||
&.table-scroll {
|
||||
display: block;
|
||||
overflow-x: auto;
|
||||
|
||||
@@ -24,10 +24,12 @@
|
||||
}
|
||||
|
||||
.timeline-icon {
|
||||
align-items: center;
|
||||
border-radius: 50%;
|
||||
color: $light-color;
|
||||
display: block;
|
||||
display: flex;
|
||||
height: $unit-6;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
width: $unit-6;
|
||||
&::before {
|
||||
|
||||
@@ -37,6 +37,12 @@
|
||||
}
|
||||
|
||||
.btn-clear {
|
||||
margin: 4px -2px 4px 4px;
|
||||
margin: $unit-h;
|
||||
}
|
||||
|
||||
p {
|
||||
&:last-child {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
.tooltip {
|
||||
position: relative;
|
||||
&::after {
|
||||
background: rgba($dark-color, .9);
|
||||
background: rgba($dark-color, .95);
|
||||
border-radius: $border-radius;
|
||||
bottom: 100%;
|
||||
color: $light-color;
|
||||
@@ -18,7 +18,7 @@
|
||||
position: absolute;
|
||||
text-overflow: ellipsis;
|
||||
transform: translate(-50%, $unit-2);
|
||||
transition: all .2s ease;
|
||||
transition: opacity .2s, transform .2s;
|
||||
white-space: pre;
|
||||
z-index: $zindex-3;
|
||||
}
|
||||
|
||||
@@ -71,8 +71,9 @@ kbd {
|
||||
|
||||
mark {
|
||||
@include label-variant($body-font-color, $highlight-color);
|
||||
border-bottom: $unit-o solid darken($highlight-color, 15%);
|
||||
border-radius: $border-radius;
|
||||
padding: .05rem;
|
||||
padding: $unit-o $unit-h 0;
|
||||
}
|
||||
|
||||
// Blockquote
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Core variables
|
||||
$version: "0.5.3";
|
||||
$version: "0.5.7";
|
||||
|
||||
// Core features
|
||||
$rtl: false !default;
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
// 360 Degree Viewer
|
||||
// The number of images
|
||||
$image-height: 9rem;
|
||||
$image-number: 36 !default;
|
||||
$image-width: 24rem;
|
||||
|
||||
.viewer-360 {
|
||||
align-items: center;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
@for $s from 1 through ($image-number) {
|
||||
.viewer-slider[value='#{$s}'] + .viewer-image {
|
||||
background-position-y: percentage((($s)-1) * 1/(($image-number)-1));
|
||||
}
|
||||
}
|
||||
|
||||
.viewer-slider {
|
||||
cursor: ew-resize;
|
||||
margin: 1rem;
|
||||
order: 2;
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
.viewer-image {
|
||||
background-position-y: 0;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100%;
|
||||
height: $image-height;
|
||||
order: 1;
|
||||
width: $image-width;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
// Icon resize
|
||||
.icon-resize-horiz,
|
||||
.icon-resize-vert {
|
||||
@@ -7,7 +6,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
content: "";
|
||||
height: .45em;
|
||||
width: .45em;
|
||||
}
|
||||
@@ -35,7 +33,6 @@
|
||||
background: currentColor;
|
||||
box-shadow: -.4em 0, .4em 0;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: 3px;
|
||||
width: 3px;
|
||||
}
|
||||
@@ -53,7 +50,6 @@
|
||||
.icon-cross {
|
||||
&::before {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: $icon-border-width;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -63,7 +59,6 @@
|
||||
.icon-cross {
|
||||
&::after {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: 100%;
|
||||
width: $icon-border-width;
|
||||
}
|
||||
@@ -88,7 +83,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-right: 0;
|
||||
border-top: 0;
|
||||
content: "";
|
||||
height: .5em;
|
||||
width: .9em;
|
||||
transform: translate(-50%, -75%) rotate(-45deg);
|
||||
@@ -101,7 +95,6 @@
|
||||
border-radius: 50%;
|
||||
&::before {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: $icon-border-width;
|
||||
transform: translate(-50%, -50%) rotate(45deg);
|
||||
width: 1em;
|
||||
@@ -128,7 +121,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50%;
|
||||
border-right-color: transparent;
|
||||
content: "";
|
||||
height: 1em;
|
||||
width: 1em;
|
||||
}
|
||||
@@ -136,7 +128,6 @@
|
||||
border: .2em solid currentColor;
|
||||
border-top-color: transparent;
|
||||
border-left-color: transparent;
|
||||
content: "";
|
||||
height: 0;
|
||||
left: 80%;
|
||||
top: 20%;
|
||||
@@ -149,7 +140,6 @@
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: .75em;
|
||||
left: 5%;
|
||||
top: 5%;
|
||||
@@ -158,7 +148,6 @@
|
||||
}
|
||||
&::after {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: $icon-border-width;
|
||||
left: 80%;
|
||||
top: 80%;
|
||||
@@ -171,7 +160,6 @@
|
||||
.icon-edit {
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
content: "";
|
||||
height: .4em;
|
||||
transform: translate(-40%, -60%) rotate(-45deg);
|
||||
width: .85em;
|
||||
@@ -180,7 +168,6 @@
|
||||
border: .15em solid currentColor;
|
||||
border-top-color: transparent;
|
||||
border-right-color: transparent;
|
||||
content: "";
|
||||
height: 0;
|
||||
left: 5%;
|
||||
top: 95%;
|
||||
@@ -196,7 +183,6 @@
|
||||
border-bottom-left-radius: $border-radius;
|
||||
border-bottom-right-radius: $border-radius;
|
||||
border-top: 0;
|
||||
content: "";
|
||||
height: .75em;
|
||||
top: 60%;
|
||||
width: .75em;
|
||||
@@ -204,7 +190,6 @@
|
||||
&::after {
|
||||
background: currentColor;
|
||||
box-shadow: -.25em .2em, .25em .2em;
|
||||
content: "";
|
||||
height: $icon-border-width;
|
||||
top: $icon-border-width/2;
|
||||
width: .5em;
|
||||
@@ -221,7 +206,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-left: 0;
|
||||
border-top: 0;
|
||||
content: "";
|
||||
height: .4em;
|
||||
left: 100%;
|
||||
top: .25em;
|
||||
@@ -233,7 +217,6 @@
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
border-radius: 75% 0;
|
||||
content: "";
|
||||
height: .5em;
|
||||
width: .6em;
|
||||
}
|
||||
@@ -243,7 +226,6 @@
|
||||
.icon-flag {
|
||||
&::before {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: 1em;
|
||||
left: 15%;
|
||||
width: $icon-border-width;
|
||||
@@ -253,7 +235,6 @@
|
||||
border-bottom-right-radius: $border-radius;
|
||||
border-left: 0;
|
||||
border-top-right-radius: $border-radius;
|
||||
content: "";
|
||||
height: .65em;
|
||||
top: 35%;
|
||||
left: 60%;
|
||||
@@ -268,7 +249,6 @@
|
||||
border-bottom: 0;
|
||||
border-top-left-radius: $border-radius;
|
||||
border-top-right-radius: $border-radius;
|
||||
content: "";
|
||||
height: .9em;
|
||||
width: .8em;
|
||||
}
|
||||
@@ -277,7 +257,6 @@
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
border-radius: $border-radius;
|
||||
content: "";
|
||||
height: .5em;
|
||||
transform: translate(-50%, 35%) rotate(-45deg) skew(15deg, 15deg);
|
||||
width: .5em;
|
||||
@@ -292,14 +271,12 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
content: "";
|
||||
height: .5em;
|
||||
width: .5em;
|
||||
transform: translate(-50%, -60%) rotate(-135deg);
|
||||
}
|
||||
&::after {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: .6em;
|
||||
top: 40%;
|
||||
width: $icon-border-width;
|
||||
@@ -314,3 +291,25 @@
|
||||
top: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
// Icon copy
|
||||
.icon-copy {
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: $border-radius;
|
||||
border-right: 0;
|
||||
border-bottom: 0;
|
||||
height: .8em;
|
||||
left: 40%;
|
||||
top: 35%;
|
||||
width: .8em;
|
||||
}
|
||||
&::after {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: $border-radius;
|
||||
height: .8em;
|
||||
left: 60%;
|
||||
top: 60%;
|
||||
width: .8em;
|
||||
}
|
||||
}
|
||||
@@ -15,6 +15,7 @@ $icon-prefix: "icon";
|
||||
width: 1em;
|
||||
&::before,
|
||||
&::after {
|
||||
content: "";
|
||||
display: block;
|
||||
left: 50%;
|
||||
position: absolute;
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-bottom: 0;
|
||||
border-right: 0;
|
||||
content: "";
|
||||
height: .65em;
|
||||
width: .65em;
|
||||
}
|
||||
@@ -45,7 +44,6 @@
|
||||
.icon-forward {
|
||||
&::after {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: $icon-border-width;
|
||||
width: .8em;
|
||||
}
|
||||
@@ -55,7 +53,6 @@
|
||||
.icon-upward {
|
||||
&::after {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: .8em;
|
||||
width: $icon-border-width;
|
||||
}
|
||||
@@ -103,7 +100,6 @@
|
||||
border-top: .3em solid currentColor;
|
||||
border-right: .3em solid transparent;
|
||||
border-left: .3em solid transparent;
|
||||
content: "";
|
||||
height: 0;
|
||||
transform: translate(-50%, -25%);
|
||||
width: 0;
|
||||
@@ -115,7 +111,6 @@
|
||||
&::before {
|
||||
background: currentColor;
|
||||
box-shadow: 0 -.35em, 0 .35em;
|
||||
content: "";
|
||||
height: $icon-border-width;
|
||||
width: 100%;
|
||||
}
|
||||
@@ -126,7 +121,6 @@
|
||||
&::before {
|
||||
background: currentColor;
|
||||
box-shadow: -.35em -.35em, -.35em 0, -.35em .35em, 0 -.35em, 0 .35em, .35em -.35em, .35em 0, .35em .35em;
|
||||
content: "";
|
||||
height: 3px;
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
@@ -4,14 +4,12 @@
|
||||
border-radius: 50%;
|
||||
&::before {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: .4em;
|
||||
transform: translate(-50%, -75%);
|
||||
width: $icon-border-width;
|
||||
}
|
||||
&::after {
|
||||
background: currentColor;
|
||||
content: "";
|
||||
height: .3em;
|
||||
transform: translate(-50%, -75%) rotate(90deg);
|
||||
transform-origin: 50% 90%;
|
||||
@@ -24,7 +22,6 @@
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: $border-radius;
|
||||
content: "";
|
||||
height: .8em;
|
||||
width: 1em;
|
||||
}
|
||||
@@ -32,7 +29,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-right: 0;
|
||||
border-top: 0;
|
||||
content: "";
|
||||
height: .5em;
|
||||
transform: translate(-50%, -90%) rotate(-45deg) skew(10deg, 10deg);
|
||||
width: .5em;
|
||||
@@ -44,7 +40,6 @@
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: .45em;
|
||||
top: 25%;
|
||||
width: .45em;
|
||||
@@ -52,7 +47,6 @@
|
||||
&::after {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50% 50% 0 0;
|
||||
content: "";
|
||||
height: .4em;
|
||||
top: 75%;
|
||||
width: .9em;
|
||||
@@ -70,7 +64,6 @@
|
||||
border-bottom-right-radius: $border-radius;
|
||||
border-left: 0;
|
||||
border-top: 0;
|
||||
content: "";
|
||||
height: .8em;
|
||||
left: 65%;
|
||||
top: 40%;
|
||||
@@ -79,7 +72,6 @@
|
||||
&::after {
|
||||
background: currentColor;
|
||||
border-radius: $border-radius;
|
||||
content: "";
|
||||
height: .3em;
|
||||
left: 10%;
|
||||
top: 100%;
|
||||
@@ -95,7 +87,6 @@
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: .25em;
|
||||
left: 35%;
|
||||
top: 35%;
|
||||
@@ -105,7 +96,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-bottom: 0;
|
||||
border-left: 0;
|
||||
content: "";
|
||||
height: .5em;
|
||||
left: 60%;
|
||||
transform: translate(-50%, 25%) rotate(-45deg);
|
||||
@@ -120,7 +110,6 @@
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 5em 0 0 5em;
|
||||
border-right: 0;
|
||||
content: "";
|
||||
height: .5em;
|
||||
width: .75em;
|
||||
}
|
||||
@@ -137,7 +126,6 @@
|
||||
&::before {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50% 50% 50% 0;
|
||||
content: "";
|
||||
height: .8em;
|
||||
transform: translate(-50%, -60%) rotate(-45deg);
|
||||
width: .8em;
|
||||
@@ -145,7 +133,6 @@
|
||||
&::after {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-radius: 50%;
|
||||
content: "";
|
||||
height: .2em;
|
||||
transform: translate(-50%, -80%);
|
||||
width: .2em;
|
||||
@@ -158,17 +145,15 @@
|
||||
border-radius: 50%;
|
||||
&::before {
|
||||
border-radius: 50%;
|
||||
box-shadow: -.17em -.15em, .17em -.15em;
|
||||
content: "";
|
||||
height: .1em;
|
||||
width: .1em;
|
||||
box-shadow: -.17em -.1em, .17em -.1em;
|
||||
height: .15em;
|
||||
width: .15em;
|
||||
}
|
||||
&::after {
|
||||
border: $icon-border-width solid currentColor;
|
||||
border-bottom-color: transparent;
|
||||
border-radius: 50%;
|
||||
border-right-color: transparent;
|
||||
content: "";
|
||||
height: .5em;
|
||||
transform: translate(-50%, -40%) rotate(-135deg);
|
||||
width: .5em;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// Background color utility mixin
|
||||
@mixin bg-color-variant($name: ".bg-primary", $color: $primary-color) {
|
||||
#{$name} {
|
||||
background: $color;
|
||||
background: $color !important;
|
||||
|
||||
@if (lightness($color) < 60) {
|
||||
color: $light-color;
|
||||
@@ -12,7 +12,7 @@
|
||||
// Text color utility mixin
|
||||
@mixin text-color-variant($name: ".text-primary", $color: $primary-color) {
|
||||
#{$name} {
|
||||
color: $color;
|
||||
color: $color !important;
|
||||
}
|
||||
|
||||
a#{$name} {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Toast variant mixin
|
||||
@mixin toast-variant($color: $dark-color) {
|
||||
background: rgba($color, .9);
|
||||
background: rgba($color, .95);
|
||||
border-color: $color;
|
||||
}
|
||||
|
||||
@@ -21,4 +21,4 @@
|
||||
|
||||
.c-auto {
|
||||
cursor: auto;
|
||||
}
|
||||
}
|
||||
@@ -11,19 +11,23 @@
|
||||
float: right !important;
|
||||
}
|
||||
|
||||
.relative {
|
||||
.p-relative {
|
||||
position: relative !important;
|
||||
}
|
||||
|
||||
.absolute {
|
||||
.p-absolute {
|
||||
position: absolute !important;
|
||||
}
|
||||
|
||||
.fixed {
|
||||
.p-fixed {
|
||||
position: fixed !important;
|
||||
}
|
||||
|
||||
.centered {
|
||||
.p-sticky {
|
||||
position: sticky !important;
|
||||
}
|
||||
|
||||
.p-centered {
|
||||
display: block;
|
||||
float: none;
|
||||
margin-left: auto;
|
||||
|
||||
@@ -53,6 +53,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.navbar-section.desktop-menu {
|
||||
@include breakpoint(md) {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.logo {
|
||||
svg, img {
|
||||
height: 42px;
|
||||
@@ -92,4 +98,4 @@ body.header-fixed.header-animated {
|
||||
|
||||
.login-status-wrapper {
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user