-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[IN-219][Reviews] Ember-Component-CSS -> Ember-CSS-Modules (#140)
* [IN-219][Feature] Ember-Component-CSS -> Ember-CSS-Modules * Fix final style bits * Fix tests
- Loading branch information
1 parent
d037473
commit 992c6d0
Showing
111 changed files
with
3,313 additions
and
2,232 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
extends: | ||
- stylelint-config-css-modules | ||
- stylelint-config-sass-guidelines | ||
rules: | ||
indentation: 4 | ||
max-nesting-depth: 2 | ||
order/properties-alphabetical-order: null | ||
scss/selector-no-redundant-nesting-selector: null | ||
selector-class-pattern: null | ||
property-no-unknown: | ||
- true | ||
- ignoreProperties: | ||
- composes | ||
- compose-with |
6 changes: 3 additions & 3 deletions
6
...nts/action-feed-entry-skeleton/style.scss → ...ts/action-feed-entry-skeleton/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
.action-body--skeleton { | ||
margin-left: 30px; | ||
margin-left: 30px; | ||
} | ||
|
||
.action-heading--skeleton { | ||
width: 200px; | ||
width: 200px; | ||
} | ||
|
||
.icon--skeleton { | ||
float: left; | ||
float: left; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
68 changes: 38 additions & 30 deletions
68
app/components/action-feed-entry/style.scss → app/components/action-feed-entry/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,49 +1,57 @@ | ||
& { | ||
clear: both; | ||
.action-feed-entry { | ||
clear: both; | ||
|
||
:hover { | ||
background: $color-bg-gray-light; | ||
cursor: pointer; | ||
} | ||
:hover { | ||
background: $color-bg-gray-light; | ||
cursor: pointer; | ||
} | ||
|
||
.submit-icon { | ||
color: $color-action-submit; | ||
} | ||
.accept-icon { | ||
color: $color-action-accept; | ||
} | ||
.reject-icon { | ||
color: $color-action-reject; | ||
} | ||
.edit-comment-icon { | ||
color: $color-action-edit-comment; | ||
} | ||
} | ||
|
||
.icon { | ||
float: left; | ||
font-size: 20px; | ||
} | ||
// Used in Unit tests | ||
.action-body { } /* stylelint-disable-line block-no-empty */ | ||
|
||
.action-date { | ||
.action-date { | ||
color: $color-text-gray-light; | ||
font-size: 16px; | ||
margin-left: 30px; | ||
} | ||
} | ||
|
||
.action-heading { | ||
.action-heading { | ||
color: $color-text-gray-dark; | ||
font-size: 18px; | ||
font-weight: bold; | ||
margin-left: 30px; | ||
line-height: 23px; | ||
} | ||
} | ||
|
||
.action-detail { | ||
.action-detail { | ||
margin-left: 30px; | ||
|
||
a { | ||
color: $color-text-gray; | ||
font-size: 16px; | ||
color: $color-text-gray; | ||
font-size: 16px; | ||
} | ||
} | ||
} | ||
|
||
.submit-icon { | ||
color: $color-action-submit; | ||
} | ||
|
||
.accept-icon { | ||
color: $color-action-accept; | ||
} | ||
|
||
.reject-icon { | ||
color: $color-action-reject; | ||
} | ||
|
||
.edit-comment-icon { | ||
color: $color-action-edit-comment; | ||
} | ||
|
||
|
||
.icon { | ||
float: left; | ||
font-size: 20px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.action-feed { | ||
padding: 40px 0; | ||
|
||
.see-more { | ||
height: 20px; | ||
padding-left: 45px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
.contact-bar { | ||
background: $color-bg-gray-cool; | ||
padding-top: 90px; | ||
padding-bottom: 50px; | ||
color: $color-text-gray-dark; | ||
|
||
h2 { | ||
font-size: 24px; | ||
font-weight: bold; | ||
} | ||
|
||
p { | ||
font-size: 21px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
.contributor-list { | ||
display: inline; | ||
list-style: none; | ||
padding-left: 0; | ||
|
||
li { | ||
display: inline; | ||
} | ||
|
||
li::after { | ||
content: ', '; | ||
} | ||
|
||
li:last-child::after { | ||
content: ''; | ||
} | ||
|
||
a { | ||
color: $color-text-cyan; | ||
} | ||
|
||
.ember-content-placeholders-text { | ||
&__line { | ||
background: $ember-content-placeholders-primary-color; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import Component from '@ember/component'; | ||
|
||
export default Component.extend({ | ||
classNames: ['dashboard-sidebar'], | ||
localClassNames: ['dashboard-sidebar'], | ||
}); |
14 changes: 7 additions & 7 deletions
14
app/components/dashboard-sidebar/style.scss → app/components/dashboard-sidebar/styles.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
& { | ||
padding-top: 50px; | ||
.dashboard-sidebar { | ||
padding-top: 50px; | ||
} | ||
|
||
.sidebar-header { | ||
.sidebar-header { | ||
font-size: 24px; | ||
color: $color-text-gray-dark; | ||
background: $color-bg-gray-light; | ||
border: 1px solid $color-border-gray-light; | ||
padding: 11px 27px; | ||
} | ||
} | ||
|
||
.sidebar-body { | ||
background: white; | ||
.sidebar-body { | ||
background: #fff; | ||
border: 1px solid $color-border-gray-light; | ||
padding: 5px 20px; | ||
font-size: 20px; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,8 @@ const TITLES = { | |
|
||
|
||
export default Component.extend({ | ||
classNames: ['reviews-error-page', 'content'], | ||
classNames: ['content'], | ||
localClassNames: 'reviews-error-page', | ||
supportEmail: '[email protected]', | ||
|
||
errorMessage: computed('error', function() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.reviews-error-page { | ||
padding: 70px 0; | ||
background-color: $color-bg-blue-light; | ||
border-bottom: 1px solid $color-border-gray-cool; | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.file-renderer--skeleton { | ||
height: 700px; | ||
width: 99%; | ||
} | ||
|
||
:global(.ember-content-placeholders-img) { | ||
height: 100%; | ||
} |
Oops, something went wrong.