/* Copyright 2015-2017 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 . */ .application { box-sizing: border-box; display: flex; flex-direction: column; height: 100vh; overflow: hidden; width: 100%; .logo { top: 0; right: 0; left: 0; bottom: 0; opacity: 0.2; position: absolute; padding: 2em; text-align: center; z-index: 0; img { display: inline-block; margin: 0 auto; } } .content { box-sizing: border-box; display: flex; flex-grow: 1; overflow: hidden; position: relative; > div:not(.logo) { display: flex; flex-grow: 1; overflow-y: scroll; } } .error { padding: 2em; background: red; color: white; } }