Skip to content

Commit

Permalink
Fixed styles after packages upgrade (#2697)
Browse files Browse the repository at this point in the history
* Removed unnecessary imports from styles

* Fixed admin dropdown on small screen resolutions
  • Loading branch information
jsorohova authored Oct 14, 2024
1 parent 6c3028d commit f00301d
Show file tree
Hide file tree
Showing 31 changed files with 15 additions and 100 deletions.
4 changes: 1 addition & 3 deletions src/themes/designer/styles/arrows.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@import "animation.scss";
@import "variables.scss";
@media (min-width: $breakpoint-lg) {
@media (min-width: $breakpoint-lg) {
.arrow-self {
background-image: data-uri("../svgs/arrow.svg");
background-size: auto 80%;
Expand Down
6 changes: 1 addition & 5 deletions src/themes/designer/styles/balloons.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@import "animation.scss";
@import "variables.scss";
@import "mixins.scss";

$tip-width: 10px;
$tip-width: 10px;

.balloon {
@include surface();
Expand Down
1 change: 0 additions & 1 deletion src/themes/designer/styles/blocks.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.add-block-container {
width: 100%;
max-height: 600px;
Expand Down
5 changes: 1 addition & 4 deletions src/themes/designer/styles/buttons.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@import "variables.scss";
@import "mixins.scss";

.btn {
.btn {
border: none;
background: none;
color: $color-base;
Expand Down
4 changes: 1 addition & 3 deletions src/themes/designer/styles/draggables.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@import "variables.scss";

.dragtarget {
.dragtarget {
width: 100px;
height: 100px;
border: 1px dashed #ccc;
Expand Down
7 changes: 1 addition & 6 deletions src/themes/designer/styles/dropbucket.scss
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
@import "variables.scss";
@import "toolboxes.scss";
@import "animation.scss";
@import "buttons.scss";

dropbucket {
dropbucket {
right: 20px;
bottom: 20px;
position: fixed;
Expand Down
5 changes: 1 addition & 4 deletions src/themes/designer/styles/dropzones.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@import "variables.scss";
@import "mixins.scss";

[alignment] {
[alignment] {
position: absolute;
top: initial;
left: initial;
Expand Down
6 changes: 1 addition & 5 deletions src/themes/designer/styles/forms.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@import "variables.scss";
@import "mixins.scss";
@import "icons-toolboxes.scss";

.form {
.form {
margin: 0;
padding: 0;
border: none;
Expand Down
3 changes: 0 additions & 3 deletions src/themes/designer/styles/layouts.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@use "sass:math";
@import "mixins.scss";
@import "variables.scss";


paperbits-code,
paperbits-googlemaps,
Expand Down
2 changes: 0 additions & 2 deletions src/themes/designer/styles/lightbox.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

// Vars ---------------------------------------------------------------- //
$basicLightbox__background: rgba(0, 0, 0, .8) !default;
$basicLightbox__zIndex: 100000 !default;
Expand Down
6 changes: 1 addition & 5 deletions src/themes/designer/styles/lists.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@import "variables.scss";
@import "mixins.scss";
@import "icons-toolboxes.scss";

.list-item-group {
.list-item-group {
width: 100%;

.list-item {
Expand Down
4 changes: 1 addition & 3 deletions src/themes/designer/styles/mixins.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@import "variables.scss";

@mixin hide-text() {
@mixin hide-text() {
text-indent: -9999px;
white-space: nowrap;
}
Expand Down
3 changes: 1 addition & 2 deletions src/themes/designer/styles/scaffolding.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
@import "mixins.scss";
html,
body {
width: 100%;
Expand All @@ -10,7 +9,7 @@ body {

* {
@include box-sizing(border-box);
position: relative;
// position: relative; // Leaving this commented out to show that this should not be added as it breaks some pop-ups
}

*:before,
Expand Down
2 changes: 0 additions & 2 deletions src/themes/designer/styles/slider.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

.slider-display {
width: 100%;
height: 25px;
Expand Down
1 change: 0 additions & 1 deletion src/themes/designer/styles/tabs.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

.tabs {
border-bottom: 1px solid $form-control-border;
margin-bottom: 12px;
Expand Down
6 changes: 1 addition & 5 deletions src/themes/designer/styles/toasts.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@import "variables.scss";
@import "mixins.scss";
@import "animation.scss";

.toasts {
.toasts {
position: fixed;
right: 40px;
bottom: 50px;
Expand Down
6 changes: 1 addition & 5 deletions src/themes/designer/styles/toolbox.paragraph.scss
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
@import "variables.scss";
@import "buttons.scss";


.tools-paragraph-style {
.tools-paragraph-style {
@include tabable();
display: block;
padding: 5px 10px;
Expand Down
8 changes: 1 addition & 7 deletions src/themes/designer/styles/toolboxes.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
@import "variables.scss";
@import "mixins.scss";
@import "icons-toolboxes.scss";
@import "animation.scss";
@import "layouts.scss";

h1,
h1,
h2 {
font-family: $font-family-base;
color: $color-base;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/designer/styles/utils.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

.text-center {
text-align: center;
}
Expand Down
8 changes: 1 addition & 7 deletions src/themes/designer/styles/workshops.scss
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
@import "variables.scss";
@import "icons-toolboxes.scss";
@import "mixins.scss";
@import "animation.scss";
@import "flex.scss";

.workshop {
.workshop {
.workshop-journey-step {
min-width: 300px;
padding: 0 20px;
Expand Down
5 changes: 1 addition & 4 deletions src/themes/website/styles/balloons.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
@import "variables.scss";
@import "mixins.scss";

$tip-width: 10px;
$tip-width: 10px;

.balloon {
position: fixed;
Expand Down
3 changes: 0 additions & 3 deletions src/themes/website/styles/docs.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
@import "variables.scss";
@import "icons.scss";

.snap {
&.snap-top {
position: sticky;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/forms.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

form {
padding: 10px;
flex-grow: 1;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/gql.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

.table-ws-gql {
display: grid;
max-width: 100%;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/icons.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "mixins.scss";

@font-face {
font-family: "Icons Embedded";
src: url("/styles/fonts/icons.eot?a6lw2r");
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/lists.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

.list {
.list-item {
padding: .5em;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/mixins.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

@mixin fit($spacing: 0) {
top: $spacing;
left: $spacing;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/panels.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

.panel {
padding: 30px;

Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/resizables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

.resize-handle {
background: transparent;
position: absolute;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/tables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

$table-border-width: 1px;
$table-border-color: #dee2e6;
$spacer: 10px;
Expand Down
2 changes: 0 additions & 2 deletions src/themes/website/styles/text.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import "variables.scss";

h1,
h2,
h3,
Expand Down

0 comments on commit f00301d

Please sign in to comment.