Administrator
2022-09-14 58d006e05dcf2a20d0ec5367dd03d66a61db6849
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
.enable_plugin_tag_input() when(@enable-plugin-tag-input = true) {
 
.tags {
  display: inline-block;
  padding: 4px 6px;
  color: @ace-grey;
  vertical-align: middle;
  //.border-radius(@inputBorderRadius);
  background-color: #FFF;
  border: 1px solid @input-border;
  //.box-shadow(inset 0 1px 1px rgba(0,0,0,.075));
 
  //.transition(~"border linear .2s, box-shadow linear .2s");
  width: 206px;
  
  &:hover {
    border-color:@input-hover-border;
  }
  
  &-hover , &-hover:hover {
    border-color: @input-border-focus;
    outline: 0;
    //outline: thin dotted \9; /* IE6-9 */
  }
  
  &[class*="span"] {
    float: none;
    margin-left: 0;
  }
  
  input[type="text"],
  input[type="text"]:focus {
    border: none;
    display: inline;
    outline: 0;
    margin: 0;
    padding: 0;
    line-height: 18px;
    .box-shadow(none);
    width: 100%;
  }
}
 
.tags {
 .tag {
  display: inline-block;
  position:relative;
  
  font-size: @base-font-size;
  font-weight: normal;
  //line-height: 14px; // ensure proper line-height if floated
 
  vertical-align: baseline;
  white-space: nowrap;
  
  //background-color: #3E9BD0;
  //color:#FFF;
  
  background-color:@tag-bg;
  color:#FFF;
  text-shadow:1px 1px 1px rgba(0, 0, 0, 0.15);
  
  padding: 4px 22px 5px 9px;
 // .border-radius(9px);
  margin-bottom: 3px;
  margin-right: 3px;
  .transition(~"all 0.2s");
  
  &:empty {
    display: none;
  }
  
  &:hover {
    //background-color: #B2CADD;
  }
 
/**
  &:nth-child(5n+1) {
    background-color:#48A2E0;
  }
  &:nth-child(5n+2) {
    background-color:#34C896;
  }
  &:nth-child(5n+3) {
    background-color:#B57BB3;
  }
  &:nth-child(5n+4) {
    background-color:#CC7DA8;
  }
  &:nth-child(5n+5) {
    background-color:#666;
  }
*/
  
  
  // Important (red)
  &-important   { background-color: @btn-danger; }
  // Warnings (orange)
  &-warning     { background-color: @btn-warning; }
  // Success (green)
  &-success     { background-color: @btn-success; }
  // Info (turquoise)
  &-info        { background-color: @btn-info; }
  // Inverse (black)
  &-inverse     { background-color: @btn-inverse; }
 
  .close {
    font-size: @font-size-tag-remove;
    line-height: 20px;
 
    .opacity(1);
    color: #FFF;
    text-shadow: none;
    
    float: none;
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 18px;
    text-align: center;
    
    &:hover {
        background-color: rgba(0,0,0,0.2);
    }
  }
 }
}
 
 
 
 
 
}
.enable_plugin_tag_input();