New: Ability to tag series
New: Use tags to control which series use which notification channels
This commit is contained in:
Mark McDowall
2014-09-09 17:02:55 -07:00
parent 0e436f371b
commit e82b29e346
29 changed files with 1116 additions and 14 deletions

View File

@@ -0,0 +1,35 @@
@import "../Bootstrap/variables";
.bootstrap-tagsinput {
width : 100%;
.twitter-typeahead {
width : auto;
}
.tag {
margin-right: 0px;
[data-role="remove"] {
&:hover {
color: @brand-danger;
}
}
}
.tt-dropdown-menu {
.opacity(0.95);
.tt-suggestion {
color: #222222;
cursor: pointer;
//selected item
&.tt-cursor {
background-color: @droneTeal;
color: #ffffff;
}
}
}
}

View File

@@ -1,2 +1,3 @@
@import "./Bootstrap/bootstrap";
@import "./Overrides/bootstrap";
@import "./Overrides/bootstrap";
@import "./bootstrap.tagsinput.less";

50
src/UI/Content/bootstrap.tagsinput.less vendored Normal file
View File

@@ -0,0 +1,50 @@
.bootstrap-tagsinput {
background-color: #fff;
border: 1px solid #ccc;
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
display: inline-block;
padding: 4px 6px;
margin-bottom: 10px;
color: #555;
vertical-align: middle;
border-radius: 4px;
max-width: 100%;
line-height: 22px;
cursor: text;
input {
border: none;
box-shadow: none;
outline: none;
background-color: transparent;
padding: 0;
margin: 0;
width: auto !important;
max-width: inherit;
&:focus {
border: none;
box-shadow: none;
}
}
.tag {
margin-right: 2px;
color: white;
[data-role="remove"] {
margin-left:8px;
cursor:pointer;
&:after{
content: "x";
padding:0px 2px;
}
&:hover {
box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
&:active {
box-shadow: inset 0 3px 5px rgba(0,0,0,0.125);
}
}
}
}
}

View File

@@ -1,5 +1,6 @@
@import "Overrides/bootstrap";
@import "Overrides/browser";
@import "Overrides/bootstrap.toggle-switch";
@import "Overrides/bootstrap.tagsinput.less";
@import "Overrides/fullcalendar";
@import "Overrides/messenger";