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

177 lines
2.7 KiB
SCSS
Raw Normal View History

2019-09-02 14:32:57 +02:00
.boardContainer {
display: flex;
flex: 1 1 auto;
justify-content: space-between;
align-items: flex-start;
flex-wrap: nowrap;
2019-09-02 19:26:34 +02:00
2019-09-03 12:58:44 +02:00
.smallTitle {
font-size: 18px;
font-weight: 500;
}
2019-09-02 19:26:34 +02:00
.sidebar {
top: 20px;
position: sticky;
2019-09-03 12:58:44 +02:00
.sidebar-box {
flex: 0 0 auto;
2019-09-02 19:26:34 +02:00
2019-09-03 12:58:44 +02:00
width: 250px;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
}
.box {
2019-09-02 19:26:34 +02:00
border: 1px solid black;
border-radius: 4px;
padding: 8px;
margin: 8px;
2019-09-03 12:58:44 +02:00
}
2019-09-02 19:26:34 +02:00
2019-09-03 12:58:44 +02:00
.newBoardContainer {
2019-09-02 19:26:34 +02:00
.boardName {
font-size: 24px;
font-weight: 600;
text-align: center;
}
.boardDescription {
color: grey;
font-size: 17px;
font-weight: 200;
text-align: center;
margin-bottom: 8px;
}
.submitBtn {
margin-bottom: 8px;
}
.success {
color: green;
text-align: center;
}
.error {
color: red;
text-align: center;
}
}
2019-09-03 12:58:44 +02:00
.postStatusFilterContainer {
.postStatusListItemContainer {
display: flex;
flex: 1 1 auto;
align-self: stretch;
}
.postStatusListItemLink {
flex: 1 1 auto;
}
.postStatusListItem {
height: 40px;
display: flex;
align-items: center;
text-transform: uppercase;
padding: 4px;
}
.postStatusListItem:hover {
cursor: pointer;
background-color: #f5f5f5;
border-radius: 4px;
}
.resetFilter {
flex: 0 0 auto;
width: 30px;
height: 30px;
padding: 0;
align-self: center;
}
}
2019-09-02 19:26:34 +02:00
.postList {
display: flex;
flex-direction: column;
flex: 1 1 auto;
.postLink {
text-decoration: none;
border-radius: 4px;
2019-09-02 19:59:55 +02:00
margin: 8px 0;
2019-09-02 19:26:34 +02:00
}
.postLink:hover {
text-decoration: none;
background-color: #f5f5f5;
}
.postListItem {
display: flex;
flex-direction: column;
justify-content: space-between;
height: 114px;
2019-09-02 19:59:55 +02:00
margin: 0;
2019-09-02 19:26:34 +02:00
padding: 8px 4px;
2019-09-02 19:59:55 +02:00
.postTitle {
color: black;
font-weight: 500;
font-size: 17px;
}
.postDescription {
color: grey;
font-weight: 400;
font-size: 15px;
}
.postDetails {
display: flex;
color: black;
font-size: 16px;
text-transform: uppercase;
.postDetailsComments {
margin-right: 16px;
}
.postDetailsStatus {
display: flex;
}
}
2019-09-02 19:26:34 +02:00
}
}
2019-09-03 12:58:44 +02:00
}
.dot {
width: 16px;
height: 16px;
border-radius: 100%;
margin-top: auto;
margin-bottom: auto;
margin-right: 4px;
2019-09-02 14:32:57 +02:00
}