0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-29 18:09:19 -05:00
penpot/frontend/resources/styles/common/dependencies/helpers.scss

59 lines
915 B
SCSS
Raw Normal View History

2016-03-01 20:39:13 +02:00
// 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/.
//
// Copyright (c) 2015-2016 Andrey Antukh <niwi@niwi.nz>
// Copyright (c) 2015-2016 Juan de la Cruz <delacruzgarciajuan@gmail.com>
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;
2016-04-23 11:42:17 +02:00
margin-bottom: $small;
2015-06-18 19:35:50 +02:00
&.column {
flex-direction: column;
}
&.center {
justify-content: center;
}
2015-06-18 19:35:50 +02:00
}
2016-05-25 17:41:10 +02:00
.column-half {
margin-right: $small;
}
2015-06-18 19:35:50 +02:00
// Display
.hidden {
display: none;
}
.hide {
opacity: 0;
}
.display {
opacity: 1 !important;
}