ghost-portal/packages/ui-app/src/styles/media.css
Jaco Greeff f887f68cfb
Combine AddressSummary & Row (#1260)
* Combine AddressSummary & Row

* Cleanup address rendering

* Tiny tags cleanups

* Remove unused ui--AddressSummary overrides

* Column component

* Columar

* Cleanups

* Remove hot client

* Backport data padding
2019-06-02 10:13:38 +02:00

91 lines
1.5 KiB
CSS

/* Copyright 2017-2019 @polkadot/ui-app authors & contributors
/* This software may be modified and distributed under the terms
/* of the Apache-2.0 license. See the LICENSE file for details. */
/* block by default, flex as per media queries below */
.ui--flex-large,
.ui--flex-medium,
.ui--flex-small {
display: block;
}
/* hide all by default, add as per media queries below */
.ui--media-large,
.ui--media-medium,
.ui--media-small {
height: 0;
visibility: hidden;
width: 0;
}
td.ui--media-large,
td.ui--media-medium,
td.ui--media-small,
th.ui--media-large,
th.ui--media-medium,
th.ui--media-small {
display: none;
}
@media (min-width: 1281px) {
.ui--flex-large {
display: flex;
flex-wrap: wrap;
}
.ui--media-large {
height: auto;
visibility: visible;
width: auto;
}
td.ui--media-large,
th.ui--media-large {
display: table-cell;
}
}
@media (min-width: 1025px) {
.ui--flex-medium {
display: flex;
flex-wrap: wrap;
}
.ui--media-medium {
height: auto;
visibility: visible;
width: auto;
}
td.ui--media-medium,
th.ui--media-medium {
display: table-cell;
}
}
@media (min-width: 768px) {
.ui--flex-small {
display: flex;
flex-wrap: wrap;
}
.ui--media-small {
height: auto;
visibility: visible;
width: auto;
}
td.ui--media-small,
th.ui--media-small {
display: table-cell;
}
}
/* tabs */
@media (max-width: 991px) {
.ui.menu.tabular {
padding-left: 5.2rem !important;
}
}