mirror of
https://github.com/primer/css.git
synced 2024-12-01 12:42:32 +03:00
Updating 8px spacer values to use the sass variable -2
This commit is contained in:
parent
6de1e89dd6
commit
bf036d5ace
@ -18,7 +18,7 @@ label {
|
||||
.form-control,
|
||||
.form-select {
|
||||
min-height: 34px;
|
||||
padding: 6px 8px;
|
||||
padding: 6px $spacer-2;
|
||||
font-size: $body-font-size;
|
||||
line-height: 20px;
|
||||
color: $text-gray-dark;
|
||||
@ -194,7 +194,7 @@ input::-webkit-inner-spin-button {
|
||||
}
|
||||
|
||||
.form-warning {
|
||||
padding: 8px 10px;
|
||||
padding: $spacer-2 10px;
|
||||
margin: 10px 0;
|
||||
font-size: 14px;
|
||||
color: $yellow-900;
|
||||
|
@ -133,7 +133,7 @@
|
||||
z-index: 10;
|
||||
display: block; // Show up in errored/warn state
|
||||
max-width: 450px; // Keep our long errors readable
|
||||
padding: 5px 8px;
|
||||
padding: 5px $spacer-2;
|
||||
margin: $spacer-1 0 0;
|
||||
font-size: 13px;
|
||||
font-weight: normal;
|
||||
|
@ -7,7 +7,7 @@
|
||||
height: 34px;
|
||||
// IE9 hacks to reduce padding
|
||||
padding-right: 24px;
|
||||
padding-right: 8px \9;
|
||||
padding-right: $spacer-2 \9;
|
||||
background: $bg-white url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAMAAACzvE1FAAAADFBMVEUzMzMzMzMzMzMzMzMKAG/3AAAAA3RSTlMAf4C/aSLHAAAAPElEQVR42q3NMQ4AIAgEQTn//2cLdRKppSGzBYwzVXvznNWs8C58CiussPJj8h6NwgorrKRdTvuV9v16Afn0AYFOB7aYAAAAAElFTkSuQmCC") no-repeat right 8px center;
|
||||
// IE9 hacks to hide the background-image
|
||||
background-image: none \9;
|
||||
|
@ -11,7 +11,7 @@
|
||||
}
|
||||
|
||||
.blob-num {
|
||||
padding: 10px 8px 9px;
|
||||
padding: 10px $spacer-2 9px;
|
||||
text-align: right;
|
||||
background: $bg-white;
|
||||
border: 0;
|
||||
|
@ -24,7 +24,7 @@
|
||||
.filter-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 8px 10px;
|
||||
padding: $spacer-2 10px;
|
||||
margin-bottom: 5px;
|
||||
overflow: hidden;
|
||||
font-size: 14px;
|
||||
|
@ -13,7 +13,7 @@
|
||||
.menu-item {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding: 8px 10px;
|
||||
padding: $spacer-2 10px;
|
||||
border-bottom: 1px solid $gray-200;
|
||||
|
||||
&:first-child {
|
||||
@ -85,7 +85,7 @@
|
||||
|
||||
.menu-heading {
|
||||
display: block;
|
||||
padding: 8px 10px;
|
||||
padding: $spacer-2 10px;
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
font-size: 13px;
|
||||
|
@ -72,7 +72,7 @@
|
||||
.subnav-search-icon {
|
||||
position: absolute;
|
||||
top: 9px;
|
||||
left: 8px;
|
||||
left: $spacer-2;
|
||||
display: block;
|
||||
color: darken($gray-300, 4%);
|
||||
text-align: center;
|
||||
|
@ -16,7 +16,7 @@
|
||||
|
||||
.tabnav-tab {
|
||||
display: inline-block;
|
||||
padding: 8px 12px;
|
||||
padding: $spacer-2 12px;
|
||||
font-size: 14px;
|
||||
line-height: 20px;
|
||||
color: $gray-600;
|
||||
|
@ -7,7 +7,7 @@
|
||||
position: absolute;
|
||||
z-index: 1000000;
|
||||
display: none;
|
||||
padding: 5px 8px;
|
||||
padding: 5px $spacer-2;
|
||||
font: normal normal 11px/1.5 $body-font;
|
||||
-webkit-font-smoothing: subpixel-antialiased;
|
||||
color: $tooltip-text-color;
|
||||
|
Loading…
Reference in New Issue
Block a user