Skip to content
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

Add problem detail page style && Fix navBar and problem main page style #15

Merged
merged 1 commit into from
Sep 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions packages/ui-default/components/menu/menu.page.styl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
position: relative

&.highlight
background: mix($highlight-color, #FFF, 10%)
// background: mix($highlight-color, #FFF, 10%)

&.expandable:after
font-family: $icon-font-name
Expand All @@ -50,10 +50,11 @@ a.menu__link, button.menu__link
opacity: 0.5
&:hover
text-decoration: none
// border: none
&:not(.disabled):hover
color: $text-1-color
background: $menu-item-bg-color-hover
border-color: darken($primary-color, 10%)
// background: $menu-item-bg-color-hover
// border-color: darken($primary-color, 10%)
&.active, &.active:hover
border-color: darken($secondary-color, 30%)
background: $secondary-color
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
display: block
line-height: rem($nav-item-height - 6)
padding: rem(0 20px 3px 20px)
margin-right: rem(10px)
margin-right: rem(4px)
border-top: 3px solid transparent
color: #000
transition: border-color .2s, background .2s, color .2s
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-default/components/problem/tag.page.styl
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
display: flex
flex-wrap: wrap
border-radius: 16px
background: #8BA5FF
// background: #8BA5FF

.problem__tag
display: inline-block
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-default/misc/section.styl
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
padding: rem($section-gap-h)

.section__title
color: $section-title-color
// color: $section-title-color

.section__header .section__title
line-height: $form-control-height
Expand Down
Loading
Loading