diff --git a/services/web/frontend/js/features/source-editor/components/editor-switch.tsx b/services/web/frontend/js/features/source-editor/components/editor-switch.tsx index ec0fb23f37..8bb95d53df 100644 --- a/services/web/frontend/js/features/source-editor/components/editor-switch.tsx +++ b/services/web/frontend/js/features/source-editor/components/editor-switch.tsx @@ -32,7 +32,7 @@ function Badge() { href="https://forms.gle/GmSs6odZRKRp3VX98" target="_blank" rel="noopener noreferrer" - className="badge info-badge" + className="info-badge" > {content} diff --git a/services/web/frontend/stylesheets/_style_includes.less b/services/web/frontend/stylesheets/_style_includes.less index 695c696717..cd9bbbd3b5 100644 --- a/services/web/frontend/stylesheets/_style_includes.less +++ b/services/web/frontend/stylesheets/_style_includes.less @@ -41,7 +41,6 @@ @import 'components/notifications.less'; @import 'components/pager.less'; @import 'components/labels.less'; -//@import "components/badges.less"; //@import "components/jumbotron.less"; @import 'components/thumbnails.less'; @import 'components/alerts.less'; diff --git a/services/web/frontend/stylesheets/components/badges.less b/services/web/frontend/stylesheets/components/badges.less deleted file mode 100755 index 83f474db4d..0000000000 --- a/services/web/frontend/stylesheets/components/badges.less +++ /dev/null @@ -1,54 +0,0 @@ -// -// Badges -// -------------------------------------------------- - -// Base classes -.badge { - display: inline-block; - min-width: 10px; - padding: 3px 7px; - font-size: @font-size-small; - font-weight: @badge-font-weight; - color: @badge-color; - line-height: @badge-line-height; - vertical-align: baseline; - white-space: nowrap; - text-align: center; - background-color: @badge-bg; - border-radius: @badge-border-radius; - - // Empty badges collapse automatically (not available in IE8) - &:empty { - display: none; - } - - // Quick fix for badges in buttons - .btn & { - position: relative; - top: -1px; - } - .btn-xs & { - top: 0; - padding: 1px 5px; - } -} - -// Hover state, but only for links -a.badge { - &:hover, - &:focus { - color: @badge-link-hover-color; - text-decoration: none; - cursor: pointer; - } -} - -// Account for counters in navs -a.list-group-item.active > .badge, -.nav-pills > .active > a > .badge { - color: @badge-active-color; - background-color: @badge-active-bg; -} -.nav-pills > li > a > .badge { - margin-left: 3px; -} diff --git a/services/web/frontend/stylesheets/core/variables.less b/services/web/frontend/stylesheets/core/variables.less index 81477a4a44..ef5edf68df 100644 --- a/services/web/frontend/stylesheets/core/variables.less +++ b/services/web/frontend/stylesheets/core/variables.less @@ -783,24 +783,6 @@ @well-bg: #f5f5f5; @well-border: darken(@well-bg, 7%); -//== Badges -// -//## - -@badge-color: #fff; -//** Linked badge text color on hover -@badge-link-hover-color: #fff; -@badge-bg: @gray-light; - -//** Badge text color in active nav link -@badge-active-color: @link-color; -//** Badge background color in active nav link -@badge-active-bg: #fff; - -@badge-font-weight: bold; -@badge-line-height: 1; -@badge-border-radius: 10px; - //== Breadcrumbs // //##