Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Porkepix
memopol
Commits
e14688e4
Commit
e14688e4
authored
Oct 12, 2016
by
Nicolas Joyard
Browse files
Customize select2 input styles
parent
8e971b10
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/memopol/static/css/custom.css
View file @
e14688e4
...
...
@@ -59,7 +59,7 @@ a.tag:hover {
}
body
,
.panel-title
{
font-family
:
FiraSansRegula
t
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
font-family
:
FiraSansRegula
r
,
"Helvetica Neue"
,
Helvetica
,
Arial
,
sans-serif
;
}
h2
,
h3
,
h4
,
h5
,
h6
{
...
...
@@ -167,6 +167,36 @@ select:focus, select.form-control:focus {
background-image
:
url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAMAAACelLz8AAAAJ1BMVEVmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmZmaP/QSjAAAADHRSTlMAAgMJC0uWpKa6wMxMdjkoAAAANUlEQVR4AeXJyQEAERAAsNl7Hf3X6xt0QL6JpZWq30pdvdadme+0PMdzvHm8YThHcT1H7K0BtOMDniZhWOgAAAAASUVORK5CYII=)
;
}
/***************************************************************
Select2
***************************************************************/
.select2-selection
{
border
:
none
!important
;
border-radius
:
0
!important
;
box-shadow
:
rgb
(
221
,
221
,
221
)
0px
-1px
0px
0px
inset
!important
;
}
.select2-container--focus
.select2-selection
{
box-shadow
:
rgb
(
72
,
126
,
214
)
0px
-2px
0px
0px
inset
!important
;
}
.select2-selection__choice
{
background-color
:
#487ED6
!important
;
padding
:
.2em
.6em
.3em
!important
;
color
:
#fff
!important
;
vertical-align
:
baseline
!important
;
border-radius
:
.25em
!important
;
border-color
:
#487ED6
!important
;
font-size
:
80%
!important
;
font-weight
:
bold
!important
;
}
.select2-selection__choice__remove
{
color
:
#fff
!important
;
}
/***************************************************************
Buttons
***************************************************************/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment