app/assets/stylesheets/sass-zero/breadboard.scss in sass-zero-0.0.54 vs app/assets/stylesheets/sass-zero/breadboard.scss in sass-zero-0.0.55
- old
+ new
@@ -31,15 +31,10 @@
display: inline-block;
font-weight: $font-bold;
padding: $size-2 $size-4;
cursor: pointer;
- &:disabled {
- pointer-events: none;
- opacity: $opacity-50;
- }
-
&--primary {
background-color: var(--color-primary);
border-color: var(--color-primary);
color: var(--color-bg--main);
}
@@ -51,9 +46,19 @@
}
&--tertiary {
background-color: $transparent;
border-color: $transparent;
+ }
+
+ &:focus {
+ box-shadow: ring($color: var(--color-focus-ring));
+ @include outline-none;
+ }
+
+ &:disabled {
+ pointer-events: none;
+ opacity: $opacity-50;
}
}
.input {
resize: none;