mirror of
https://github.com/Snigdha-OS/documentation.git
synced 2025-09-12 20:04:57 +02:00
33 lines
779 B
Plaintext
33 lines
779 B
Plaintext
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
@each $type in (margin, padding) {
|
|
@each $size, $value in (none, xs, sm, md, lg, xl),
|
|
(0, 0.25rem, 0.5rem, 1rem, 2rem, 5rem)
|
|
{
|
|
.$(type)--$(size) {
|
|
$(type): $(value) !important;
|
|
}
|
|
|
|
@each $side in (top, left, bottom, right) {
|
|
.$(type)-$(side)--$(size) {
|
|
$(type)-$(side): $(value) !important;
|
|
}
|
|
}
|
|
|
|
.$(type)-vert--$(size) {
|
|
$(type)-bottom: $(value) !important;
|
|
$(type)-top: $(value) !important;
|
|
}
|
|
|
|
.$(type)-horiz--$(size) {
|
|
$(type)-left: $(value) !important;
|
|
$(type)-right: $(value) !important;
|
|
}
|
|
}
|
|
}
|