Skip to content

Commit

Permalink
Stylistic update
Browse files Browse the repository at this point in the history
  • Loading branch information
artf committed Sep 20, 2017
1 parent 2da2d59 commit 3faeec6
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 35 deletions.
2 changes: 1 addition & 1 deletion dist/css/grapes.min.css

Large diffs are not rendered by default.

40 changes: 36 additions & 4 deletions src/styles/scss/_gjs_inputs.scss
Expand Up @@ -16,12 +16,44 @@
height: 3px;
}

.#{$app-prefix}label {
line-height: 18px;
.#{$app-prefix} {
&label {
line-height: 18px;
}

&fields {
display: flex;
}

&select {
padding: 0;
width: 100%;

select {
padding-right: 10px;
}
}

&select:-moz-focusring,
&select select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 $mainLhlColor;
}

&input:focus,
&button:focus,
&btn-prim:focus,
&select:focus,
&select select:focus {
outline: none;
}
}

.#{$app-prefix}fields {
display: flex;
.#{$app-prefix}select option,
.#{$clm-prefix}select option,
.#{$sm-prefix}select option,
.#{$sm-prefix}unit option {
@extend .#{$app-prefix}bg-main;
}

.#{$app-prefix}field {
Expand Down
30 changes: 0 additions & 30 deletions src/styles/scss/main.scss
Expand Up @@ -206,36 +206,6 @@
pointer-events: none;
}

div.#{$app-prefix}select {
padding: 0;
}

.#{$app-prefix}select select {
padding-right: 10px;
}

.#{$app-prefix}select:-moz-focusring,
.#{$app-prefix}select select:-moz-focusring {
color: transparent;
text-shadow: 0 0 0 $mainLhlColor;
}

.#{$app-prefix}input:focus,
.#{$app-prefix}button:focus,
.#{$app-prefix}btn-prim:focus,
.#{$app-prefix}select:focus,
.#{$app-prefix}select select:focus {
outline: none;
}

.#{$app-prefix}select option,
.#{$clm-prefix}select option,
.#{$sm-prefix}select option,
.#{$sm-prefix}unit option {
@extend .#{$app-prefix}bg-main;
//background-color: $mainDkColor;
}

/************* TRAITS ****************/
.#{$app-prefix}traits-label {
border-bottom: 1px solid $mainDkColor;
Expand Down

0 comments on commit 3faeec6

Please sign in to comment.