66 lines
1.2 KiB
CSS
66 lines
1.2 KiB
CSS
.tags-container {
|
|
width: 100%;
|
|
padding: .375rem .75rem;
|
|
background-color: #fff;
|
|
border: 1px solid #ccc;
|
|
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
|
|
display: inline-block;
|
|
color: #555;
|
|
vertical-align: middle;
|
|
border-radius: 4px;
|
|
max-width: 100%;
|
|
line-height: 22px;
|
|
cursor: text;
|
|
}
|
|
|
|
.input-tag-name {
|
|
border: none;
|
|
box-shadow: none;
|
|
outline: none;
|
|
background-color: transparent;
|
|
padding: 0 6px;
|
|
margin: 0;
|
|
width: auto;
|
|
max-width: inherit;
|
|
}
|
|
|
|
.tag {
|
|
display: inline-block;
|
|
padding: .2em .6em .3em;
|
|
background-color: orange;
|
|
border-radius: .25em;
|
|
margin-right: 4px;
|
|
margin-bottom: 4px;
|
|
|
|
font-size: 75%;
|
|
font-weight: 700;
|
|
line-height: 1.5;
|
|
color: #fff;
|
|
}
|
|
|
|
.tag-name span[data-role="remove"] {
|
|
margin-left: 8px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.tag-name span[data-role="remove"]:after {
|
|
content: "x";
|
|
padding: 0px 2px;
|
|
}
|
|
|
|
.tag-name input[type="text"] {
|
|
background: transparent;
|
|
border: none;
|
|
display: inline-flex;
|
|
font-size: 100%;
|
|
font-weight: 700;
|
|
line-height: 1.5;
|
|
color: #fff;
|
|
text-align: center;
|
|
white-space: nowrap;
|
|
vertical-align: baseline;
|
|
outline: none;
|
|
cursor: default;
|
|
|
|
}
|