-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Make our form/button styles match bootstrap's #1809
Merged
jhawthorn
merged 13 commits into
solidusio:master
from
jhawthorn:match-bootstrap-form-inputs
Mar 31, 2017
Merged
Changes from all commits
Commits
Show all changes
13 commits
Select commit
Hold shift + click to select a range
92a4df2
Remove hardcodes of background colour
jhawthorn 9b76032
Deprecate input colours in favour of bootstrap
jhawthorn 6781281
Use bootstrap variables for styling form inputs
jhawthorn bcc8d61
Remove duplicate input-group declaration
jhawthorn 2fe8d4a
Set placeholder styles
jhawthorn faeb451
Use bootstrap vars to style form inputs
jhawthorn 6a60ea2
Don't reduce form input font size
jhawthorn b267b25
Remove unused .grand-total CSS
jhawthorn baefbeb
Remove custom anchor styles
jhawthorn 1f8b9ba
Use bootstrap styling for buttons
jhawthorn 2388e53
Remove unused labels-inline css
jhawthorn ce7f2db
Remove unnecessary box-shadow vendor prefixes
jhawthorn 8776150
Fix buttons in filter-actions
jhawthorn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -289,16 +289,16 @@ $input-padding-y: .375rem !default; | |
$input-bg: #fff !default; | ||
$input-bg-disabled: $gray-lighter !default; | ||
|
||
$input-color: $gray !default; | ||
$input-border-color: #ccc !default; | ||
$input-color: $color-txt-text !default; | ||
$input-border-color: $color-txt-brd !default; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dito |
||
$input-btn-border-width: $border-width !default; // For form controls and buttons | ||
$input-box-shadow: inset 0 1px 1px rgba(0,0,0,.075) !default; | ||
|
||
$input-border-radius: $border-radius !default; | ||
$input-border-radius-lg: $border-radius-lg !default; | ||
$input-border-radius-sm: $border-radius-sm !default; | ||
|
||
$input-border-focus: #66afe9 !default; | ||
$input-border-focus: $color-txt-hover-brd !default; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. dito |
||
$input-box-shadow-focus: rgba(102,175,233,.6) !default; | ||
|
||
$input-color-placeholder: #999 !default; | ||
|
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
2 changes: 1 addition & 1 deletion
2
backend/app/assets/stylesheets/spree/backend/globals/mixins/_line_through.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
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 |
---|---|---|
|
@@ -56,7 +56,6 @@ body { | |
} | ||
|
||
#content { | ||
background-color: $color-1; | ||
position: relative; | ||
z-index: 0; | ||
padding: 0; | ||
|
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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 deprecated the
$color-txt-text
variable. Can we use$color-3
instead?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've deprecated it, which means if a user sets
$color-txt-text
, they should see a warning, but it should continue working. This line (and the few below) are necessary for it to continue workingThere 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.
Your are right. Ignore me