mirror of
https://github.com/penpot/penpot.git
synced 2025-01-23 23:18:48 -05:00
be865af1fc
Signed-off-by: Ondřej Konečný <ondrej.konecny@gmail.com>
139 lines
2.1 KiB
SCSS
139 lines
2.1 KiB
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
|
|
|
|
.history-debug-overlay {
|
|
background: $color-gray-50;
|
|
bottom: 0;
|
|
max-height: 500px;
|
|
overflow-y: auto;
|
|
position: absolute;
|
|
width: 500px;
|
|
z-index: 1000;
|
|
}
|
|
|
|
.history-toolbox {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.history-toolbox-title {
|
|
color: $color-gray-10;
|
|
font-size: $fs14;
|
|
padding: 0.5rem;
|
|
}
|
|
|
|
.history-entry-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
padding: 1rem;
|
|
|
|
.history-entry-empty-icon {
|
|
margin-bottom: 1rem;
|
|
svg {
|
|
width: 32px;
|
|
height: 32px;
|
|
fill: $color-gray-40;
|
|
}
|
|
}
|
|
|
|
.history-entry-empty-msg {
|
|
color: $color-gray-30;
|
|
font-size: $fs12;
|
|
}
|
|
}
|
|
|
|
.history-entries {
|
|
font-size: $fs12;
|
|
color: $color-gray-20;
|
|
fill: $color-gray-20;
|
|
height: 100%;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.history-entry {
|
|
border: 1px solid $color-gray-60;
|
|
border-radius: $br4;
|
|
margin: 0.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
padding: 0.5rem;
|
|
cursor: pointer;
|
|
|
|
transition: border 0.2s;
|
|
|
|
&.disabled {
|
|
opacity: 0.5;
|
|
}
|
|
|
|
&.current {
|
|
background-color: $color-gray-60;
|
|
}
|
|
|
|
&.hover {
|
|
border-color: $color-primary;
|
|
}
|
|
}
|
|
|
|
.history-entry-summary {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
|
|
* {
|
|
display: flex;
|
|
}
|
|
}
|
|
|
|
.history-entry-summary-icon {
|
|
svg {
|
|
width: 16px;
|
|
height: 16px;
|
|
}
|
|
}
|
|
|
|
.history-entry-summary-text {
|
|
flex: 1;
|
|
margin: 0 0.5rem;
|
|
margin-top: 2px;
|
|
}
|
|
|
|
.history-entry-summary-button {
|
|
opacity: 0;
|
|
transition: transform 0.2s;
|
|
|
|
svg {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.show-detail &,
|
|
.hover & {
|
|
opacity: 1;
|
|
}
|
|
|
|
.show-detail & {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
|
|
.history-entry-detail {
|
|
display: none;
|
|
|
|
.show-detail & {
|
|
display: block;
|
|
padding: 1rem 0 0.5rem 0;
|
|
}
|
|
|
|
.history-entry-details-list {
|
|
margin: 0;
|
|
|
|
li {
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
}
|
|
}
|