Skip to content

Commit

Permalink
[JENKINS-35178] Fix close button in Safari (#2378)
Browse files Browse the repository at this point in the history
* [JENKINS-35178] Fix close button in Safari

* [JENKINS-35178] Removed units

* [JENKINS-35178] Back to the original button design

(cherry picked from commit d35c7de)
  • Loading branch information
recena authored and olivergondza committed Jun 19, 2016
1 parent c95dcc1 commit d0cc8cd
Showing 1 changed file with 29 additions and 23 deletions.
52 changes: 29 additions & 23 deletions war/src/main/js/widgets/config/tabbar.less
Expand Up @@ -299,42 +299,48 @@
position:relative; position:relative;
} }
.repeatable-delete { .repeatable-delete {
position:absolute; position: absolute;
top:-2px; top: -4px;
right:35px; right: 40px;
height:18px; height: 20px;
width:32px; width: 30px;
.border-radius-bottom(3px);
overflow:hidden; button {

text-align: center;
button{ text-indent: -9999px;
padding:0; width: 30px !important;
margin:0; height: 18px !important;
text-indent:999em; padding: 0 !important;
margin: 0 !important;
.border-radius-top(0) !important;
background-color: @danger; background-color: @danger;
color: @light-backgrond; color: @light-backgrond;
border: 1px solid @danger-line; border: 1px solid @danger-line;
line-height: 12px !important;
display: inline-block;
font-size: 8px;
} }

button:focus, button:focus,
button:hover{ button:hover {
background-color: @danger-dark; background-color: @danger-dark;
border-color:@danger-dark-line; border-color: @danger-dark-line;
color:@brightest; color: @brightest;
} }
button:before{
button:before {
content: 'X'; content: 'X';
font-weight: bold; font-weight: bold;
text-indent: 0;
display: block;
position: absolute; position: absolute;
display: block;
left: 0; left: 0;
right: 0; top: 2;
top: 0; width: 30px;
bottom: 0; height: 16px;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
line-height: 18px; text-indent: 0;
} }


} }
} }
Expand Down

0 comments on commit d0cc8cd

Please sign in to comment.