Committed by
Gerrit Code Review
ONOS-4359: continued work on theming UI
- updated xClose glyph - replace double with single quotes in glyphData.js - fixed close button on AppView details panel Change-Id: I1e9139d096bdb4836710f019b5ee4e1c3c6e69e5
Showing
4 changed files
with
5 additions
and
6 deletions
This diff is collapsed. Click to expand it.
| ... | @@ -19,11 +19,11 @@ | ... | @@ -19,11 +19,11 @@ |
| 19 | */ | 19 | */ |
| 20 | 20 | ||
| 21 | .light div.close-btn svg.embeddedIcon g.icon .glyph { | 21 | .light div.close-btn svg.embeddedIcon g.icon .glyph { |
| 22 | - fill: #9fa296; | 22 | + fill: #333333; |
| 23 | } | 23 | } |
| 24 | .dark div.close-btn svg.embeddedIcon g.icon .glyph { | 24 | .dark div.close-btn svg.embeddedIcon g.icon .glyph { |
| 25 | /* TODO: dark theme */ | 25 | /* TODO: dark theme */ |
| 26 | - fill: #9fa296; | 26 | + fill: #333333; |
| 27 | } | 27 | } |
| 28 | 28 | ||
| 29 | 29 | ... | ... |
| ... | @@ -55,8 +55,8 @@ | ... | @@ -55,8 +55,8 @@ |
| 55 | 55 | ||
| 56 | #application-details-panel .close-btn { | 56 | #application-details-panel .close-btn { |
| 57 | position: absolute; | 57 | position: absolute; |
| 58 | - right: 10px; | 58 | + right: 26px; |
| 59 | - top: 0; | 59 | + top: 26px; |
| 60 | cursor: pointer; | 60 | cursor: pointer; |
| 61 | } | 61 | } |
| 62 | 62 | ... | ... |
| ... | @@ -84,8 +84,7 @@ | ... | @@ -84,8 +84,7 @@ |
| 84 | } | 84 | } |
| 85 | 85 | ||
| 86 | function addCloseBtn(div) { | 86 | function addCloseBtn(div) { |
| 87 | - is.loadEmbeddedIcon(div, 'plus', 30); | 87 | + is.loadEmbeddedIcon(div, 'close', 26); |
| 88 | - div.select('g').attr('transform', 'translate(25, 0) rotate(45)'); | ||
| 89 | div.on('click', closePanel); | 88 | div.on('click', closePanel); |
| 90 | } | 89 | } |
| 91 | 90 | ... | ... |
-
Please register or login to post a comment