Skip to content

Commit 4c0fd58

Browse files
committed
Style view all button
1 parent 29f9137 commit 4c0fd58

2 files changed

Lines changed: 21 additions & 4 deletions

File tree

ui/css/cloudstack3.css

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1737,16 +1737,33 @@ div.list-view td.state.off span {
17371737
text-indent: 0;
17381738
}
17391739

1740-
.detail-group .main-groups table td.value span {
1740+
.detail-group .main-groups table td.value > span {
17411741
display: block;
17421742
height: 30px;
17431743
overflow: auto;
17441744
position: relative;
17451745
top: 9px;
1746+
float: left;
1747+
width: 291px;
1748+
}
1749+
1750+
.detail-group .main-groups table td.value .view-all {
1751+
cursor: pointer;
1752+
/*[empty]height:;*/
1753+
border-left: 1px solid #9FA2A5;
1754+
/*+border-radius:4px 0 0 4px;*/
1755+
-moz-border-radius: 4px 0 0 4px;
1756+
-webkit-border-radius: 4px 0 0 4px;
1757+
-khtml-border-radius: 4px 0 0 4px;
1758+
border-radius: 4px 0 0 4px;
1759+
background: url(../images/sprites.png) no-repeat 100% -398px;
1760+
float: right;
1761+
margin: 1px 0 0;
1762+
padding: 8px 33px 6px 15px;
17461763
}
17471764

1748-
.detail-group .main-groups table td.value span {
1749-
width: 355px;
1765+
.detail-group .main-groups table td.value .view-all:hover {
1766+
background-position: 100% -431px;
17501767
}
17511768

17521769
.panel.always-maximized .detail-group .main-groups table td.value span {

ui/scripts/ui/widgets/detailView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1040,7 +1040,7 @@
10401040
.filter('.' + tabData.viewAll.attachTo).find('td.value')
10411041
.append(
10421042
$('<div>').addClass('view-all').append(
1043-
$('<span>').html('View all IP Addresses')
1043+
$('<span>').html(_l('label.view.all'))
10441044
)
10451045
);
10461046
}

0 commit comments

Comments
 (0)