From a65e7716e29b82f71cde933d668076704b7fc586 Mon Sep 17 00:00:00 2001
From: Daniel <50356015+danny007in@users.noreply.github.com>
Date: Tue, 8 Jun 2021 11:41:47 +0530
Subject: [PATCH] improve text in scss
---
src/index2.html | 6 +++---
src/index3.html | 4 ++--
src/partials/dashboard/_topbar.html | 24 ++++++++++++------------
src/scss/_bootstrap-variables.scss | 8 +++++---
src/scss/_cards.scss | 2 +-
src/scss/_dropdown.scss | 2 +-
src/scss/_layout-fixed.scss | 2 +-
src/scss/_main-footer.scss | 4 ++--
src/scss/_text.scss | 29 -----------------------------
9 files changed, 27 insertions(+), 54 deletions(-)
diff --git a/src/index2.html b/src/index2.html
index 49ee4772d..5ea871f2a 100644
--- a/src/index2.html
+++ b/src/index2.html
@@ -696,7 +696,7 @@
United States of America
-
+
12%
@@ -704,7 +704,7 @@
India
- 4%
+ 4%
@@ -712,7 +712,7 @@
China
- 0%
+ 0%
diff --git a/src/index3.html b/src/index3.html
index 0cbaedf75..3d66b0588 100644
--- a/src/index3.html
+++ b/src/index3.html
@@ -39,7 +39,7 @@
- 820
+ 820
Visitors Over Time
@@ -186,7 +186,7 @@
- $18,230.00
+ $18,230.00
Sales Over Time
diff --git a/src/partials/dashboard/_topbar.html b/src/partials/dashboard/_topbar.html
index e31048229..995ea3eb8 100644
--- a/src/partials/dashboard/_topbar.html
+++ b/src/partials/dashboard/_topbar.html
@@ -39,10 +39,10 @@
Brad Diesel
-
+
-
Call me whenever you can...
-
4 Hours Ago
+
Call me whenever you can...
+
4 Hours Ago
@@ -57,10 +57,10 @@
John Pierce
-
+
-
I got your message bro
-
4 Hours Ago
+
I got your message bro
+
4 Hours Ago
@@ -73,10 +73,10 @@
Nora Silvester
-
+
-
The subject goes here
-
4 Hours Ago
+
The subject goes here
+
4 Hours Ago
@@ -96,17 +96,17 @@
4 new messages
- 3 mins
+ 3 mins
8 friend requests
- 12 hours
+ 12 hours
3 new reports
- 2 days
+ 2 days
diff --git a/src/scss/_bootstrap-variables.scss b/src/scss/_bootstrap-variables.scss
index 23c48b013..5ddd0752a 100644
--- a/src/scss/_bootstrap-variables.scss
+++ b/src/scss/_bootstrap-variables.scss
@@ -451,7 +451,8 @@ $h3-font-size: $font-size-base * 1.75 !default;
$h4-font-size: $font-size-base * 1.5 !default;
$h5-font-size: $font-size-base * 1.25 !default;
$h6-font-size: $font-size-base !default;
-$h7-font-size: $font-size-base * .75 !default; // adminlte-modified
+$h7-font-size: $font-size-sm !default; // adminlte-modified
+$h8-font-size: $font-size-xs !default; // adminlte-modified
// scss-docs-end font-variables
// scss-docs-start font-sizes
@@ -462,8 +463,9 @@ $font-sizes: (
4: $h4-font-size,
5: $h5-font-size,
6: $h6-font-size,
- 7: $h7-font-size
-) !default; // adminlte-modified
+ 7: $h7-font-size, // adminlte-modified
+ 8: $h8-font-size // adminlte-modified
+) !default;
// scss-docs-end font-sizes
// scss-docs-start headings-variables
diff --git a/src/scss/_cards.scss b/src/scss/_cards.scss
index 5c9971aae..d076814c4 100644
--- a/src/scss/_cards.scss
+++ b/src/scss/_cards.scss
@@ -272,7 +272,7 @@ html.maximized-card {
}
}
-.text-sm {
+.fs-7 {
.card-title {
font-size: $lte-card-title-font-size-sm;
}
diff --git a/src/scss/_dropdown.scss b/src/scss/_dropdown.scss
index b07fa7ab9..346d5b6ea 100644
--- a/src/scss/_dropdown.scss
+++ b/src/scss/_dropdown.scss
@@ -12,7 +12,7 @@
// }
//}
-.text-sm {
+.fs-7 {
.dropdown-menu {
font-size: $font-size-sm !important;
}
diff --git a/src/scss/_layout-fixed.scss b/src/scss/_layout-fixed.scss
index a03384d4b..6926eaf18 100644
--- a/src/scss/_layout-fixed.scss
+++ b/src/scss/_layout-fixed.scss
@@ -44,7 +44,7 @@
}
}
- // .layout-fixed.text-sm .wrapper .sidebar {
+ // .layout-fixed.fs-7 .wrapper .sidebar {
// // stylelint-disable-next-line
// height: calc(100vh - (#{$lte-main-header-height-sm-inner} + #{$lte-main-header-bottom-border-width}));
// }
diff --git a/src/scss/_main-footer.scss b/src/scss/_main-footer.scss
index 06c453fcc..82b7160c1 100644
--- a/src/scss/_main-footer.scss
+++ b/src/scss/_main-footer.scss
@@ -10,8 +10,8 @@
padding: $lte-main-footer-padding;
width: inherit;
- // .text-sm &,
- // &.text-sm {
+ // .fs-7 &,
+ // &.fs-7 {
// padding: $lte-main-footer-padding-sm;
// }
}
diff --git a/src/scss/_text.scss b/src/scss/_text.scss
index d16c96753..0cf2d1770 100644
--- a/src/scss/_text.scss
+++ b/src/scss/_text.scss
@@ -2,35 +2,6 @@
// Component: Text
//
-// text modification
-.text-bold {
- &,
- &.table td,
- &.table th {
- font-weight: 700;
- }
-}
-
-.text-xs {
- font-size: $font-size-xs !important;
-}
-
-.text-sm {
- font-size: $font-size-sm !important;
-}
-
-.text-md {
- font-size: $font-size-base !important;
-}
-
-.text-lg {
- font-size: $font-size-lg !important;
-}
-
-.text-xl {
- font-size: $font-size-xl !important;
-}
-
// text color variations
@each $name, $color in $colors {
.text-#{$name} {