mirror of
https://github.com/penpot/penpot.git
synced 2025-01-30 10:51:09 -05:00
123 lines
2.1 KiB
SCSS
123 lines
2.1 KiB
SCSS
.document-history {
|
|
|
|
.history-tabs {
|
|
background-color: $secondary-ui-bg;
|
|
display: flex;
|
|
width: 100%;
|
|
|
|
li {
|
|
background: darken($secondary-ui-bg, 12%);
|
|
border-top-right-radius: $br-small;
|
|
border-top-left-radius: $br-small;
|
|
color: $intense-ui-text;
|
|
cursor: pointer;
|
|
font-size: $fs14;
|
|
font-weight: bold;
|
|
justify-content: center;
|
|
margin: $x-small $x-small 0 $x-small;
|
|
padding: $x-small $small;
|
|
text-align: center;
|
|
width: 50%;
|
|
|
|
&.selected {
|
|
background-color: $primary-ui-bg;
|
|
color: $main-ui-color;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.history-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100%;
|
|
|
|
li {
|
|
align-items: center;
|
|
border-bottom: 1px solid $soft-ui-border;
|
|
cursor: pointer;
|
|
display: flex;
|
|
font-size: $fs14;
|
|
width: 100%;
|
|
padding: $small;
|
|
|
|
.page-actions {
|
|
align-items: center;
|
|
display: flex;
|
|
margin-left: auto;
|
|
|
|
a {
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
height: 15px;
|
|
margin-left: $x-small;
|
|
width: 15px;
|
|
|
|
&:hover {
|
|
fill: $intense-ui-icons;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
.pin-icon {
|
|
cursor: pointer;
|
|
|
|
svg {
|
|
fill: $soft-ui-icons;
|
|
height: 12px;
|
|
margin-right: $small;
|
|
width: 12px;
|
|
|
|
&:hover {
|
|
fill: $intense-ui-icons;
|
|
}
|
|
|
|
}
|
|
|
|
&.selected {
|
|
|
|
svg {
|
|
fill: $intense-ui-icons;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {
|
|
color: $main-ui-color;
|
|
}
|
|
|
|
&.current {
|
|
color: $main-ui-color;
|
|
font-weight: bold;
|
|
|
|
span {
|
|
align-items: center;
|
|
display: flex;
|
|
|
|
&::before {
|
|
background-color: $main-ui-color;
|
|
border-radius: 50%;
|
|
content: "";
|
|
height: 6px;
|
|
flex-shrink: 0;
|
|
margin: $x-small;
|
|
width: 6px;
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|