-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Handbook Table Theme Fix #6612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Handbook Table Theme Fix #6612
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,78 @@ | ||
import styled from "styled-components"; | ||
export const HandbookWrapper = styled.div` | ||
|
||
/* repository overview */ | ||
div.accessRequired { | ||
font-size: small; | ||
line-height: .9rem; | ||
font-style: italic; | ||
} | ||
details.invite-only { | ||
margin: 1rem; | ||
padding: 1rem; | ||
background-color: ${(props) => props.theme.grey313131ToGreenC9FCF6}; | ||
span { | ||
font-weight: bold; | ||
display: inline; | ||
} | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
width: 98%; | ||
margin: 1rem 0 2rem 0; | ||
.github-icon{ | ||
height: 1.7rem; | ||
width:auto; | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
filter: invert(${(props) => props.theme.meshInterfaceLogoFilter}); | ||
} | ||
.site-icon{ | ||
height: 1.6rem; | ||
width:auto; | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.inline { | ||
display: inline; | ||
vertical-align: bottom; | ||
} | ||
.smp-action{ | ||
filter: invert(${(props) => props.theme.meshInterfaceLogoFilter}); | ||
} | ||
} | ||
|
||
.table-container { | ||
width: 100%; | ||
overflow-x: auto; | ||
} | ||
|
||
td, th { | ||
border: 0.05rem solid ${(props) => props.theme.primaryLightColor}; | ||
text-align: left; | ||
padding: 0.5rem; | ||
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); | ||
} | ||
|
||
.archived-project { | ||
opacity: 0.3; | ||
background-color: #808080; | ||
// pointer-events: none; | ||
} | ||
|
||
.linkscol{ | ||
text-align: center; | ||
width:8%; | ||
} | ||
|
||
tbody:nth-child(even) { | ||
background-color: ${(props) => props.theme.secondaryLightColorTwo}; | ||
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); | ||
} | ||
|
||
.content > a:first-of-type > h2:first-of-type { | ||
padding-top: 1rem; | ||
} | ||
|
@@ -128,62 +200,6 @@ export const HandbookWrapper = styled.div` | |
padding-bottom: 4rem; | ||
} | ||
|
||
table { | ||
border-collapse: collapse; | ||
width: 98%; | ||
margin: 1rem 0 2rem 0; | ||
.github-icon{ | ||
height: 1.7rem; | ||
width:auto; | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
filter: invert(${(props) => props.theme.meshInterfaceLogoFilter}); | ||
} | ||
.site-icon{ | ||
height: 1.6rem; | ||
width:auto; | ||
display: block; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
.inline { | ||
display: inline; | ||
vertical-align: bottom; | ||
} | ||
.smp-action{ | ||
filter: invert(${(props) => props.theme.meshInterfaceLogoFilter}); | ||
} | ||
} | ||
|
||
.table-container { | ||
width: 100%; | ||
overflow-x: auto; | ||
} | ||
|
||
td, th { | ||
border: 0.05rem solid ${(props) => props.theme.primaryLightColor}; | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @Namanv0509 I don't this the error is with td, th. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes i was skeptical on it , will try to find the overlapping. Thanks @vr-varad There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ooh with the td tb , when i was toggling theme , the border colors also had an issue i found and not only the cells , thats why i changed that too . @vr-varad |
||
text-align: left; | ||
padding: 0.5rem; | ||
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); | ||
} | ||
|
||
.archived-project { | ||
opacity: 0.3; | ||
background-color: #808080; | ||
// pointer-events: none; | ||
} | ||
|
||
.linkscol{ | ||
text-align: center; | ||
width:8%; | ||
} | ||
|
||
tbody:nth-child(even) { | ||
background-color: ${(props) => props.theme.secondaryLightColorTwo}; | ||
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); | ||
} | ||
|
||
.codes{ | ||
width:75% | ||
margin-top:-2rem; | ||
|
@@ -571,19 +587,5 @@ width: 90%; | |
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); | ||
} | ||
} | ||
/* repository overview */ | ||
div.accessRequired { | ||
font-size: small; | ||
line-height: .9rem; | ||
font-style: italic; | ||
} | ||
details.invite-only { | ||
margin: 1rem; | ||
padding: 1rem; | ||
background-color: ${(props) => props.theme.grey313131ToGreenC9FCF6}; | ||
span { | ||
font-weight: bold; | ||
display: inline; | ||
} | ||
} | ||
|
||
`; |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -463,4 +463,4 @@ export const darktheme = { | |
|
||
}; | ||
|
||
export default lighttheme; | ||
export default lighttheme; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is the change @Namanv0509