Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
d5a57686
Commit
d5a57686
authored
Aug 19, 2014
by
Aron Carroll
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Style the tags-input directive
parent
43591343
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
60 additions
and
0 deletions
+60
-0
common.scss
h/static/styles/common.scss
+1
-0
tags-input.scss
h/static/styles/tags-input.scss
+59
-0
No files found.
h/static/styles/common.scss
View file @
d5a57686
...
...
@@ -7,6 +7,7 @@
@import
'threads'
;
@import
'yui_grid'
;
@import
'simple-search'
;
@import
'tags-input'
;
$base-font-size
:
16px
;
...
...
h/static/styles/tags-input.scss
0 → 100644
View file @
d5a57686
// Styles for the ngTagsInput plugin.
// http://mbenford.github.io/ngTagsInput/gettingstarted
@import
"mixins/forms"
;
tags-input
{
.host
{
outline
:
none
;
}
.tags
{
@include
form-input
;
@include
clearfix
;
&
.focused
{
@include
form-input-focus
;
}
// Input
.input
{
float
:
left
;
margin-top
:
.33em
;
padding
:
.2em
0
;
outline
:
none
;
border
:
none
!
important
;
background
:
none
;
color
:
$gray
;
}
}
.tag-list
{
margin-top
:
-.33em
;
// Absorb the first row of margin-top on the tags.
}
.tag-item
{
@include
btn
;
float
:
left
;
position
:
relative
;
padding
:
.307em
1
.538em
.307em
.615em
;
margin-top
:
.384em
;
margin-right
:
.384em
;
&
.selected
{
@include
btn-hover
;
@include
focus-outline
;
}
.remove-button
{
position
:
absolute
;
top
:
50%
;
right
:
5px
;
color
:
#585858
;
font-size
:
20px
;
cursor
:
pointer
;
line-height
:
1
;
margin-top
:
-10px
;
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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