Commit e14e70fc authored by Benjamin Kott's avatar Benjamin Kott Committed by Oliver Bartsch
Browse files

[TASK] Drop unused scss variables

The following variables are not used or do not differ from their equivalents in bootstrap 5.x:

$font-size-h1
$font-size-h2
$font-size-h3
$font-size-h4
$border-radius-base
$border-radius-large
$border-radius-small

Resolves: #97808
Releases: main
Change-Id: Id783dfe9bc40b7ec1dd88835931409a7dfca9cb8
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/74979


Tested-by: core-ci's avatarcore-ci <typo3@b13.com>
Tested-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Tested-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: Andreas Fernandez's avatarAndreas Fernandez <a.fernandez@scripting-base.de>
Reviewed-by: Oliver Bartsch's avatarOliver Bartsch <bo@cedev.de>
parent 3c5c7e93
Pipeline #28428 passed with stages
in 17 minutes and 8 seconds
......@@ -127,17 +127,6 @@ $grid-float-breakpoint: $screen-sm-min !default;
$input-height-base: ($line-height-computed + ($padding-base-vertical * 2) + 2) !default;
$popover-title-bg: darken($popover-bg, 3%) !default;
// Typography
$font-size-h1: $h1-font-size;
$font-size-h2: $h2-font-size;
$font-size-h3: $h3-font-size;
$font-size-h4: $h4-font-size;
// Components
$border-radius-base: $border-radius;
$border-radius-large: $border-radius-lg;
$border-radius-small: $border-radius-sm;
.hidden,
.hide {
display: none !important;
......
......@@ -14,7 +14,7 @@ $minicolors-swatch-border-radius: 1px;
$minicolors-swatch-border: $input-border;
$minicolors-panel-bg: #fff;
$minicolors-panel-border: $input-border;
$minicolors-panel-border-radius: $border-radius-base;
$minicolors-panel-border-radius: $border-radius;
//
// Component
......
......@@ -468,7 +468,7 @@ span.flatpickr-weekday {
.flatpickr-day {
background: none;
border: 1px solid transparent;
border-radius: $border-radius-base;
border-radius: $border-radius;
box-sizing: border-box;
color: $dropdown-link-color;
cursor: pointer;
......@@ -537,13 +537,13 @@ span.flatpickr-weekday {
.flatpickr-day.selected.startRange,
.flatpickr-day.startRange.startRange,
.flatpickr-day.endRange.startRange {
border-radius: $border-radius-base 0 0 $border-radius-base;
border-radius: $border-radius 0 0 $border-radius;
}
.flatpickr-day.selected.endRange,
.flatpickr-day.startRange.endRange,
.flatpickr-day.endRange.endRange {
border-radius: 0 $border-radius-base $border-radius-base 0;
border-radius: 0 $border-radius $border-radius 0;
}
.flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n+1)),
......@@ -555,7 +555,7 @@ span.flatpickr-weekday {
.flatpickr-day.selected.startRange.endRange,
.flatpickr-day.startRange.startRange.endRange,
.flatpickr-day.endRange.startRange.endRange {
border-radius: $border-radius-base;
border-radius: $border-radius;
}
.flatpickr-day.inRange {
......
......@@ -12,7 +12,7 @@
font-size: 0;
.collapse + .btn.collapsed:last-child {
border-radius: $border-radius-base;
border-radius: $border-radius;
}
.btn-default.disabled {
......
......@@ -6,7 +6,7 @@
// Slider Variables
//
$slider-selection-bg: #999;
$slider-border-radius: $border-radius-base;
$slider-border-radius: $border-radius;
$slider-handle-color: $btn-default-color;
$slider-handle-bg: $btn-default-bg;
$slider-handle-border: darken($btn-default-border, 15%);
......
......@@ -2,7 +2,7 @@
// Tab menu
//
.nav-tabs {
border-radius: $border-radius-base $border-radius-base 0 0;
border-radius: $border-radius $border-radius 0 0;
background-color: darken($nav-tabs-active-link-bg, 5%);
> li {
......
......@@ -3,7 +3,7 @@
//
// Menu icons
$app-icon-border-radius: $border-radius-small;
$app-icon-border-radius: $border-radius-sm;
$app-icon-height: 32px;
$app-icon-width: 32px;
$app-icon-font-size: 21px;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment