Skip to content

Commit 1606515

Browse files
committed
Update Tag-it CSS
1 parent dd3acb2 commit 1606515

File tree

3 files changed

+52
-10
lines changed

3 files changed

+52
-10
lines changed

Diff for: js/vendor/jquery.tagit.css

+10-8
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,20 @@ ul.tagit li {
99
float: left;
1010
margin: 2px 5px 2px 0;
1111
}
12-
ul.tagit li.tagit-choice {
12+
ul.tagit li.tagit-choice {
1313
position: relative;
1414
line-height: inherit;
1515
}
16+
input.tagit-hidden-field {
17+
display: none;
18+
}
19+
ul.tagit li.tagit-choice-read-only {
20+
padding: .2em .5em .2em .5em;
21+
}
1622

17-
ul.tagit li.tagit-choice-read-only {
18-
padding: .2em .5em .2em .5em;
19-
}
20-
21-
ul.tagit li.tagit-choice-editable {
22-
padding: .2em 18px .2em .5em;
23-
}
23+
ul.tagit li.tagit-choice-editable {
24+
padding: .2em 18px .2em .5em;
25+
}
2426

2527
ul.tagit li.tagit-new {
2628
padding: .25em 4px .25em 0;

Diff for: js/vendor/tagit.ui-zendesk.css

+41-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ul.tagit {
66
border-style: solid;
77
border-width: 1px;
88
border-color: #C6C6C6;
9-
background: #fff;
9+
background: inherit;
1010
}
1111
ul.tagit li.tagit-choice {
1212
-moz-border-radius: 6px;
@@ -54,3 +54,43 @@ ul.tagit input[type="text"] {
5454
font-size: 1.1em;
5555
}
5656

57+
/* Forked from a jQuery UI theme, so that we don't require the jQuery UI CSS as a dependency. */
58+
.tagit-autocomplete.ui-autocomplete { position: absolute; cursor: default; }
59+
* html .tagit-autocomplete.ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
60+
.tagit-autocomplete.ui-menu {
61+
list-style:none;
62+
padding: 2px;
63+
margin: 0;
64+
display:block;
65+
float: left;
66+
}
67+
.tagit-autocomplete.ui-menu .ui-menu {
68+
margin-top: -3px;
69+
}
70+
.tagit-autocomplete.ui-menu .ui-menu-item {
71+
margin:0;
72+
padding: 0;
73+
zoom: 1;
74+
float: left;
75+
clear: left;
76+
width: 100%;
77+
}
78+
.tagit-autocomplete.ui-menu .ui-menu-item a {
79+
text-decoration:none;
80+
display:block;
81+
padding:.2em .4em;
82+
line-height:1.5;
83+
zoom:1;
84+
}
85+
.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-hover,
86+
.tagit-autocomplete .ui-menu .ui-menu-item a.ui-state-active {
87+
font-weight: normal;
88+
margin: -1px;
89+
}
90+
.tagit-autocomplete.ui-widget-content { border: 1px solid #aaaaaa; background: #ffffff 50% 50% repeat-x; color: #222222; }
91+
.tagit-autocomplete.ui-corner-all, .tagit-autocomplete .ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; }
92+
.tagit-autocomplete .ui-state-hover, .tagit-autocomplete .ui-state-focus { border: 1px solid #999999; background: #dadada; font-weight: normal; color: #212121; }
93+
.tagit-autocomplete .ui-state-active { border: 1px solid #aaaaaa; }
94+
95+
.tagit-autocomplete .ui-widget-content { border: 1px solid #aaaaaa; }
96+
.tagit .ui-helper-hidden-accessible { position: absolute !important; clip: rect(1px,1px,1px,1px); }

Diff for: languages/code-snippets.pot

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: code-snippets 2.1.0\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2015-05-10 21:51+1000\n"
11+
"POT-Creation-Date: 2015-05-10 22:20+1000\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1414
"Language-Team: LANGUAGE <[email protected]>\n"

0 commit comments

Comments
 (0)