Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions src/_Form.styl
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@

// Form
// ––––––––––––––––––––––––––––––––––––––––––––––––––

_url(path)
s( "url('" + path + "')")

input[type='color'],
input[type='date'],
input[type='datetime'],
Expand Down Expand Up @@ -33,11 +35,11 @@ select
outline: 0

select
background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="' + color-quaternary + '" d="M0,0l6,8l6-8"/></svg>') center right no-repeat
background: _url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="' + color-quaternary + '" d="M0,0l6,8l6-8"/></svg>') center right no-repeat
padding-right: 3.0rem

&:focus
background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="' + color-primary + '" d="M0,0l6,8l6-8"/></svg>')
background-image: _url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 8" width="30"><path fill="' + color-primary + '" d="M0,0l6,8l6-8"/></svg>')

&[multiple]
background: none
Expand Down