Skip to content

Commit

Permalink
Clean main.scss from unused styles
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Jul 29, 2022
1 parent cbede89 commit 6a5b54f
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 39 deletions.
2 changes: 1 addition & 1 deletion dist/css/grapes.min.css

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion src/styles/scss/_gjs_variables.scss
Expand Up @@ -3,7 +3,6 @@
$app-prefix: 'gjs-' !default;
$nv-prefix: $app-prefix !default;
$rte-prefix: $app-prefix + 'rte-' !default;
$comp-prefix: $app-prefix + 'comp-' !default;
$mdl-prefix: $app-prefix + 'mdl-' !default;
$am-prefix: $app-prefix + 'am-' !default;
$cm-prefix: $app-prefix + 'cm-' !default;
Expand Down
37 changes: 0 additions & 37 deletions src/styles/scss/main.scss
@@ -1,5 +1,4 @@
/* stylelint-disable */
@use 'sass:math';
@import "codemirror/lib/codemirror";
@import "codemirror/theme/hopscotch";

Expand Down Expand Up @@ -262,19 +261,6 @@ $colorsAll: (one, $primaryColor),
@extend .no-select;
}

.#{$cv-prefix}canvas .#{$comp-prefix}selected{//TODO
outline: 3px solid $colorBlue !important;
}

*.#{$com-prefix}hover, div.#{$com-prefix}hover { outline: 1px solid $colorBlue; }

*.#{$com-prefix}hover-delete, div.#{$com-prefix}hover-delete{
outline: 2px solid $colorRed;
@include opacity(0.50);
}
*.#{$com-prefix}hover-move, div.#{$com-prefix}hover-move{
outline: 3px solid $colorYell;
}
.#{$com-prefix}badge, .#{$app-prefix}badge{
pointer-events: none;
background-color: $colorBlue;
Expand All @@ -285,10 +271,6 @@ $colorsAll: (one, $primaryColor),
outline: none;
display: none;
}
.#{$com-prefix}badge-red{
@extend .#{$com-prefix}badge;
background-color: $colorRed;
}
.#{$app-prefix}badge-warning{
background-color: $colorYell;
}
Expand Down Expand Up @@ -341,25 +323,6 @@ $colorsAll: (one, $primaryColor),

/*********** Components *************/

.#{$comp-prefix}image-placeholder {
display: block;
background-color: #f5f5f5;
color: $fontColorDk;
height: $imageCompDim;
width: $imageCompDim;
line-height: $imageCompDim;
outline: 3px solid $colorYell;
outline-offset: -3px;
text-align: center;
font-size: math.div($imageCompDim, 3);
cursor: pointer;

&.fa-picture-o::after{
content: "\f03e";
}
}


@import "gjs_inputs";

@import "gjs_devices";
Expand Down

0 comments on commit 6a5b54f

Please sign in to comment.