0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-30 10:51:09 -05:00
penpot/resources/styles/dependencies/helpers.scss

49 lines
519 B
SCSS
Raw Normal View History

2015-06-18 19:35:50 +02:00
// Padding & Margin sizes
$x-small: 5px;
$small: 10px;
$medium: 15px;
$big: 20px;
$x-big: 30px;
// Border radius
$br-small: 3px;
$br-medium: 5px;
$br-big: 8px;
// Alignments
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.row-flex {
align-items: center;
display: flex;
margin-bottom: $x-small;
&.column {
flex-direction: column;
}
}
&.half {
width: 50%;
}
// Display
.hidden {
display: none;
}
.hide {
opacity: 0;
}
.display {
opacity: 1 !important;
}