From 8eeed772eb6864fc096b920018c5bd0983f880de Mon Sep 17 00:00:00 2001 From: David Rowe Date: Sat, 8 Sep 2018 12:40:36 +1200 Subject: [PATCH] Update button layout --- scripts/system/assets/images/expand.svg | 85 +++++++++++++++++++ .../system/html/css/img/mt-expand-hover.svg | 30 +------ .../system/html/css/img/mt-expand-normal.svg | 30 +------ scripts/system/html/css/img/mt-goto-hover.svg | 4 +- .../system/html/css/img/mt-goto-normal.svg | 4 +- scripts/system/html/css/img/mt-mute-hover.svg | 4 +- .../system/html/css/img/mt-mute-normal.svg | 4 +- scripts/system/html/css/miniTablet.css | 23 +++-- scripts/system/html/miniTablet.html | 4 +- 9 files changed, 114 insertions(+), 74 deletions(-) create mode 100644 scripts/system/assets/images/expand.svg diff --git a/scripts/system/assets/images/expand.svg b/scripts/system/assets/images/expand.svg new file mode 100644 index 0000000000..f57e624374 --- /dev/null +++ b/scripts/system/assets/images/expand.svg @@ -0,0 +1,85 @@ + + + +image/svg+xml + + + + + + + + + \ No newline at end of file diff --git a/scripts/system/html/css/img/mt-expand-hover.svg b/scripts/system/html/css/img/mt-expand-hover.svg index 97737f42c0..a8e84c42ad 100644 --- a/scripts/system/html/css/img/mt-expand-hover.svg +++ b/scripts/system/html/css/img/mt-expand-hover.svg @@ -1,31 +1,5 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/scripts/system/html/css/img/mt-expand-normal.svg b/scripts/system/html/css/img/mt-expand-normal.svg index 8b849ecc70..aac349ebda 100644 --- a/scripts/system/html/css/img/mt-expand-normal.svg +++ b/scripts/system/html/css/img/mt-expand-normal.svg @@ -1,31 +1,5 @@  - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + diff --git a/scripts/system/html/css/img/mt-goto-hover.svg b/scripts/system/html/css/img/mt-goto-hover.svg index c8c407139b..4cad54331a 100644 --- a/scripts/system/html/css/img/mt-goto-hover.svg +++ b/scripts/system/html/css/img/mt-goto-hover.svg @@ -1,5 +1,5 @@  - - + + diff --git a/scripts/system/html/css/img/mt-goto-normal.svg b/scripts/system/html/css/img/mt-goto-normal.svg index 6be11c464e..ead63329fb 100644 --- a/scripts/system/html/css/img/mt-goto-normal.svg +++ b/scripts/system/html/css/img/mt-goto-normal.svg @@ -1,5 +1,5 @@  - - + + diff --git a/scripts/system/html/css/img/mt-mute-hover.svg b/scripts/system/html/css/img/mt-mute-hover.svg index 909ecb0272..9a18ccd933 100644 --- a/scripts/system/html/css/img/mt-mute-hover.svg +++ b/scripts/system/html/css/img/mt-mute-hover.svg @@ -1,5 +1,5 @@  - - + + diff --git a/scripts/system/html/css/img/mt-mute-normal.svg b/scripts/system/html/css/img/mt-mute-normal.svg index 506756216f..472f03f138 100644 --- a/scripts/system/html/css/img/mt-mute-normal.svg +++ b/scripts/system/html/css/img/mt-mute-normal.svg @@ -1,5 +1,5 @@  - - + + diff --git a/scripts/system/html/css/miniTablet.css b/scripts/system/html/css/miniTablet.css index c134f87f49..55abba43a6 100644 --- a/scripts/system/html/css/miniTablet.css +++ b/scripts/system/html/css/miniTablet.css @@ -26,13 +26,13 @@ body { section { background-color: #404040; position: relative; - padding: 13px 9px; + padding: 16px 16px; } .button { - width: 128px; - height: 90px; - margin-top: 10px; + width: 116px; + height: 84px; + margin-top: 16px; text-align: center; } @@ -41,7 +41,7 @@ section { } img { - width: 46px; + width: 40px; } #mute { @@ -72,10 +72,10 @@ img { #expand { position: absolute; - right: 12px; - bottom: 13px; - width: 40px; - height: 40px; + right: 1px; + bottom: -1px; + width: 50px; + height: 50px; background-size: 100% 100%; } @@ -86,3 +86,8 @@ img { #expand.off:hover { background-image: url("./img/mt-expand-hover.svg"); } + + #expand img { + width:34px; + margin-top: 7px; + } diff --git a/scripts/system/html/miniTablet.html b/scripts/system/html/miniTablet.html index eca21c0d68..92eac02734 100644 --- a/scripts/system/html/miniTablet.html +++ b/scripts/system/html/miniTablet.html @@ -23,7 +23,9 @@ See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.
-
+
+ +