Reset any BUTTON styles. After it a BUTTON will have no look (e.g. just like DIV element).
cursor
cur-alias
cursor: alias
cur-all-scroll
cursor: all-scroll
cur-auto
cursor: auto
cur-cell
cursor: cell
cur-col-resize
cursor: col-resize
cur-context-menu
cursor: context-menu
cur-copy
cursor: copy
cur-crosshair
cursor: crosshair
cur-default
cursor: default
cur-e-resize
cursor: e-resize
cur-ew-resize
cursor: ew-resize
cur-help
cursor: help
cur-inherit
cursor: inherit
cur-initial
cursor: initial
cur-move
cursor: move
cur-n-resize
cursor: n-resize
cur-ne-resize
cursor: ne-resize
cur-nesw-resize
cursor: nesw-resize
cur-no-drop
cursor: no-drop
cur-none
cursor: none
cur-not-allowed
cursor: not-allowed
cur-ns-resize
cursor: ns-resize
cur-nw-resize
cursor: nw-resize
cur-nwse-resize
cursor: nwse-resize
cur-pointer
cursor: pointer
cur-progress
cursor: progress
cur-row-resize
cursor: row-resize
cur-s-resize
cursor: s-resize
cur-se-resize
cursor: se-resize
cur-sw-resize
cursor: sw-resize
cur-text
cursor: text
cur-vertical-text
cursor: vertical-text
cur-w-resize
cursor: w-resize
cur-wait
cursor: wait
display
xd
display: none
db
display: block
di
display: inline
dib
display: inline-block
dt
display: table
dtc
display: table-cell
display-flex
flex-row
display: flex flex-direction: row
flex-irow
display: inline-flex flex-direction: row
flex-row-center
@include flex-row @include flex-center
flex-row-c
flex-row-cl
flex-row-cr
flex-row-ct
flex-row-cb
flex-row-tl
flex-row-tr
flex-row-bl
flex-row-br
flex-irow-center
@include flex-irow @include flex-center
flex-col
display: flex flex-direction: col
flex-icol
display: inline-flex flex-direction: col
flex-col-center
@include flex-col @include flex-center
flex-col-c
flex-col-cl
flex-col-cr
flex-col-ct
flex-col-cb
flex-col-tl
flex-col-tr
flex-col-bl
flex-col-br
flex-icol-center
@include flex-icol @include flex-center
flex-wrap
flex-nowrap
flex-wrap-r
flex-center
flex-align-start
align-items: flex-start
flex-align-end
align-items: flex-end
flex-align-center
align-items: center
flex-align-baseline
align-items: baseline
flex-align-stretch
align-items: stretch
flex-justify-start
justify-content: flex-start
flex-justify-end
justify-content: flex-end
flex-justify-center
justify-content: center
flex-justify-between
justify-content: space-between
flex-justify-around
justify-content: space-around
flex-grow
flex-grow: 1
flex-nogrow
flex-grow: 0
flex-shrink
flex-shrink: 1
flex-basis: auto
min-width: 0
min-height: 0
flex-fluid
@include flex-grow
@include flex-shrink
// Fix for IE10 and IE11; *flex-basis: auto* doesn't work
-ms-flex-preferred-size: 0
display-flex-hsplit
hsplit
vsplit
expand
expand
@mixin expand($width, $height)
@include db // Very often target of this class will be A element
@include rel // Almost always children will be absolutely positioned
&:before
@include db
content: ''
padding-top: to-number($height) / to-number($width) * 100%
left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left left
right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right right
center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center center
Show single line of text, cut overflow with ellipsis
ellipsis2
Show only two lines of text, cut overflow with ellipsis (line-height + max-height).
Cons:
It's no allowed to use padding-bottom on elements with ellipsis2.
Text on it won't be hidden.
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, at deserunt dicta doloremque et facere harum hic incidunt, labore molestias nam nemo nisi pariatur placeat possimus quos reiciendis sed veniam?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, at deserunt dicta doloremque et facere harum hic incidunt, labore molestias nam nemo nisi pariatur placeat possimus quos reiciendis sed veniam?
Lorem ipsum dolor sit amet, consectetur adipisicing elit. Animi, at deserunt dicta doloremque et facere harum hic incidunt, labore molestias nam nemo nisi pariatur placeat possimus quos reiciendis sed veniam?
theme
Work in progress.
This is an attempt to specify both color and background at the same time.
theme-navy
theme-navy
theme-blue
theme-blue
theme-aqua
theme-aqua
theme-teal
theme-teal
theme-olive
theme-olive
theme-green
theme-green
theme-lime
theme-lime
theme-yellow
theme-yellow
theme-orange
theme-orange
theme-red
theme-red
theme-maroon
theme-maroon
theme-fuchsia
theme-fuchsia
theme-purple
theme-purple
theme-black
theme-black
theme-gray
theme-gray
theme-silver
theme-silver
toggle
Work in progress.
This is an attempt to structure html/css for elements like checkboxes and radio buttons.
There is a BUTTON with SVG icon and text inside. This two
elements should have slightly different gray colors by default,
but they should have the same red color when button is hovered by
mouse.
One solution for this task is to use two separate elements with
when generic .if-on and .if-off classes