Files
astuto/app/javascript/stylesheets/components/Board.scss

121 lines
1.6 KiB
SCSS
Raw Normal View History

.boardContainer {
@extend
.d-flex,
.justify-content-between,
.align-items-start;
flex-direction: row;
.sidebar {
position: sticky;
top: 20px;
.sidebarBox {
width: 250px;
}
}
@media (max-width: 800px) {
2019-09-05 13:51:17 +02:00
flex-direction: column;
.sidebar {
position: relative;
width: 100%;
top: 0;
.sidebarBox {
2019-09-05 13:51:17 +02:00
width: 100%;
}
}
}
.sidebarBox {
@extend
.d-flex,
.flex-column,
.justify-content-start,
.align-items-center,
.flex-grow-0,
.flex-shrink-0;
2019-09-03 18:55:37 +02:00
border: thin solid black;
border-radius: 4px;
2019-09-02 19:26:34 +02:00
margin: 8px;
padding: 8px;
2019-09-02 19:26:34 +02:00
}
2019-09-03 12:58:44 +02:00
.postStatusListItemContainer {
@extend
.d-flex,
.align-self-stretch;
}
.postStatusListItemLink {
@extend
.flex-grow-1;
}
.postStatusListItem {
@extend
.p-1;
height: 40px;
2019-09-03 12:58:44 +02:00
&:hover {
2019-09-03 12:58:44 +02:00
cursor: pointer;
background-color: #f5f5f5;
border-radius: 4px;
}
}
2019-09-03 12:58:44 +02:00
.resetFilter {
@extend
.flex-grow-0,
.flex-shrink-0,
.align-self-center,
.p-0;
width: 30px;
height: 30px;
}
2019-09-03 12:58:44 +02:00
.postList {
@extend
.d-flex,
.flex-column,
.flex-grow-1;
2019-09-03 12:58:44 +02:00
}
2019-09-02 19:26:34 +02:00
.postLink {
display: block;
border-radius: 4px;
margin: 8px 0;
color: black;
&:hover {
text-decoration: none;
background-color: #f5f5f5;
}
2019-09-02 19:26:34 +02:00
}
2019-09-03 12:58:44 +02:00
.postListItem {
@extend
.d-flex,
.flex-column,
.justify-content-between,
.m-0,
.px-2,
.py-1;
height: 114px;
}
.postDetails {
@extend
.d-flex,
.justify-content-between,
.text-uppercase;
}
2019-09-02 14:32:57 +02:00
}