* Allow Portal to take title & buttons props * Fix tests * Portal consistent in screen center * Allow hiding of Close (e.g. FirstRun usage) * Set overflow style on body based on open * Don't lock scroll for child popups (overlaps) * Override buttons to be white * Expose ~/ui/Modal/Title as re-usable component * Use ~/ui/Title to render the Title * Update tests * Added a portal example with buttons and steps * Address PR comments * Fix AddressSelect with new container withing container * Move legend to "buttons" * AddressSelect extra padding
69 lines
1.3 KiB
CSS
69 lines
1.3 KiB
CSS
/* 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 <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
.container {
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.item {
|
|
display: flex;
|
|
flex: 1;
|
|
position: relative;
|
|
|
|
.overlay {
|
|
position: absolute;
|
|
right: 0.5em;
|
|
top: 0.5em;
|
|
}
|
|
}
|
|
|
|
.selected, .unselected {
|
|
margin-bottom: 0.25em;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
|
|
.unselected {
|
|
background: rgba(0, 0, 0, 0.4) !important;
|
|
}
|
|
|
|
.selected {
|
|
background: rgba(255, 255, 255, 0.15) !important;
|
|
|
|
&.default {
|
|
background: rgba(255, 255, 255, 0.35) !important;
|
|
}
|
|
}
|
|
|
|
.unselected {
|
|
}
|
|
|
|
.iconDisabled {
|
|
opacity: 0.15;
|
|
}
|
|
|
|
.legend {
|
|
opacity: 0.75;
|
|
|
|
span {
|
|
line-height: 24px;
|
|
vertical-align: top;
|
|
}
|
|
}
|