0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-07 14:58:38 -05:00
penpot/frontend/resources/styles/main/partials/sidebar-interactions.scss

82 lines
1.4 KiB
SCSS
Raw Normal View History

2016-05-25 17:41:10 +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>
2020-04-27 14:31:57 +02:00
.interactions-help {
font-size: $fs12;
2021-10-05 10:16:44 +02:00
padding: 7px $size-4;
margin: 0 -7px;
2020-04-27 14:31:57 +02:00
text-align: center;
&.separator {
2021-10-05 10:16:44 +02:00
padding-bottom: $size-4;
border-bottom: 1px solid $color-black;
}
2020-04-27 14:31:57 +02:00
}
.interactions-help-icon {
height: 32px;
width: 32px;
2021-10-05 10:16:44 +02:00
margin: $size-4 auto;
2020-04-27 14:31:57 +02:00
svg {
fill: $color-gray-40;
height: 32px;
width: 32px;
}
}
2021-09-06 15:53:44 +02:00
.interactions-summary {
cursor: pointer;
flex-basis: 0;
flex-grow: 1;
2021-09-06 15:53:44 +02:00
.trigger-name {
font-size: $fs12;
color: $color-white;
}
.action-summary {
font-size: $fs11;
color: $color-gray-20;
}
}
.interactions-element {
display: flex;
align-items: center;
margin: 0 -7px;
padding: 0 7px;
2021-09-06 15:53:44 +02:00
.element-label {
color: $color-gray-20;
font-size: $fs11;
width: 64px;
}
&.separator {
border-top: 1px solid $color-black;
2021-10-05 10:16:44 +02:00
margin-top: $size-1;
}
2021-09-06 15:53:44 +02:00
}
2021-09-17 19:48:18 +02:00
.interactions-pos-buttons {
2021-10-05 10:16:44 +02:00
margin-top: $size-2;
padding-top: $size-2;
padding-bottom: $size-2;
justify-content: space-between;
.element-set-actions-button {
min-width: 18px;
min-height: 18px;
}
2021-09-17 19:48:18 +02:00
svg {
width: 18px;
height: 18px;
}
}