Skip to content

Commit aeaf8b0

Browse files
authored
Add an active state style to the pul primary and secondary buttons (#2194)
ref #2014
1 parent ae6324f commit aeaf8b0

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

app/assets/stylesheets/application.scss

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,35 @@ h6 {
159159
text-decoration: none;
160160
}
161161

162+
input[type="submit"]:enabled.pul-button-primary {
163+
/* Outline properties */
164+
outline-style: solid;
165+
outline-color: black;
166+
outline-width: 1px; /* Adjust outline thickness */
167+
168+
/* Space between button and outline */
169+
outline-offset: 2px; /* Adjust the offset as needed */
170+
}
171+
172+
input[type="submit"]:enabled.pul-button-secondary {
173+
/* Outline properties */
174+
outline-style: solid;
175+
outline-color: black;
176+
outline-width: 1px; /* Adjust outline thickness */
177+
178+
/* Space between button and outline */
179+
outline-offset: 2px; /* Adjust the offset as needed */
180+
}
181+
input[type="button"]:enabled.pul-button-secondary {
182+
/* Outline properties */
183+
outline-style: solid;
184+
outline-color: black;
185+
outline-width: 1px; /* Adjust outline thickness */
186+
187+
/* Space between button and outline */
188+
outline-offset: 2px; /* Adjust the offset as needed */
189+
}
190+
162191
.pul-button-primary:hover {
163192
text-decoration-color: $white !important;
164193
color: $white;

0 commit comments

Comments
 (0)