Skip to content

Commit

Permalink
Removed duplicated styles (#2206)
Browse files Browse the repository at this point in the history
* Removed duplicated styles
  • Loading branch information
jsorohova authored Jun 8, 2023
1 parent 7977733 commit c2d53d5
Show file tree
Hide file tree
Showing 19 changed files with 16 additions and 70 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
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
4 changes: 1 addition & 3 deletions src/themes/designer/styles/dropdowns.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
@import "variables.scss";

.toolbox-dropdown {
.toolbox-dropdown {
display: inline-block;
box-sizing: border-box;
border: none;
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
3 changes: 1 addition & 2 deletions src/themes/designer/styles/mixins.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
@import "variables.scss";
@mixin hide-text() {
@mixin hide-text() {
text-indent: -9999px;
white-space: nowrap;
}
Expand Down
1 change: 0 additions & 1 deletion 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 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
6 changes: 3 additions & 3 deletions src/themes/designer/styles/styles.scss
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
@import "variables.scss";
@import "animation.scss";
@import "mixins.scss";
@import "typography.scss";
@import "layouts.scss";
@import "flex.scss";
@import "balloons.scss";
@import "buttons.scss";
@import "dropdowns.scss";
@import "icons-toolboxes.scss";
@import "icons-widgets.scss";
@import "lists.scss";
@import "mixins.scss";
@import "scaffolding.scss";
@import "toolbox.paragraph.scss";
@import "toolboxes.scss";
@import "workshops.scss";
@import "dropbucket.scss";
@import "toasts.scss";
@import "layouts.scss";
@import "animation.scss";
@import "draggables.scss";
@import "forms.scss";
@import "tabs.scss";
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

0 comments on commit c2d53d5

Please sign in to comment.