mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-10 08:52:39 +01:00
b3f36a94a1
Summary: Fixes the width and some other minor issues. Test Plan: Tested Mobile and Desktop Reviewers: epriestley, btrahan Reviewed By: epriestley CC: Korvin, epriestley, aran Differential Revision: https://secure.phabricator.com/D7496
164 lines
3.6 KiB
CSS
164 lines
3.6 KiB
CSS
/**
|
|
* @provides aphront-multi-column-view-css
|
|
*/
|
|
|
|
.aphront-multi-column-view {
|
|
width: 100%;
|
|
}
|
|
|
|
.device-phone .aphront-multi-column-outer {
|
|
padding: 0;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.aphront-multi-column-inner .aphront-multi-column-column-last,
|
|
.device-phone .aphront-multi-column-column {
|
|
margin: 0;
|
|
}
|
|
|
|
.device-phone .aphront-multi-column-outer
|
|
div.aphront-multi-column-column-outer {
|
|
width: auto;
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
/* math here is based on panel width and margins */
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-1-up {
|
|
width: 310px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-2-up {
|
|
width: 620px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-3-up {
|
|
width: 930px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-4-up {
|
|
width: 1008px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-5-up {
|
|
width: 1250px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-6-up {
|
|
width: 1500px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed
|
|
.aphront-multi-column-inner.aphront-multi-column-7-up {
|
|
width: 1750px;
|
|
}
|
|
|
|
.device-phone .aphront-multi-column-fixed .aphront-multi-column-inner {
|
|
width: 100%;
|
|
}
|
|
|
|
/* Panels require a fixed width to overflow well. */
|
|
.aphront-multi-column-fixed .aphront-multi-column-1-up
|
|
.aphront-multi-column-column-outer,
|
|
.aphront-multi-column-fixed .aphront-multi-column-2-up
|
|
.aphront-multi-column-column-outer,
|
|
.aphront-multi-column-fixed .aphront-multi-column-3-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 300px;
|
|
}
|
|
|
|
.aphront-multi-column-fixed .aphront-multi-column-4-up
|
|
.aphront-multi-column-column-outer,
|
|
.aphront-multi-column-fixed .aphront-multi-column-5-up
|
|
.aphront-multi-column-column-outer,
|
|
.aphront-multi-column-fixed .aphront-multi-column-6-up
|
|
.aphront-multi-column-column-outer,
|
|
.aphront-multi-column-fixed .aphront-multi-column-7-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 240px;
|
|
}
|
|
|
|
/* fluid/flex styles */
|
|
.aphront-multi-column-fluid .aphront-multi-column-1-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 100%;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-2-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 50%;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-3-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 33.3333%;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-4-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 25%;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-5-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 20%;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-6-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 16.6666%;
|
|
}
|
|
|
|
.aphront-multi-column-fluid .aphront-multi-column-7-up
|
|
.aphront-multi-column-column-outer {
|
|
width: 14.2857%;
|
|
}
|
|
|
|
/* Shadow Panels */
|
|
|
|
.aphront-multi-column-inner {
|
|
display: table;
|
|
width: 100%;
|
|
}
|
|
|
|
.device-phone .aphront-multi-column-inner {
|
|
display: block;
|
|
width: auto;
|
|
}
|
|
|
|
.aphront-multi-column-column-outer {
|
|
display: table-cell;
|
|
height: 100%;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.phui-box-shadow .aphront-multi-column-column-outer {
|
|
border-right: 1px solid #e7e7e7;
|
|
padding-left: 10px;
|
|
padding-right: 10px;
|
|
}
|
|
|
|
.phui-box-shadow .aphront-multi-colum-column-outer-last {
|
|
border: none;
|
|
}
|
|
|
|
.device-phone .aphront-multi-column-column-outer {
|
|
display: block;
|
|
border: none;
|
|
}
|
|
|
|
.device-phone .phui-box-shadow .aphront-multi-column-column-outer {
|
|
padding-bottom: 20px;
|
|
border-bottom: 1px solid #e7e7e7;
|
|
}
|
|
|
|
.device-phone .phui-box-shadow .aphront-multi-colum-column-outer-last {
|
|
border: none;
|
|
padding-bottom: 0;
|
|
}
|