0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-13 16:21:57 -05:00

Merge pull request #3988 from penpot/ladybenko-fix-your-account-ui

🐛 Fix "Your Account/Give Feedback" UI
This commit is contained in:
Eva Marco 2024-01-10 10:20:22 +01:00 committed by GitHub
commit 4a991ef3f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 10 deletions

View file

@ -38,10 +38,12 @@
@include buttonStyle;
@include flexCenter;
@include focusPrimary;
@include tabTitleTipography;
background-color: var(--button-primary-background-color-rest);
border: $s-1 solid var(--button-primary-border-color-rest);
color: var(--button-primary-foreground-color-rest);
border-radius: $br-8;
min-height: $s-32;
svg,
span svg {
stroke: var(--button-primary-foreground-color-rest);
@ -54,6 +56,7 @@
span svg {
stroke: var(--button-primary-foreground-color-hover);
}
text-decoration: none;
}
&:active {
background-color: var(--button-primary-background-color-active);

View file

@ -80,6 +80,7 @@
[:> fm/submit-button*
{:label (if @loading (tr "labels.sending") (tr "labels.send"))
:class (stl/css :feedback-button-link)
:disabled @loading}]
[:hr]
@ -88,7 +89,7 @@
[:p {:class (stl/css :field-text)} (tr "feedback.discourse-subtitle1")]
[:a
{:class (stl/css :btn-secondary :btn-large)
{:class (stl/css :feedback-button-link)
:href "https://community.penpot.app"
:target "_blank"}
(tr "feedback.discourse-go-to")]
@ -98,7 +99,7 @@
[:p {:class (stl/css :field-text)} (tr "feedback.twitter-subtitle1")]
[:a
{:class (stl/css :btn-secondary :btn-large)
{:class (stl/css :feedback-button-link)
:href "https://twitter.com/penpotapp"
:target "_blank"}
(tr "feedback.twitter-go-to")]]))

View file

@ -23,3 +23,7 @@
}
}
}
.feedback-button-link {
@extend .button-primary;
}

View file

@ -11,7 +11,7 @@
width: 100%;
justify-content: center;
align-items: center;
a {
a:not(.button-primary) {
color: $df-secondary;
}
}
@ -211,7 +211,7 @@
text-transform: uppercase;
}
a {
a:not(.button-primary) {
&:hover {
text-decoration: underline;
}

View file

@ -49,6 +49,7 @@
display: flex;
flex-shrink: 0;
padding: $s-8 $s-8 $s-8 $s-24;
color: $df-secondary;
a {
font-weight: $fw400;
@ -59,14 +60,13 @@
}
svg {
fill: $db-secondary;
fill: currentColor;
margin-right: $s-8;
height: $s-12;
width: $s-12;
}
span {
color: $df-secondary;
font-size: $fs-14;
overflow: hidden;
text-overflow: ellipsis;
@ -119,12 +119,11 @@
&.current {
background-color: $db-cuaternary;
color: $da-primary;
a {
font-weight: $fw400;
color: $da-primary;
}
span {
color: $da-primary;
color: currentColor;
}
&::before {