scinote-web/app/assets/stylesheets/shared/content_pane.scss

58 lines
862 B
SCSS
Raw Normal View History

2020-06-01 16:24:03 +08:00
.content-pane {
background-color: $color-white;
margin: 20px 0;
padding: 25px 20px;
&.flexible {
margin: 0;
padding: 0 .5em;
}
.content-header {
align-items: center;
2020-07-13 20:51:51 +08:00
border-bottom: $border-tertiary;
2020-06-01 16:24:03 +08:00
display: flex;
height: 5em;
h1 {
margin: 0;
}
.view-switch {
margin-left: auto;
.caret {
margin: 8px 0 8px 8px;
}
&.open {
.caret {
transform: rotateX(180deg)
}
}
.dropdown-menu {
@include font-button;
2020-07-20 21:17:24 +08:00
min-width: auto;
li {
cursor: pointer;
padding: 1em;
2020-07-20 21:17:24 +08:00
white-space: nowrap;
.button-icon {
margin-right: .5em;
}
&:hover {
background: $color-concrete;
}
}
}
}
2020-06-01 16:24:03 +08:00
}
.content-body {
}
}