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
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/labels.less1
-rw-r--r--src/mixins.less28
-rw-r--r--src/progress.less6
-rw-r--r--src/typography.less4
-rw-r--r--src/variables.less29
5 files changed, 30 insertions, 38 deletions
diff --git a/src/labels.less b/src/labels.less
index 3894670..42d966c 100644
--- a/src/labels.less
+++ b/src/labels.less
@@ -3,7 +3,6 @@
background: @core-border-color;
color: lighten(@body-font-color, 20%);
.label-base();
- white-space: nowrap;
&.label-primary {
.label-variant(@core-color);
diff --git a/src/mixins.less b/src/mixins.less
new file mode 100644
index 0000000..b848bc7
--- /dev/null
+++ b/src/mixins.less
@@ -0,0 +1,28 @@
+// Core mixins
+.clearfix() {
+ &::after {
+ clear: both;
+ content: "";
+ display: table;
+ }
+}
+.control-shadow() {
+ box-shadow: 0 0 0 .2rem fade(@core-color, 15%);
+}
+.control-transition() {
+ transition: all .15s ease;
+}
+.toast-variant(@color) {
+ background: fade(@color, 90%);
+ border-color: @color;
+}
+.label-base() {
+ border-radius: .2rem;
+ font-size: 95%;
+ padding: .1em .3em;
+ vertical-align: baseline;
+}
+.label-variant(@color) {
+ background: @color;
+ color: @core-light-color;
+}
diff --git a/src/progress.less b/src/progress.less
index c42f8b1..26be70b 100644
--- a/src/progress.less
+++ b/src/progress.less
@@ -21,10 +21,4 @@
background: @core-color;
border-radius: @border-radius;
}
-
- &.progress-lg {
- &::after {
- content: attr(value) '%';
- }
- }
}
diff --git a/src/typography.less b/src/typography.less
index e8d0911..18cdacd 100644
--- a/src/typography.less
+++ b/src/typography.less
@@ -7,9 +7,9 @@ h5,
h6 {
color: inherit;
font-weight: 300;
- line-height: 1.1;
+ line-height: 1.2;
margin-bottom: 1.5rem;
- margin-top: 1rem;
+ margin-top: 0;
}
h1 {
font-size: 5rem;
diff --git a/src/variables.less b/src/variables.less
index a42c673..bf58b73 100644
--- a/src/variables.less
+++ b/src/variables.less
@@ -38,32 +38,3 @@
@size-md: 840px;
@size-lg: 960px;
@size-xl: 1280px;
-
-// Mixins
-.clearfix() {
- &::after {
- clear: both;
- content: "";
- display: table;
- }
-}
-.control-shadow() {
- box-shadow: 0 0 0 .2rem fade(@core-color, 15%);
-}
-.control-transition() {
- transition: all .15s ease;
-}
-.toast-variant(@color) {
- background: fade(@color, 90%);
- border-color: @color;
-}
-.label-base() {
- border-radius: .2rem;
- font-size: 95%;
- padding: .1em .3em;
- vertical-align: baseline;
-}
-.label-variant(@color) {
- background: @color;
- color: @core-light-color;
-}