feat: 优化用户设置界面样式#72
Merged
Merged
Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This pull request includes updates to the styling and functionality of various UI components in
scripts/moodle/js/content.jsandscripts/setting/jsx/Setting.js. The most notable changes involve adjustments to button styles, form input fields, and layout elements to improve visual consistency and user experience.Functional Updates:
jumpToExamBase()incontent.js: Added aflyvariable to toggle between true and false based on theExamBaseFlydata, improving clarity and state management.Styling Updates:
Buttons:
SetUserForm: Updated styles for the save button, including changes to padding, border radius, and font size. The button now has a white background with a blue border and text for a cleaner look.Input Fields:
SetUserForm: Redesigned the input field with softer borders, increased height, and a light background to enhance readability and aesthetics.Layout Elements:
H3toH2, adjusted font size, weight, and alignment, and added left margin for better hierarchy and layout consistency.