snappymail/dev/Styles/_InputosaurusFix.less

86 lines
1.2 KiB
Text
Raw Normal View History

.inputosaurus-container {
width: 99%;
line-height: 20px;
padding: 2px;
border: 1px solid #cccccc;
border-radius: 3px;
2014-08-28 23:27:30 +08:00
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
.transition(~"border linear .2s, box-shadow linear .2s");
&.inputosaurus-focused {
background-color: #fff;
border: @rlInputBorderSize solid darken(@inputBorder, 20%);
2014-08-28 23:27:30 +08:00
box-shadow: none;
}
li {
max-width: 500px;
background-color: #eee;
border: 1px solid #aaa;
line-height: 18px;
2013-11-29 23:53:46 +08:00
padding: 2px 15px 2px 5px;
margin: 2px 2px 2px;
color: #555;
z-index: 100;
&.ui-draggable.ui-draggable-dragging {
z-index: 101;
}
2013-11-29 23:53:46 +08:00
position: relative;
a {
color: #999;
2013-11-29 23:53:46 +08:00
font-size: 12px;
position: absolute;
top: 1px;
right: 2px;
&:hover {
color: #666;
}
}
span {
padding-right: 3px;
}
2013-11-29 23:53:46 +08:00
&.inputosaurus-required {
2014-08-28 23:27:30 +08:00
padding-right: 5px;
2013-11-29 23:53:46 +08:00
}
&.inputosaurus-selected {
background-color: #ddd;
}
2015-03-21 06:22:06 +08:00
&.pgp {
background-color: #E5F3E2;
}
}
.inputosaurus-input {
2013-11-29 23:53:46 +08:00
margin: 1px 10px 1px 0px;
height: 22px;
input {
border: 0px;
height : 21px;
padding-left: 0;
}
}
}
.ui-autocomplete {
z-index: 2000;
}
.inputosaurus-fake-span {
position: absolute;
top: 0;
left: -5000px;
}