mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-15 03:12:41 +01:00
663612fdb4
Summary: Adds a basic div box that takes some styles. Not sure this is the best approach for the spacing, but overall hoping people can spend less time in CSS and just use this class. Test Plan: UIExamples Reviewers: epriestley, btrahan Reviewed By: epriestley CC: aran, Korvin, AnhNhan Differential Revision: https://secure.phabricator.com/D5723
45 lines
1.1 KiB
PHP
45 lines
1.1 KiB
PHP
<?php
|
|
|
|
final class PHUI {
|
|
|
|
const MARGIN_SMALL = 'ms';
|
|
const MARGIN_MEDIUM = 'mm';
|
|
const MARGIN_LARGE = 'ml';
|
|
|
|
const MARGIN_SMALL_LEFT = 'msl';
|
|
const MARGIN_MEDIUM_LEFT = 'mml';
|
|
const MARGIN_LARGE_LEFT = 'mll';
|
|
|
|
const MARGIN_SMALL_RIGHT = 'msr';
|
|
const MARGIN_MEDIUM_RIGHT = 'mmr';
|
|
const MARGIN_LARGE_RIGHT = 'mlr';
|
|
|
|
const MARGIN_SMALL_BOTTOM = 'msb';
|
|
const MARGIN_MEDIUM_BOTTOM = 'mmb';
|
|
const MARGIN_LARGE_BOTTOM = 'mlb';
|
|
|
|
const MARGIN_SMALL_TOP = 'mst';
|
|
const MARGIN_MEDIUM_TOP = 'mmt';
|
|
const MARGIN_LARGE_TOP = 'mlt';
|
|
|
|
const PADDING_SMALL = 'ps';
|
|
const PADDING_MEDIUM = 'pm';
|
|
const PADDING_LARGE = 'pl';
|
|
|
|
const PADDING_SMALL_LEFT = 'psl';
|
|
const PADDING_MEDIUM_LEFT = 'pml';
|
|
const PADDING_LARGE_LEFT = 'pll';
|
|
|
|
const PADDING_SMALL_RIGHT = 'psr';
|
|
const PADDING_MEDIUM_RIGHT = 'pmr';
|
|
const PADDING_LARGE_RIGHT = 'plr';
|
|
|
|
const PADDING_SMALL_BOTTOM = 'psb';
|
|
const PADDING_MEDIUM_BOTTOM = 'pmb';
|
|
const PADDING_LARGE_BOTTOM = 'plb';
|
|
|
|
const PADDING_SMALL_TOP = 'pst';
|
|
const PADDING_MEDIUM_TOP = 'pmt';
|
|
const PADDING_LARGE_TOP = 'plt';
|
|
|
|
}
|