mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Create childscope only when required and destroy it after use. https://github.com/openstf/stf/issues/124
This commit is contained in:
@@ -1,17 +1,52 @@
|
||||
a.editable-click {
|
||||
text-decoration: none;
|
||||
color: #167FFC;
|
||||
border-bottom: none;
|
||||
/*
|
||||
Currently angular-xeditable does not support popover
|
||||
This is a work around to make angular-xeditable look like
|
||||
popover
|
||||
*/
|
||||
|
||||
.xeditable-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
a.editable-click:hover {
|
||||
color: #808080;
|
||||
.xeditable-wrapper form {
|
||||
background: #FFF;
|
||||
border: 1px solid #AAA;
|
||||
border-radius: 5px;
|
||||
display: inline-block;
|
||||
left: 50%;
|
||||
margin-left: -190px;
|
||||
padding: 7px;
|
||||
position: absolute;
|
||||
top: -55px;
|
||||
width: 380px;
|
||||
z-index: 101;
|
||||
}
|
||||
|
||||
a.editable-empty {
|
||||
color: transparent;
|
||||
.xeditable-wrapper form:before {
|
||||
content: '';
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 10px solid transparent;
|
||||
border-right: 10px solid transparent;
|
||||
border-top: 10px solid #AAA;
|
||||
position: absolute;
|
||||
bottom: -10px;
|
||||
left: 190px;
|
||||
}
|
||||
|
||||
a.editable-empty:focus {
|
||||
color: #808080;
|
||||
.xeditable-wrapper form:after {
|
||||
content: '';
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-left: 9px solid transparent;
|
||||
border-right: 9px solid transparent;
|
||||
border-top: 9px solid #FFF;
|
||||
position: absolute;
|
||||
bottom: -9px;
|
||||
left: 191px;
|
||||
}
|
||||
|
||||
.xeditable-wrapper .editable-buttons .btn {
|
||||
margin-left: 6px !important;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user