From 1451820057db92fdb1a0f462c8f921fb50085822 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 1 Jun 2020 15:07:35 +0300 Subject: [PATCH] Remove glyphicon leftovers. (#2753) --- build/scss/_buttons.scss | 1 - build/scss/_cards.scss | 1 - build/scss/_carousel.scss | 1 - build/scss/_forms.scss | 5 ----- build/scss/_main-header.scss | 1 - build/scss/_main-sidebar.scss | 1 - build/scss/_miscellaneous.scss | 2 -- build/scss/_small-box.scss | 2 -- build/scss/_timeline.scss | 1 - build/scss/plugins/_fullcalendar.scss | 1 - pages/mailbox/mailbox.html | 8 +------- 11 files changed, 1 insertion(+), 23 deletions(-) diff --git a/build/scss/_buttons.scss b/build/scss/_buttons.scss index cfd680701..2e94cc1a1 100644 --- a/build/scss/_buttons.scss +++ b/build/scss/_buttons.scss @@ -74,7 +74,6 @@ > .fas, > .far, > .fab, - > .glyphicon, > .ion { display: block; font-size: 20px; diff --git a/build/scss/_cards.scss b/build/scss/_cards.scss index 3d26ffba6..20fd59dea 100644 --- a/build/scss/_cards.scss +++ b/build/scss/_cards.scss @@ -412,7 +412,6 @@ html.maximized-card { > .fas, > .far, > .fab, - > .glyphicon, > .ion { cursor: pointer; margin-right: 5px; diff --git a/build/scss/_carousel.scss b/build/scss/_carousel.scss index 7e5010a8d..912796fed 100644 --- a/build/scss/_carousel.scss +++ b/build/scss/_carousel.scss @@ -12,7 +12,6 @@ > .fas, > .far, > .fab, - > .glyphicon, > .ion { display: inline-block; font-size: 40px; diff --git a/build/scss/_forms.scss b/build/scss/_forms.scss index 726158633..4aac1715a 100644 --- a/build/scss/_forms.scss +++ b/build/scss/_forms.scss @@ -40,7 +40,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { line-height: $input-height; } @@ -52,7 +51,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { line-height: $input-height-lg; } @@ -64,7 +62,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { line-height: $input-height-lg; } @@ -77,7 +74,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { line-height: $input-height-sm; } @@ -89,7 +85,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { line-height: $input-height-sm; } diff --git a/build/scss/_main-header.scss b/build/scss/_main-header.scss index 484c756e0..df0e146f3 100644 --- a/build/scss/_main-header.scss +++ b/build/scss/_main-header.scss @@ -21,7 +21,6 @@ > .fas, > .far, > .fab, - > .glyphicon, > .ion { font-size: $font-size-sm; } diff --git a/build/scss/_main-sidebar.scss b/build/scss/_main-sidebar.scss index 7594d1739..c80a573b7 100644 --- a/build/scss/_main-sidebar.scss +++ b/build/scss/_main-sidebar.scss @@ -121,7 +121,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { font-size: 1.1rem; } diff --git a/build/scss/_miscellaneous.scss b/build/scss/_miscellaneous.scss index 9d65c2b85..a0ac7f357 100644 --- a/build/scss/_miscellaneous.scss +++ b/build/scss/_miscellaneous.scss @@ -268,7 +268,6 @@ > .fas, > .far, > .fab, - > .glyphicon, > .ion { color: $gray-800; } @@ -280,7 +279,6 @@ > .fas, > .far, > .fab, - > .glyphicon, > .ion { color: $gray-400; } diff --git a/build/scss/_small-box.scss b/build/scss/_small-box.scss index 1dd8eee69..88041664f 100644 --- a/build/scss/_small-box.scss +++ b/build/scss/_small-box.scss @@ -107,7 +107,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { font-size: 70px; top: 20px; @@ -127,7 +126,6 @@ &.fas, &.far, &.fab, - &.glyphicon, &.ion { transform: scale(1.1); } diff --git a/build/scss/_timeline.scss b/build/scss/_timeline.scss index 9e009bb0c..7539b86ac 100644 --- a/build/scss/_timeline.scss +++ b/build/scss/_timeline.scss @@ -88,7 +88,6 @@ > .fas, > .far, > .fab, - > .glyphicon, > .ion { background: $gray-500; border-radius: 50%; diff --git a/build/scss/plugins/_fullcalendar.scss b/build/scss/plugins/_fullcalendar.scss index 7fdfb980b..f03acf3f9 100644 --- a/build/scss/plugins/_fullcalendar.scss +++ b/build/scss/plugins/_fullcalendar.scss @@ -101,7 +101,6 @@ .fas, .far, .fab, - .glyphicon, .ion { transition: transform linear .3s; diff --git a/pages/mailbox/mailbox.html b/pages/mailbox/mailbox.html index 0ef17a292..8eeb5c924 100644 --- a/pages/mailbox/mailbox.html +++ b/pages/mailbox/mailbox.html @@ -1129,20 +1129,14 @@ $(this).data('clicks', !clicks) }) - //Handle starring for glyphicon and font awesome + //Handle starring for font awesome $('.mailbox-star').click(function (e) { e.preventDefault() //detect type var $this = $(this).find('a > i') - var glyph = $this.hasClass('glyphicon') var fa = $this.hasClass('fa') //Switch states - if (glyph) { - $this.toggleClass('glyphicon-star') - $this.toggleClass('glyphicon-star-empty') - } - if (fa) { $this.toggleClass('fa-star') $this.toggleClass('fa-star-o')