mirror of
https://github.com/penpot/penpot.git
synced 2026-05-22 08:23:42 +00:00
36 lines
976 B
SCSS
36 lines
976 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
|
|
|
|
@use "common/refactor/common-refactor.scss" as *;
|
|
|
|
.button {
|
|
--pin-button-icon-color: var(--button-icon-foreground-color);
|
|
--pin-button-bg-color: none;
|
|
--pin-button-border-color: none;
|
|
|
|
width: $s-32;
|
|
height: $s-32;
|
|
background: var(--pin-button-bg-color);
|
|
border: $s-2 solid var(--pin-button-border-color);
|
|
border-radius: $br-8;
|
|
display: grid;
|
|
place-content: center;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button-active {
|
|
--pin-button-icon-color: var(--button-icon-foreground-color-selected);
|
|
--pin-button-bg-color: var(--button-icon-background-color-selected);
|
|
--pin-button-border-color: var(--button-icon-border-color-selected);
|
|
}
|
|
|
|
.icon {
|
|
width: $s-16;
|
|
height: $s-16;
|
|
fill: none;
|
|
stroke: var(--pin-button-icon-color);
|
|
}
|