forked from Netsyms/PackageHelper
Add Items: Put add and history tabs side by side on wide screens (#36)
parent
0ff2eec985
commit
02a1dfa2a1
@ -0,0 +1,52 @@
|
||||
/*
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
/*
|
||||
Created on : Apr 3, 2020, 11:55:50 AM
|
||||
Author : Skylar Ittner
|
||||
*/
|
||||
|
||||
.only-tablet {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media all and (min-width: 768px) {
|
||||
.only-tablet {
|
||||
display: inherit;
|
||||
}
|
||||
.no-tablet {
|
||||
display: none;
|
||||
}
|
||||
.page[data-name="add"] .tabbar {
|
||||
/* Remove tab switcher at bottom of page */
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
.page[data-name="add"] .tabs {
|
||||
/* Put tabs next to each other */
|
||||
display: flex;
|
||||
}
|
||||
.page[data-name="add"] .tabs .tab {
|
||||
/* un-hide "non-active" tabs */
|
||||
display: block;
|
||||
}
|
||||
.page[data-name="add"] .tabs #add-tab {
|
||||
width: 66.67% !important;
|
||||
}
|
||||
.page[data-name="add"] .tabs #history-tab {
|
||||
width: 33.33% !important;
|
||||
}
|
||||
.page[data-name="add"] #history-empty-swipe-prompt {
|
||||
display: none;
|
||||
}
|
||||
.page[data-name="add"] .page-content {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
|
||||
.page[data-name="add"] .fab {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue