mirror of
https://github.com/milligram/milligram.git
synced 2024-11-13 16:54:22 +00:00
update src to correct lint issue
This commit is contained in:
parent
36cf700762
commit
926e8c7ba9
@ -3,7 +3,7 @@
|
|||||||
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
// ––––––––––––––––––––––––––––––––––––––––––––––––––
|
||||||
|
|
||||||
blockquote
|
blockquote
|
||||||
border-left: 0.3rem solid $color-quaternary
|
border-left: .3rem solid $color-quaternary
|
||||||
margin-left: 0
|
margin-left: 0
|
||||||
margin-right: 0
|
margin-right: 0
|
||||||
padding: 1rem 1.5rem
|
padding: 1rem 1.5rem
|
||||||
|
@ -33,8 +33,8 @@ input[type='submit']
|
|||||||
|
|
||||||
&.button-disabled,
|
&.button-disabled,
|
||||||
&[disabled]
|
&[disabled]
|
||||||
opacity: .5
|
|
||||||
cursor: default
|
cursor: default
|
||||||
|
opacity: .5
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus
|
&:focus
|
||||||
@ -42,33 +42,33 @@ input[type='submit']
|
|||||||
border-color: $color-primary
|
border-color: $color-primary
|
||||||
|
|
||||||
&.button-outline
|
&.button-outline
|
||||||
color: $color-primary
|
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
|
color: $color-primary
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus
|
&:focus
|
||||||
color: $color-secondary
|
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
border-color: $color-secondary
|
border-color: $color-secondary
|
||||||
|
color: $color-secondary
|
||||||
|
|
||||||
&.button-disabled,
|
&.button-disabled,
|
||||||
&[disabled]
|
&[disabled]
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus
|
&:focus
|
||||||
color: $color-primary
|
|
||||||
border-color: inherit
|
border-color: inherit
|
||||||
|
color: $color-primary
|
||||||
|
|
||||||
&.button-clear
|
&.button-clear
|
||||||
color: $color-primary
|
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
border-color: transparent
|
border-color: transparent
|
||||||
|
color: $color-primary
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus
|
&:focus
|
||||||
color: $color-secondary
|
|
||||||
background-color: transparent
|
background-color: transparent
|
||||||
border-color: transparent
|
border-color: transparent
|
||||||
|
color: $color-secondary
|
||||||
|
|
||||||
&.button-disabled,
|
&.button-disabled,
|
||||||
&[disabled]
|
&[disabled]
|
||||||
|
@ -6,8 +6,8 @@ code
|
|||||||
background: $color-tertiary
|
background: $color-tertiary
|
||||||
border-radius: .4rem
|
border-radius: .4rem
|
||||||
font-size: 86%
|
font-size: 86%
|
||||||
padding: .2rem .5rem
|
|
||||||
margin: 0 .2rem
|
margin: 0 .2rem
|
||||||
|
padding: .2rem .5rem
|
||||||
white-space: nowrap
|
white-space: nowrap
|
||||||
|
|
||||||
pre
|
pre
|
||||||
|
@ -25,22 +25,22 @@ select
|
|||||||
outline: 0
|
outline: 0
|
||||||
|
|
||||||
select
|
select
|
||||||
padding: 0.6rem 3rem 0.6rem 1rem
|
|
||||||
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyOSAxNCIgd2lkdGg9IjI5Ij48cGF0aCBmaWxsPSIjZDFkMWQxIiBkPSJNOS40IDMuNmw1IDcgNS4yLTciLz48L3N2Zz4=) center right no-repeat
|
background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyOSAxNCIgd2lkdGg9IjI5Ij48cGF0aCBmaWxsPSIjZDFkMWQxIiBkPSJNOS40IDMuNmw1IDcgNS4yLTciLz48L3N2Zz4=) center right no-repeat
|
||||||
|
padding: .6rem 3rem .6rem 1rem
|
||||||
|
|
||||||
&:focus
|
&:focus
|
||||||
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyOSAxNCIgd2lkdGg9IjI5Ij48cGF0aCBmaWxsPSIjOWI0ZGNmIiBkPSJNMTkuNiAzLjZIOS40bDUgNyIvPjwvc3ZnPg==)
|
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAyOSAxNCIgd2lkdGg9IjI5Ij48cGF0aCBmaWxsPSIjOWI0ZGNmIiBkPSJNMTkuNiAzLjZIOS40bDUgNyIvPjwvc3ZnPg==)
|
||||||
|
|
||||||
textarea
|
textarea
|
||||||
|
min-height: 6.5rem
|
||||||
padding-bottom: .6rem
|
padding-bottom: .6rem
|
||||||
padding-top: .6rem
|
padding-top: .6rem
|
||||||
min-height: 6.5rem
|
|
||||||
|
|
||||||
label,
|
label,
|
||||||
legend
|
legend
|
||||||
|
display: block
|
||||||
font-size: 1.6rem
|
font-size: 1.6rem
|
||||||
font-weight: 700
|
font-weight: 700
|
||||||
display: block
|
|
||||||
margin-bottom: .5rem
|
margin-bottom: .5rem
|
||||||
|
|
||||||
fieldset
|
fieldset
|
||||||
@ -52,6 +52,6 @@ input[type='radio']
|
|||||||
display: inline
|
display: inline
|
||||||
|
|
||||||
.label-inline
|
.label-inline
|
||||||
font-weight: normal
|
|
||||||
display: inline-block
|
display: inline-block
|
||||||
|
font-weight: normal
|
||||||
margin-left: .5rem
|
margin-left: .5rem
|
||||||
|
@ -21,21 +21,15 @@
|
|||||||
padding: 0
|
padding: 0
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
|
// Larger than mobile screen
|
||||||
|
@media (min-width: 40.0rem)
|
||||||
|
flex-direction: row
|
||||||
|
margin-left: -1.0rem
|
||||||
|
width: calc(100% + 2.0rem)
|
||||||
|
|
||||||
&.row-wrap
|
&.row-wrap
|
||||||
flex-wrap: wrap
|
flex-wrap: wrap
|
||||||
|
|
||||||
&.row-no-padding
|
|
||||||
padding: 0
|
|
||||||
|
|
||||||
&> .column
|
|
||||||
padding: 0
|
|
||||||
|
|
||||||
// & + .row
|
|
||||||
// margin-top: -.5rem
|
|
||||||
// padding-top: 0
|
|
||||||
|
|
||||||
// Vertically Align Columns
|
|
||||||
// .row-* vertically aligns every .col in the .row
|
|
||||||
&.row-top
|
&.row-top
|
||||||
align-items: flex-start
|
align-items: flex-start
|
||||||
|
|
||||||
@ -51,6 +45,12 @@
|
|||||||
&.row-baseline
|
&.row-baseline
|
||||||
align-items: baseline
|
align-items: baseline
|
||||||
|
|
||||||
|
&.row-no-padding
|
||||||
|
padding: 0
|
||||||
|
|
||||||
|
&> .column
|
||||||
|
padding: 0
|
||||||
|
|
||||||
.column
|
.column
|
||||||
display: block
|
display: block
|
||||||
flex: 1
|
flex: 1
|
||||||
@ -58,6 +58,10 @@
|
|||||||
max-width: 100%
|
max-width: 100%
|
||||||
width: 100%
|
width: 100%
|
||||||
|
|
||||||
|
@media (min-width: 40.0rem)
|
||||||
|
margin-bottom: inherit
|
||||||
|
padding: 0 1.0rem
|
||||||
|
|
||||||
// .column-* vertically aligns an individual .column
|
// .column-* vertically aligns an individual .column
|
||||||
.col-top
|
.col-top
|
||||||
align-self: flex-start
|
align-self: flex-start
|
||||||
@ -131,7 +135,8 @@
|
|||||||
flex: 0 0 60%
|
flex: 0 0 60%
|
||||||
max-width: 60%
|
max-width: 60%
|
||||||
|
|
||||||
&.column-66, &.column-67
|
&.column-66,
|
||||||
|
&.column-67
|
||||||
flex: 0 0 66.6666%
|
flex: 0 0 66.6666%
|
||||||
max-width: 66.6666%
|
max-width: 66.6666%
|
||||||
|
|
||||||
@ -146,15 +151,3 @@
|
|||||||
&.column-90
|
&.column-90
|
||||||
flex: 0 0 90%
|
flex: 0 0 90%
|
||||||
max-width: 90%
|
max-width: 90%
|
||||||
|
|
||||||
// Larger than mobile screen
|
|
||||||
@media (min-width: 40.0rem)
|
|
||||||
|
|
||||||
.row
|
|
||||||
flex-direction: row
|
|
||||||
margin-left: -1.0rem
|
|
||||||
width: calc(100% + 2.0rem)
|
|
||||||
|
|
||||||
.column
|
|
||||||
margin-bottom: inherit
|
|
||||||
padding: 0 1.0rem
|
|
||||||
|
Loading…
Reference in New Issue
Block a user