Skip to content

Commit

Permalink
Merge pull request #1335 from bbc/upstream/pr-over-onehundres-css-sty…
Browse files Browse the repository at this point in the history
…les-layers

fix: the scss structure reimporting multiple times
  • Loading branch information
jstarpl authored Dec 9, 2024
2 parents 90fb8e8 + 8b926ac commit 162af01
Show file tree
Hide file tree
Showing 32 changed files with 3 additions and 37 deletions.
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/_colorScheme.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import 'defaultColors';

// color variables are defined in defaultColors.scss

Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/_robotoFont.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
$FontPath: '../../fonts/roboto-gh-pages/fonts';
@import 'fonts/roboto';
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/_variables.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import 'colorScheme';

$fullscreen-controls__button--radius: 3.125rem;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '_colorScheme';

.external-message-status {
padding-bottom: 70vh;
Expand Down
3 changes: 3 additions & 0 deletions packages/webui/src/client/styles/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ input {
user-select: auto;
} */

@import 'defaultColors';
@import 'itemTypeColors';
@import 'colorScheme';
@import '_variables';
@import '_header';
@import '_colorScheme';
Expand Down
2 changes: 0 additions & 2 deletions packages/webui/src/client/styles/notifications.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '_colorScheme';
@import '_variables';

.notification-pop-ups {
position: fixed;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/rundownList.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '_colorScheme';

// Root playlist/rundown list, see RundownList.tsx
.rundown-list {
Expand Down
3 changes: 0 additions & 3 deletions packages/webui/src/client/styles/rundownView.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@import 'colorScheme';
@import 'itemTypeColors';
@import 'utils';
@import '_variables';

$output-layer-group-line: 1px solid #5c5c5c;
$output-layer-group-collapse-animation-duration: 0.3s;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/shelf/adLibPanel.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../colorScheme';
@import '../itemTypeColors';

:root {
--adlib-item-selected-color: #009dff;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../_variables';

.rundown-view-shelf.dashboard-panel {
width: auto;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/shelf/dashboard.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../colorScheme';
@import '../itemTypeColors';

$dashboard-button-width: 6.40625em;
$dashboard-button-height: 5.625em;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/shelf/inspector.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../colorScheme';
@import '../itemTypeColors';
@import '../variables';

.shelf-inspector {
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/shelf/partNamePanel.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../itemTypeColors';

.part-name-panel {
position: absolute;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/splitDropdown.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '_colorScheme';

.expco.button {
border: 1px solid rgba(99, 99, 99, 0.5);
Expand Down
2 changes: 0 additions & 2 deletions packages/webui/src/client/styles/statusbar.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '_colorScheme';
@import '_variables';

.status-bar {
position: fixed;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import '_colorScheme';
@import '_variables';

.status-bar__controls__button.support__toggle-button {
z-index: 310;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/systemStatus.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '_colorScheme';

.status-dialog {
overflow: visible !important;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/users.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '_variables';

.center-page {
align-items: center;
Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/styles/utils.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '_variables';

@mixin take-arrow {
content: ' ';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../../../styles/variables';
@import '../../../styles/itemTypeColors';

$page-margin: 1rem 1rem 0 3rem;

Expand Down
1 change: 0 additions & 1 deletion packages/webui/src/client/ui/PieceIcons/IconColors.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../styles/_itemTypeColors';

svg.piece_icon {
@include item-type-colors-svg();
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../../../styles/colorScheme';
@import '../../../styles/itemTypeColors';

.media-status-popup-item {
.media-status-popup-item__playout-indicator {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../styles/itemTypeColors';

.segment-opl__main-piece {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../styles/itemTypeColors';

.segment-opl__piece-indicator-placeholder {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../styles/itemTypeColors';

.segment-opl__piece-indicator-menu {
background: #5a5a5a;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../styles/itemTypeColors';

.segment-opl__secondary-piece {
position: absolute;
Expand Down
2 changes: 0 additions & 2 deletions packages/webui/src/client/ui/SegmentList/SegmentList.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
@import '../../styles/colorScheme';
@import '../../styles/utils';
@import '../../styles/variables';
@import '../../styles/itemTypeColors';

/** Loans from rundownView.scss, to be refactored to a shared variable file */
$segment-title-background-color: #4b4b4b;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
@import '../../styles/colorScheme';
@import '../../styles/utils';
@import '../../styles/variables';
@import '../../styles/itemTypeColors';

$part-left-padding: 6px;
$part-right-padding: 5px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../styles/itemTypeColors';

$source-layer-height: 1.2rem;
$source-layer-margin: 0.2rem;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../../../styles/variables';
@import '../../../styles/itemTypeColors';

.segment-storyboard__part__thumbnail {
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import '../../../../styles/itemTypeColors';
@import '../../../../styles/colorScheme';

$triggered-action-color: #146985;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import '../../../styles/colorScheme';
@import '../../../styles/itemTypeColors';

.media-status-item:nth-child(2n + 1) > td {
background: #f6f6f6;
Expand Down

0 comments on commit 162af01

Please sign in to comment.