mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 16:51:38 +02: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 buttonStyle;
|
||||||
@include flexCenter;
|
@include flexCenter;
|
||||||
@include focusPrimary;
|
@include focusPrimary;
|
||||||
|
@include tabTitleTipography;
|
||||||
background-color: var(--button-primary-background-color-rest);
|
background-color: var(--button-primary-background-color-rest);
|
||||||
border: $s-1 solid var(--button-primary-border-color-rest);
|
border: $s-1 solid var(--button-primary-border-color-rest);
|
||||||
color: var(--button-primary-foreground-color-rest);
|
color: var(--button-primary-foreground-color-rest);
|
||||||
border-radius: $br-8;
|
border-radius: $br-8;
|
||||||
|
min-height: $s-32;
|
||||||
svg,
|
svg,
|
||||||
span svg {
|
span svg {
|
||||||
stroke: var(--button-primary-foreground-color-rest);
|
stroke: var(--button-primary-foreground-color-rest);
|
||||||
|
@ -54,6 +56,7 @@
|
||||||
span svg {
|
span svg {
|
||||||
stroke: var(--button-primary-foreground-color-hover);
|
stroke: var(--button-primary-foreground-color-hover);
|
||||||
}
|
}
|
||||||
|
text-decoration: none;
|
||||||
}
|
}
|
||||||
&:active {
|
&:active {
|
||||||
background-color: var(--button-primary-background-color-active);
|
background-color: var(--button-primary-background-color-active);
|
||||||
|
|
|
@ -80,6 +80,7 @@
|
||||||
|
|
||||||
[:> fm/submit-button*
|
[:> fm/submit-button*
|
||||||
{:label (if @loading (tr "labels.sending") (tr "labels.send"))
|
{:label (if @loading (tr "labels.sending") (tr "labels.send"))
|
||||||
|
:class (stl/css :feedback-button-link)
|
||||||
:disabled @loading}]
|
:disabled @loading}]
|
||||||
|
|
||||||
[:hr]
|
[:hr]
|
||||||
|
@ -88,7 +89,7 @@
|
||||||
[:p {:class (stl/css :field-text)} (tr "feedback.discourse-subtitle1")]
|
[:p {:class (stl/css :field-text)} (tr "feedback.discourse-subtitle1")]
|
||||||
|
|
||||||
[:a
|
[:a
|
||||||
{:class (stl/css :btn-secondary :btn-large)
|
{:class (stl/css :feedback-button-link)
|
||||||
:href "https://community.penpot.app"
|
:href "https://community.penpot.app"
|
||||||
:target "_blank"}
|
:target "_blank"}
|
||||||
(tr "feedback.discourse-go-to")]
|
(tr "feedback.discourse-go-to")]
|
||||||
|
@ -98,7 +99,7 @@
|
||||||
[:p {:class (stl/css :field-text)} (tr "feedback.twitter-subtitle1")]
|
[:p {:class (stl/css :field-text)} (tr "feedback.twitter-subtitle1")]
|
||||||
|
|
||||||
[:a
|
[:a
|
||||||
{:class (stl/css :btn-secondary :btn-large)
|
{:class (stl/css :feedback-button-link)
|
||||||
:href "https://twitter.com/penpotapp"
|
:href "https://twitter.com/penpotapp"
|
||||||
:target "_blank"}
|
:target "_blank"}
|
||||||
(tr "feedback.twitter-go-to")]]))
|
(tr "feedback.twitter-go-to")]]))
|
||||||
|
|
|
@ -23,3 +23,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.feedback-button-link {
|
||||||
|
@extend .button-primary;
|
||||||
|
}
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
a {
|
a:not(.button-primary) {
|
||||||
color: $df-secondary;
|
color: $df-secondary;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -211,7 +211,7 @@
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a:not(.button-primary) {
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue