提交 d35c7de7 编写于 作者: M Manuel Recena 提交者: Oleg Nenashev

[JENKINS-35178] Fix close button in Safari (#2378)

* [JENKINS-35178] Fix close button in Safari

* [JENKINS-35178] Removed units

* [JENKINS-35178] Back to the original button design
上级 7fbf7c1f
......@@ -299,41 +299,47 @@
position:relative;
}
.repeatable-delete {
position:absolute;
top:-2px;
right:35px;
height:18px;
width:32px;
.border-radius-bottom(3px);
overflow:hidden;
position: absolute;
top: -4px;
right: 40px;
height: 20px;
width: 30px;
button{
padding:0;
margin:0;
text-indent:999em;
button {
text-align: center;
text-indent: -9999px;
width: 30px !important;
height: 18px !important;
padding: 0 !important;
margin: 0 !important;
.border-radius-top(0) !important;
background-color: @danger;
color: @light-backgrond;
border: 1px solid @danger-line;
line-height: 12px !important;
display: inline-block;
font-size: 8px;
}
button:focus,
button:hover{
button:hover {
background-color: @danger-dark;
border-color:@danger-dark-line;
color:@brightest;
border-color: @danger-dark-line;
color: @brightest;
}
button:before{
button:before {
content: 'X';
font-weight: bold;
text-indent: 0;
display: block;
position: absolute;
display: block;
left: 0;
right: 0;
top: 0;
bottom: 0;
top: 2;
width: 30px;
height: 16px;
text-align: center;
font-size: 12px;
line-height: 18px;
text-indent: 0;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册