-
Notifications
You must be signed in to change notification settings - Fork 245
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
Change import
to use
in sass files
#3316
base: main
Are you sure you want to change the base?
Changes from all commits
c0fea51
635558e
54671d2
af433ea
b975d56
86308c8
b4f332f
2a04f23
257a1a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
// Major library config | ||
@import './styles/bootstrap'; | ||
@import './styles/vendor/jquery-ui'; | ||
@use './styles/bootstrap'; | ||
@use './styles/vendor/jquery-ui'; | ||
|
||
// Custom styling | ||
@import './styles/globals'; | ||
@import './styles/call_list'; | ||
@import './styles/devise'; | ||
@import './styles/users'; | ||
@import './styles/budget_bar'; | ||
@import './styles/clinic_finder'; | ||
@import './styles/calls'; | ||
@import './styles/pagination'; | ||
@import './styles/events'; | ||
@import './styles/patient_menu'; | ||
@import './styles/patient_edit'; | ||
@import './styles/tables'; | ||
@import './styles/footer'; | ||
@import './styles/modals'; | ||
@import './styles/navbar'; | ||
@import './styles/tooltips'; | ||
@import './styles/lines'; | ||
@import './styles/flash'; | ||
@import './styles/forms'; | ||
@import './styles/buttons'; | ||
@use './styles/globals'; | ||
@use './styles/call_list'; | ||
@use './styles/devise'; | ||
@use './styles/users'; | ||
@use './styles/budget_bar'; | ||
@use './styles/clinic_finder'; | ||
@use './styles/calls'; | ||
@use './styles/pagination'; | ||
@use './styles/events'; | ||
@use './styles/patient_menu'; | ||
@use './styles/patient_edit'; | ||
@use './styles/tables'; | ||
@use './styles/footer'; | ||
@use './styles/modals'; | ||
@use './styles/navbar'; | ||
@use './styles/tooltips'; | ||
@use './styles/lines'; | ||
@use './styles/flash'; | ||
@use './styles/forms'; | ||
@use './styles/buttons'; |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Styling related to the budget bar utility. | ||
|
||
@import './_variables'; | ||
@use './_variables'; | ||
|
||
$budget-bar-font-size: 14px; | ||
|
||
.expenditure-block { | ||
border-right: 1px solid $black; | ||
color: $black !important; | ||
border-right: 1px solid variables.$black; | ||
color: variables.$black !important; | ||
font-size: $budget-bar-font-size; | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,27 @@ | ||
// Styling related to log-a-call modals. | ||
|
||
@import './_variables'; | ||
@use './_variables'; | ||
|
||
// Core new call modal | ||
.calls-layout { | ||
padding: 1rem .5rem 1rem 2rem; | ||
|
||
.calls-request { | ||
font-size: $font-size-large; | ||
font-size: variables.$font-size-large; | ||
} | ||
|
||
.calls-phone { | ||
font-size: $font-size-xlarge; | ||
font-size: variables.$font-size-xlarge; | ||
font-weight: 900; | ||
} | ||
|
||
.calls-response { | ||
font-size: $font-size; | ||
font-size: variables.$font-size; | ||
text-decoration: underline; | ||
} | ||
|
||
.calls-btn { | ||
font-size: $font-size; | ||
font-size: variables.$font-size; | ||
padding: 10px 40px; | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,13 @@ | ||
// Styles pertaining to the login form or other devise-related views. | ||
|
||
@import './_variables'; | ||
@use 'bootstrap/scss/bootstrap'; | ||
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. There are a few cases where we're importing bootstrap in a place we weren't before, and it's generally because we're extending some bootstrap class (here, |
||
@use './_variables'; | ||
|
||
.authform { | ||
@extend .card-header; | ||
@extend .mx-auto; | ||
padding-top: 20px; | ||
border: 1px solid $light-gray; | ||
border: 1px solid variables.$light-gray; | ||
border-radius: 6px; | ||
margin: 0 auto; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
// Global styling patterns. | ||
|
||
@import "./_variables"; | ||
@import "./vendor/googleapis_source_sans_pro"; | ||
@use 'bootstrap/scss/bootstrap'; | ||
@use "vendor/googleapis_source_sans_pro"; | ||
@use "./_variables"; | ||
|
||
@charset "utf-8"; | ||
|
||
html { | ||
font-size: $font-size; | ||
font-size: variables.$font-size; | ||
} | ||
|
||
body { | ||
font-family: "Source Sans Pro", sans-serif; | ||
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. This is being applied wrong with |
||
font-size: $font-size; | ||
font-size: variables.$font-size; | ||
} | ||
|
||
main { | ||
|
@@ -65,20 +65,20 @@ label { | |
|
||
// Links | ||
a { | ||
color: $link-blue; | ||
color: variables.$link-blue; | ||
text-decoration: none; | ||
} | ||
|
||
a:hover, | ||
a:active, | ||
a:visited, | ||
a:focus { | ||
color: $dark-blue; | ||
color: variables.$dark-blue; | ||
text-decoration: underline; | ||
} | ||
|
||
.border-bottom { | ||
border-bottom: 1px solid $black; | ||
border-bottom: 1px solid variables.$black; | ||
padding-bottom: 10px; | ||
} | ||
|
||
|
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.
meaningful change (it winds up a darker shade of gray), but I think it's more one of those 'how was this ever working' kinda things