mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 19:27:52 +01:00
Refactor stylesheets
This commit is contained in:
@@ -73,6 +73,7 @@
|
||||
.postLink {
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
margin: 8px 0;
|
||||
}
|
||||
|
||||
.postLink:hover {
|
||||
@@ -86,46 +87,46 @@
|
||||
justify-content: space-between;
|
||||
|
||||
height: 114px;
|
||||
margin: 4px 0;
|
||||
margin: 0;
|
||||
padding: 8px 4px;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 100%;
|
||||
|
||||
.postTitle {
|
||||
color: black;
|
||||
font-weight: 500;
|
||||
font-size: 18px;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 100%;
|
||||
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-right: 4px;
|
||||
margin-top: auto;
|
||||
margin-bottom: auto;
|
||||
margin-right: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
87
app/javascript/stylesheets/components/Roadmap.scss
Normal file
87
app/javascript/stylesheets/components/Roadmap.scss
Normal file
@@ -0,0 +1,87 @@
|
||||
.roadmapColumns {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
|
||||
@media (max-width: 800px) {
|
||||
.roadmapColumn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 801px) {
|
||||
.roadmapColumn {
|
||||
width: 32%;
|
||||
}
|
||||
}
|
||||
|
||||
.roadmapColumn {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 4px;
|
||||
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
|
||||
.columnHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
padding-bottom: 4px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.columnTitle {
|
||||
margin: 0 8px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.scrollContainer {
|
||||
overflow-y: auto;
|
||||
max-height: 350px;
|
||||
|
||||
.postList {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
.postLink {
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.postLink:hover {
|
||||
text-decoration: none;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.postListItem {
|
||||
margin: 4px 0;
|
||||
padding: 8px 4px;
|
||||
}
|
||||
|
||||
.postTitle {
|
||||
color: black;
|
||||
font-weight: 500;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.postBoard {
|
||||
color: grey;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +0,0 @@
|
||||
.postList {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
@media (max-width: 800px) {
|
||||
.roadmapColumn {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 801px) {
|
||||
.roadmapColumn {
|
||||
width: 32%;
|
||||
}
|
||||
}
|
||||
|
||||
.roadmapColumn {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-radius: 4px;
|
||||
|
||||
margin: 8px 0;
|
||||
padding: 8px;
|
||||
}
|
||||
|
||||
.columnHeader {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
padding-bottom: 4px;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.dot {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.columnTitle {
|
||||
margin: 0 8px;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.scrollContainer {
|
||||
overflow-y: auto;
|
||||
max-height: 350px;
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
.postLink {
|
||||
text-decoration: none;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.postLink:hover {
|
||||
text-decoration: none;
|
||||
background-color: #f5f5f5;
|
||||
}
|
||||
|
||||
.postListItem {
|
||||
margin: 4px 0;
|
||||
padding: 8px 4px;
|
||||
}
|
||||
|
||||
.postTitle {
|
||||
color: black;
|
||||
font-weight: 500;
|
||||
font-size: 17px;
|
||||
}
|
||||
|
||||
.postBoard {
|
||||
color: grey;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
}
|
||||
@@ -1,7 +0,0 @@
|
||||
.roadmapColumns {
|
||||
display: flex;
|
||||
flex: 1 1 auto;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
Reference in New Issue
Block a user