Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/picturepan2/spectre.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYan Zhu <picturepan2@hotmail.com>2017-08-29 13:07:53 +0300
committerYan Zhu <picturepan2@hotmail.com>2017-08-29 13:07:53 +0300
commite78b3c34348f26d40a813612c5a3786f1c56607a (patch)
treef857491026c5f728fe95fe1564ec30c931a1b30a /src/bars.less
parent66c492fd05c2d720c81e2be8d6845560b868e7ff (diff)
Initial SASS build
Diffstat (limited to 'src/bars.less')
-rw-r--r--src/bars.less71
1 files changed, 0 insertions, 71 deletions
diff --git a/src/bars.less b/src/bars.less
deleted file mode 100644
index 4c3824a..0000000
--- a/src/bars.less
+++ /dev/null
@@ -1,71 +0,0 @@
-// Bars
-.bar {
- background: @bg-color-dark;
- border-radius: @border-radius;
- display: flex;
- flex-wrap: nowrap;
- height: @unit-4;
- width: 100%;
-
- &.bar-sm {
- height: @unit-1;
- }
-
- // TODO: attr() support
- .bar-item {
- background: @primary-color;
- color: @light-color;
- display: block;
- font-size: @font-size-sm;
- flex-shrink: 0;
- line-height: @unit-4;
- height: 100%;
- position: relative;
- text-align: center;
- width: 0;
-
- &:first-child {
- border-bottom-left-radius: @border-radius;
- border-top-left-radius: @border-radius;
- }
- &:last-child {
- border-bottom-right-radius: @border-radius;
- border-top-right-radius: @border-radius;
- flex-shrink: 1;
- }
- }
-}
-
-// Slider bar
-.bar-slider {
- height: @border-width-lg;
- margin: @layout-spacing 0;
- position: relative;
-
- .bar-item {
- left: 0;
- padding: 0;
- position: absolute;
- &:not(:last-child):first-child {
- background: @bg-color-dark;
- z-index: @zindex-0;
- }
- }
-
- .bar-slider-btn {
- background: @primary-color;
- border: 0;
- border-radius: 50%;
- height: @unit-3;
- padding: 0;
- position: absolute;
- right: 0;
- top: 50%;
- transform: translate(50%, -50%);
- width: @unit-3;
-
- &:active {
- box-shadow: 0 0 0 .1rem @primary-color;
- }
- }
-}