0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-09 06:11:23 -05:00
penpot/frontend/resources/styles/common/framework.scss
2024-06-27 15:35:57 +02:00

30 lines
816 B
SCSS

// 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) KALEIDOS INC
// TODO: These are legacy Sass vars that are now only used in this file.
// We should switch them for the new DS tokens.
$size-4: 1rem;
$fs14: 0.875rem;
input,
select {
box-sizing: border-box;
font-family: "worksans", sans-serif;
font-size: $fs14;
margin-bottom: $size-4;
-webkit-appearance: none;
-moz-appearance: none;
}
[draggable] {
-moz-user-select: none;
-khtml-user-select: none;
-webkit-user-select: none;
user-select: none;
/* Required to make elements draggable in old WebKit */
-khtml-user-drag: element;
-webkit-user-drag: element;
}