Commit 0884a2c6 authored by Esmael El-Moslimany's avatar Esmael El-Moslimany Committed by Commit Bot

MD Extensions: dev-mode toolbar MD refresh

Bug: 840898
Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
Change-Id: I5180a32f2453547d915ca5867190facc30e63e00
Reviewed-on: https://chromium-review.googlesource.com/1053115Reviewed-by: default avatarDemetrios Papadopoulos <dpapad@chromium.org>
Commit-Queue: Esmael El-Moslimany <aee@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557721}
parent 998efe38
...@@ -19,9 +19,9 @@ ...@@ -19,9 +19,9 @@
<style include="cr-hidden-style paper-button-style"> <style include="cr-hidden-style paper-button-style">
:host { :host {
/* The constant is the height of the tallest control. */ /* The constant is the height of the tallest control. */
--button-row-height: calc(var(--margin-bottom) + 36px); --button-row-height: calc(2 * var(--padding-top-bottom) + 36px);
--drawer-transition: 0.3s cubic-bezier(.25, .1, .25, 1); --drawer-transition: 0.3s cubic-bezier(.25, .1, .25, 1);
--margin-bottom: 4px; --padding-top-bottom: 8px;
--toolbar-color: var(--md-toolbar-color); --toolbar-color: var(--md-toolbar-color);
} }
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
} }
#devDrawer { #devDrawer {
background: white;
height: 0; height: 0;
overflow: hidden; overflow: hidden;
position: relative; position: relative;
...@@ -58,11 +59,9 @@ ...@@ -58,11 +59,9 @@
#buttonStrip { #buttonStrip {
-webkit-margin-end: auto; -webkit-margin-end: auto;
-webkit-margin-start: auto; -webkit-margin-start: 24px;
background: var(--toolbar-color); padding: var(--padding-top-bottom) 0;
margin-bottom: var(--margin-bottom);
position: absolute; position: absolute;
text-align: center;
top: calc(var(--button-row-height) * -1); top: calc(var(--button-row-height) * -1);
transition: top var(--drawer-transition); transition: top var(--drawer-transition);
/* Prevent selection of the blank space between buttons. */ /* Prevent selection of the blank space between buttons. */
...@@ -72,11 +71,6 @@ ...@@ -72,11 +71,6 @@
#buttonStrip paper-button { #buttonStrip paper-button {
-webkit-margin-end: 16px; -webkit-margin-end: 16px;
color: white;
/* Increase contrast compared to default values. */
--paper-button-flat-keyboard-focus: {
background: rgba(0, 0, 0, .3);
};
} }
.more-actions { .more-actions {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment