| Index: chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
|
| diff --git a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
|
| index b33ee950239a13b9d5f9ec8226ea3ddc89a26896..b71954eda2059db1d69aee5c429c78c74075e926 100644
|
| --- a/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
|
| +++ b/chrome/browser/resources/bluetooth_internals/bluetooth_internals.css
|
| @@ -4,6 +4,7 @@
|
| */
|
|
|
| :root {
|
| + --fade-duration: 225ms;
|
| --md-timing-function: cubic-bezier(.4, 0, .6, 1);
|
| --sidebar-width: 155px;
|
| --sidebar-neg-width: calc(var(--sidebar-width) * -1);
|
| @@ -137,7 +138,6 @@ h1 {
|
| }
|
|
|
| .overlay {
|
| - --fade-duration: 225ms;
|
| background-color: rgba(0, 0, 0, .5);
|
| bottom: 0;
|
| left: 0;
|
| @@ -206,3 +206,66 @@ table .removed {
|
| font-weight: bold;
|
| }
|
| }
|
| +
|
| +/** Snackbar */
|
| +.snackbar {
|
| + background-color: #F0F0F0;
|
| + border-radius: 2px;
|
| + bottom: 0;
|
| + display: flex;
|
| + font-size: 14pt;
|
| + justify-content: center;
|
| + left: 0;
|
| + margin: 0 auto;
|
| + max-width: 568px;
|
| + min-height: 20px;
|
| + min-width: 288px;
|
| + padding: 14px 24px;
|
| + position: fixed;
|
| + right: 0;
|
| + transform: translate3d(0, 48px, 0);
|
| + transition: transform var(--fade-duration), visibility var(--fade-duration);
|
| + transition-timing-function: var(--md-timing-function);
|
| + visibility: hidden;
|
| +}
|
| +
|
| +.snackbar a {
|
| + -webkit-margin-start: auto;
|
| + display: flex;
|
| + flex-direction: column;
|
| + justify-content: center;
|
| +}
|
| +
|
| +@media screen and (max-width: 600px) {
|
| + .snackbar {
|
| + border-radius: 0;
|
| + max-width: unset;
|
| + min-width: unset;
|
| + }
|
| +}
|
| +
|
| +.snackbar div {
|
| + align-self: flex-start;
|
| + color: white;
|
| +}
|
| +
|
| +.snackbar.info div {
|
| + color: black;
|
| +}
|
| +
|
| +.snackbar.success {
|
| + background-color: rgb(76, 175, 80);
|
| +}
|
| +
|
| +.snackbar.warning {
|
| + background-color: rgb(255, 152, 0);
|
| +}
|
| +
|
| +.snackbar.danger {
|
| + background-color: rgb(244, 67, 54);
|
| +}
|
| +
|
| +.snackbar.open {
|
| + transform: translate3d(0, 0, 0);
|
| + visibility: visible;
|
| +}
|
|
|