Skip to content

Commit

Permalink
Merge branch 'feature-css-nesting' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ganzorig committed Jun 2, 2017
2 parents 799ca2c + fb4d464 commit 5766158
Show file tree
Hide file tree
Showing 23 changed files with 422 additions and 398 deletions.
6 changes: 4 additions & 2 deletions imports/react-ui/assets/scss/components/_attachment.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$file-box-shadow-color: rgba(0, 0, 0, .06);

.file-wrapper {
position: relative;
padding: 16px 20px;
Expand Down Expand Up @@ -28,7 +30,7 @@
}

&:hover {
box-shadow: 0 1px 1px rgba(0, 0, 0, .06);
box-shadow: 0 1px 1px $file-box-shadow-color;
}
}

Expand All @@ -50,7 +52,7 @@
width: 100%;
height: 100%;
position: absolute;
background: rgba(0, 0, 0, .5);
background: $black-transparent;
border-radius: $border-radius;
left: 0;
top: 0;
Expand Down
14 changes: 8 additions & 6 deletions imports/react-ui/assets/scss/components/_auth-layout.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$aut-core-color: #6b60a6;

.auth-layout {
background: url("/images/sign-in.jpg") no-repeat;
background-size: cover;
Expand All @@ -6,7 +8,7 @@
position: relative;

&::before {
content: '';
content: "";
background-color: rgba($main-color, .7);
position: absolute;
width: 100%;
Expand Down Expand Up @@ -58,11 +60,11 @@
box-shadow: 0 0 15px rgba($black, .5);

::-webkit-input-placeholder {
color: #6b60a6;
color: $aut-core-color;
}

h2 {
color: #6b60a6;
color: $aut-core-color;
font-size: 30px;
font-weight: 400;
margin: 0 0 50px;
Expand All @@ -72,14 +74,14 @@
border: 0;
border-bottom: 1px solid lighten($main-color, 40%);
padding: 0 0 6px;
color: #6b60a6;
color: $aut-core-color;
border-radius: 0;
font-size: 16px;
}

button {
@include transition(background .2s ease);
background-color: #6b60a6;
background-color: $aut-core-color;
color: $white;
text-transform: uppercase;
font-weight: 600;
Expand All @@ -93,7 +95,7 @@
&:active.focus,
&:active:focus,
&:focus {
background-color: lighten(#6b60a6, 10%);
background-color: lighten($aut-core-color, 10%);
color: $white;
}
}
Expand Down
8 changes: 3 additions & 5 deletions imports/react-ui/assets/scss/components/_editor.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
//colors
$color-mention-active: darken($message-background, 10%);
$mention-shadow: 0 0 10px -3px $black-transparent;
$editor-text-color: #999;

.RichEditor-root {
Expand Down Expand Up @@ -86,11 +89,6 @@ $editor-text-color: #999;
color: $main-color;
}

//colors
$color-mention-active: darken($message-background, 10%);
$mention-shadow: 0 0 10px -3px rgba(0, 0, 0, 0.5);


@mixin mention-default {
cursor: pointer;
display: inline-block;
Expand Down
6 changes: 5 additions & 1 deletion imports/react-ui/assets/scss/components/_form-builder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@
font-size: 13px;
}

.form-control, .check-control {
.form-control {
margin-top: 8px;
}

.check-control {
margin-top: 8px;
}
}
Expand Down

0 comments on commit 5766158

Please sign in to comment.