-
Notifications
You must be signed in to change notification settings - Fork 3
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
SHS-6000: Stanford login font link changes #1705
Merged
pookmish
merged 3 commits into
11.6.3-release
from
shs-6000-fix-stanford-login-font-link
Jan 13, 2025
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
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
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
34 changes: 33 additions & 1 deletion
34
docroot/themes/humsci/su_humsci_gin_admin/dist/su_humsci_gin_admin.portal.css
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 +1,33 @@ | ||
.content-header{background:transparent;text-align:center}.content-header,.layout-container{max-width:600px;margin:0 auto}.user-login-form h1{display:none}.simplesamlphp-auth-login-link{display:inline-block;font-size:32px;padding:30px 0;position:relative;color:#b1040e}.simplesamlphp-auth-login-link::after{content:'\f054';font-family:'Font Awesome 5 Free';font-weight:900;font-style:normal;font-variant:normal;text-rendering:auto;line-height:1;color:#9e9e9e;position:absolute;top:calc(50% - 10px);font-size:20px;right:-20px} | ||
.content-header { | ||
background: transparent; | ||
text-align: center; | ||
} | ||
.content-header, | ||
.layout-container { | ||
max-width: 600px; | ||
margin: 0 auto; | ||
} | ||
.user-login-form h1 { | ||
display: none; | ||
} | ||
.samlauth-login { | ||
display: inline-block; | ||
font-size: 32px; | ||
padding: 30px 0; | ||
position: relative; | ||
color: #b1040e; | ||
} | ||
.samlauth-login::after { | ||
content: "\f054"; | ||
font-family: "Font Awesome 5 Free"; | ||
font-weight: 900; | ||
font-style: normal; | ||
font-variant: normal; | ||
text-rendering: auto; | ||
line-height: 1; | ||
color: #9e9e9e; | ||
position: absolute; | ||
top: calc(50% - 10px); | ||
font-size: 20px; | ||
right: -20px; | ||
} |
Oops, something went wrong.
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.
Shouldn't the compiled css minified?
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.
@pookmish This was Andres' recommendation as using un-minified CSS to debug styling issues locally much easier without needing to manage multiple CSS compiling profiles based on the environment.
![Screenshot 2025-01-13 at 3 10 37 PM](https://private-user-images.githubusercontent.com/369018/402706590-a6d0c556-b16b-48dd-83f1-1dbc1c0a4603.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzg5OTA4MTcsIm5iZiI6MTczODk5MDUxNywicGF0aCI6Ii8zNjkwMTgvNDAyNzA2NTkwLWE2ZDBjNTU2LWIxNmItNDhkZC04M2YxLTFkYmMxYzBhNDYwMy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOFQwNDU1MTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT03Njg1ODQyZjg4MGZiNDY1YzU0YTgzNmY0YTY0MjVmNmJjYTc5NjhhNWIxYWRlYWZiZTQ0OGVhZmUyOTk3YjA0JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.VOacJ7TWJTHS_oBFWfn492xJFKZ0SOnNtJ1xukiUbeQ)
Also, because production and stage config are already being managed via config_split they enable CSS aggregation
$config['system.performance']['css']['preprocess'] = TRUE;
which minifies the CSS for us. So no need to minify things before they are sent to Drupal to be minified (again) and aggregated into a single file.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.
Ok, I didn't see the comment and I noticed the diff in the changes. Just making sure that it's intentional. 👍