mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-19 20:06:00 +00:00
prettier
This commit is contained in:
@@ -6,33 +6,33 @@ import useTheme from '../theme/useTheme';
|
||||
const ButtonDiv = styled.div`
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
${(props) => props.theme.inlinebtn_background} 5%,
|
||||
${(props) => props.theme.inlinebtn_background3} 100%
|
||||
${props => props.theme.inlinebtn_background} 5%,
|
||||
${props => props.theme.inlinebtn_background3} 100%
|
||||
);
|
||||
background-color: ${(props) => props.theme.inlinebtn_background};
|
||||
border: 1px solid ${(props) => props.theme.inlinebtn_background3};
|
||||
background-color: ${props => props.theme.inlinebtn_background};
|
||||
border: 1px solid ${props => props.theme.inlinebtn_background3};
|
||||
display: inline-block;
|
||||
cursor: pointer;
|
||||
vertical-align: middle;
|
||||
color: ${(props) => props.theme.inlinebtn_font1};;
|
||||
color: ${props => props.theme.inlinebtn_font1};
|
||||
font-size: 12px;
|
||||
padding: 3px;
|
||||
margin: 0;
|
||||
text-decoration: none;
|
||||
&:hover {
|
||||
border: 1px solid ${(props) => props.theme.inlinebtn_font2};
|
||||
border: 1px solid ${props => props.theme.inlinebtn_font2};
|
||||
}
|
||||
&:active:hover {
|
||||
background: linear-gradient(
|
||||
to bottom,
|
||||
${(props) => props.theme.inlinebtn_background3} 5%,
|
||||
${(props) => props.theme.inlinebtn_background} 100%
|
||||
${props => props.theme.inlinebtn_background3} 5%,
|
||||
${props => props.theme.inlinebtn_background} 100%
|
||||
);
|
||||
background-color: ${(props) => props.theme.inlinebtn_background3};
|
||||
background-color: ${props => props.theme.inlinebtn_background3};
|
||||
}
|
||||
display: flex;
|
||||
|
||||
${(props) =>
|
||||
${props =>
|
||||
props.square &&
|
||||
`
|
||||
width: 18px;
|
||||
|
||||
Reference in New Issue
Block a user