-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
styles and copy for custom policies #733
styles and copy for custom policies #733
Conversation
Codecov Report
@@ Coverage Diff @@
## master #733 +/- ##
=========================================
Coverage ? 92.87%
=========================================
Files ? 2390
Lines ? 77814
Branches ? 0
=========================================
Hits ? 72273
Misses ? 5541
Partials ? 0
Continue to review full report at Codecov.
|
@@ -8,6 +8,7 @@ $goColor: #4a90e2; | |||
$doColor: #54b45d; | |||
$dontColor: #ca4a4b; | |||
$subtleColor: #ddd; | |||
$error-color: #c00; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't this vars be moved to _colors.scss ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as below
&::after { | ||
color: $subtleColor; //$label-color; | ||
content: 'Preview'; | ||
font-size: 10rem; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't we use line-height-times()
for font size, margins, paddings, etc ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, but those variables are not available here. We'd have to include them… Hello React.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah.. oops you're right
Why is |
db82ff1
to
4647648
Compare
* Matching the new template * Also the new structure * Fix the className prop
* Relying on Rails validation.
* Styling + button element
4647648
to
728879e
Compare
content: 'Preview'; | ||
font-size: 10rem; | ||
left: 4.5rem; | ||
opacity: .5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We disallow floating decimals in our JS, I think it should do the same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think here is an exception, since the opacity property can take a value from 0.0 - 1.0.
closes https://issues.jboss.org/browse/THREESCALE-2053
todo:
a
to fix styling (@didierofrivia )