mirror of
https://github.com/penpot/penpot.git
synced 2025-01-25 07:58:49 -05:00
🐛 Fix buttons appearance in the feedback form
This commit is contained in:
parent
5c2bdfcefe
commit
fa99d9aaed
4 changed files with 12 additions and 4 deletions
|
@ -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);
|
||||
|
|
|
@ -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")]]))
|
||||
|
|
|
@ -23,3 +23,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.feedback-button-link {
|
||||
@extend .button-primary;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue