/* Copyright 2015, 2016 Parity Technologies (UK) Ltd. /* This file is part of Parity. /* /* Parity is free software: you can redistribute it and/or modify /* it under the terms of the GNU General Public License as published by /* the Free Software Foundation, either version 3 of the License, or /* (at your option) any later version. /* /* Parity is distributed in the hope that it will be useful, /* but WITHOUT ANY WARRANTY; without even the implied warranty of /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the /* GNU General Public License for more details. /* /* You should have received a copy of the GNU General Public License /* along with Parity. If not, see . */ .overlay { position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: rgba(255, 255, 255, 0.5); z-index: 10000; user-select: none; } .bar, .expanded { position: fixed; font-size: 16px; font-family: 'Roboto', sans-serif; z-index: 10001; user-select: none; } .bar { vertical-align: middle; display: flex; flex-wrap: wrap; width: 100%; top: 0; left: 0; &.moving { bottom: 0; right: 0; &:hover { cursor: move; } } } .parityBg { position: fixed; transition-property: left, top, right, bottom; transition-duration: 0.25s; transition-timing-function: ease; &.moving { transition-duration: 0.05s; transition-timing-function: ease-in-out; } } .expanded { border-radius: 4px 4px 0 0; display: flex; flex-direction: column; max-height: 50vh; .content { flex: 1; overflow-y: auto; overflow-x: hidden; display: flex; background: rgba(0, 0, 0, 0.8); min-height: 16em; } } .corner { border-radius: 4px 4px 0 0; } .cornercolor { background: rgba(0, 0, 0, 0.5); padding: 0.5em 1em; display: flex; align-items: center; } .link { white-space: nowrap; border: none; outline: none !important; color: white !important; display: inline-block; img, svg { height: 24px !important; width: 24px !important; margin: 2px 0.5em 0 0; } } .link+.link { margin-left: 1em; } .button, .parityButton { overflow: visible !important; } .parityButton img { width: auto !important; height: 24px; } .button svg { fill: white !important; } .label { position: relative; display: inline-block; vertical-align: top; } .labelText { text-transform: uppercase; vertical-align: top; } .labelBubble { position: absolute; top: 0px; right: -10px; } .header { height: 2em; padding: 0.5em 1em; background: rgba(0, 0, 0, 0.25); margin-bottom: 0; &:after { clear: both; } } .header, .corner { button { color: white !important; } svg { fill: white !important; } } .body { padding: 1em; } .title { float: left; } .actions { float: right; margin-top: -2px; div { margin-left: 1em; display: inline-block; cursor: pointer; } } .parityIcon, .signerIcon { width: 24px; height: 24px; vertical-align: middle; margin-left: 12px; } .moveIcon { display: flex; align-items: center; &:hover { cursor: move; } } .dragButton { width: 1em; height: 1em; margin-left: 0.5em; background-color: white; opacity: 0.25; border-radius: 50%; transition-property: opacity; transition-duration: 0.1s; transition-timing-function: ease-in-out; &:hover { opacity: 0.5; } &.moving { opacity: 0.75; } }