table beautification complete
This commit is contained in:
@@ -44,24 +44,27 @@ export default {
|
||||
padding: 0.5rem 1rem 0.5rem 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
.toggleWrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
width: min-content;
|
||||
border: 3px;
|
||||
border-color: #08e5ff;
|
||||
border-style: solid;
|
||||
border-radius: .5rem;
|
||||
overflow:hidden;
|
||||
}
|
||||
.viewToggle {
|
||||
padding: 0 .2rem;
|
||||
color: #008190;
|
||||
}
|
||||
.active {
|
||||
background-color: #08e5ff;
|
||||
color: #232331;
|
||||
}
|
||||
div {
|
||||
cursor: pointer;
|
||||
}
|
||||
.toggleWrapper {
|
||||
display: grid;
|
||||
grid-template-columns: 1fr 1fr;
|
||||
width: min-content;
|
||||
border: 3px;
|
||||
border-color: #08e5ff;
|
||||
border-style: solid;
|
||||
border-radius: 0.5rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.viewToggle {
|
||||
padding: 0 0.2rem;
|
||||
color: #008190;
|
||||
}
|
||||
.active {
|
||||
background-color: #08e5ff;
|
||||
color: #232331;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 400px) {
|
||||
|
||||
@@ -52,58 +52,26 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.tableHead {
|
||||
background: #2d3748;
|
||||
border-radius: 0.3rem;
|
||||
padding: 1rem;
|
||||
padding: 0.25rem;
|
||||
transition: 0.2s ease-in-out;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// position: relative;
|
||||
|
||||
&--active {
|
||||
box-shadow: inset 0px 0px 0px 3px #08e5ff;
|
||||
}
|
||||
|
||||
&--reference {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
&--links {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
|
||||
img {
|
||||
width: 1rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
width: 1fr;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(150px, 2fr) 8fr 125px;
|
||||
|
||||
&--title {
|
||||
font-weight: 900;
|
||||
margin: 0;
|
||||
color: #008190;
|
||||
}
|
||||
|
||||
&--description {
|
||||
// display: flex;
|
||||
// align-content: stretch;
|
||||
// flex: 1 1 auto;
|
||||
// flex-direction: column;
|
||||
font-size: 13px;
|
||||
color: white;
|
||||
margin: 0 0 0.7rem 0;
|
||||
color: #008190;
|
||||
line-height: 1.3;
|
||||
letter-spacing: 0.5px;
|
||||
max-width: 15rem;
|
||||
}
|
||||
a {
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
align-self: flex-end;
|
||||
margin-left: 1.7rem;
|
||||
|
||||
&:hover::before {
|
||||
opacity: 0.5;
|
||||
}
|
||||
&--links {
|
||||
cursor: pointer;
|
||||
color: #008190;
|
||||
}
|
||||
|
||||
&--reference {
|
||||
&::before {
|
||||
position: absolute;
|
||||
|
||||
@@ -57,58 +57,41 @@ export default {
|
||||
<style lang="scss" scoped>
|
||||
.tableRow {
|
||||
background: #2d3748;
|
||||
border-radius: 0.3rem;
|
||||
padding: 1rem;
|
||||
padding: 0.25rem;
|
||||
transition: 0.2s ease-in-out;
|
||||
// display: flex;
|
||||
// flex-direction: column;
|
||||
// position: relative;
|
||||
width: 1fr;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(150px, 2fr) 8fr 125px;
|
||||
|
||||
&--active {
|
||||
box-shadow: inset 0px 0px 0px 3px #08e5ff;
|
||||
&--title {
|
||||
color: white;
|
||||
}
|
||||
|
||||
&--reference {
|
||||
cursor: pointer;
|
||||
&--description {
|
||||
color: #008190;
|
||||
line-height: 1.3;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
&--links {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
cursor: pointer;
|
||||
|
||||
tr {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
img {
|
||||
width: 1rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
&--title {
|
||||
font-weight: 900;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
&--description {
|
||||
// display: flex;
|
||||
// align-content: stretch;
|
||||
// flex: 1 1 auto;
|
||||
// flex-direction: column;
|
||||
font-size: 13px;
|
||||
color: white;
|
||||
margin: 0 0 0.7rem 0;
|
||||
line-height: 1.3;
|
||||
letter-spacing: 0.5px;
|
||||
max-width: 15rem;
|
||||
}
|
||||
a {
|
||||
font-size: 12px;
|
||||
line-height: 1;
|
||||
align-self: flex-end;
|
||||
margin-left: 1.7rem;
|
||||
|
||||
&:hover::before {
|
||||
opacity: 0.5;
|
||||
}
|
||||
}
|
||||
|
||||
&--reference {
|
||||
&::before {
|
||||
position: absolute;
|
||||
|
||||
Reference in New Issue
Block a user