1
1
mirror of https://github.com/primer/css.git synced 2024-11-30 01:04:04 +03:00
This commit is contained in:
simurai 2019-10-24 16:51:35 +09:00
parent 1875246c47
commit d9d40d921f
2 changed files with 2 additions and 8 deletions

View File

@ -141,7 +141,6 @@
background-image: none; background-image: none;
border: 0; border: 0;
// stylelint-disable-next-line primer/no-override
&:hover, &:hover,
&:active, &:active,
&:focus, &:focus,
@ -151,7 +150,6 @@
color: $text-blue; color: $text-blue;
background: none; background: none;
outline: none; outline: none;
// stylelint-disable-next-line primer/variables
box-shadow: none; box-shadow: none;
} }
} }
@ -161,26 +159,22 @@
// Icon-only buttons // Icon-only buttons
.btn-octicon { .btn-octicon {
display: inline-block; display: inline-block;
// stylelint-disable-next-line primer/variables
padding: 5px; padding: 5px;
// stylelint-disable-next-line primer/variables
margin-left: 5px; margin-left: 5px;
line-height: $lh-condensed-ultra; line-height: $lh-condensed-ultra;
color: $text-gray; color: $text-gray;
vertical-align: middle; vertical-align: middle;
// For `<button>` elements // For `<button>` elements
background: transparent; background: transparent;
border: 0; border: 0;
&:hover { color: $text-blue; } &:hover { color: $text-blue; }
// stylelint-disable-next-line primer/no-override
&.disabled { &.disabled {
// stylelint-disable-next-line primer/variables
color: $gray-400; color: $gray-400;
cursor: default; cursor: default;
// stylelint-disable-next-line primer/variables
&:hover { color: $gray-400; } &:hover { color: $gray-400; }
} }
} }

View File

@ -1,4 +1,4 @@
// stylelint-disable selector-max-type, block-opening-brace-space-before, no-duplicate-selectors // stylelint-disable selector-max-type, no-duplicate-selectors
// Close button // Close button
// //