mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
fix: code clean
This commit is contained in:
parent
d4b65ea014
commit
cf1583238f
@ -1,30 +0,0 @@
|
||||
.WindowAppBar {
|
||||
-webkit-app-region: drag;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
width: 100%;
|
||||
height: 25px;
|
||||
z-index: 5000;
|
||||
background-color: #2d2d2d;
|
||||
}
|
||||
|
||||
.WindowControl {
|
||||
float: right;
|
||||
height: 100%;
|
||||
padding: 0 20px 0 0;
|
||||
transition: all 140ms linear;
|
||||
color: #747474;
|
||||
}
|
||||
|
||||
.anticon{
|
||||
margin: 0 15px 0 15px;
|
||||
display: inline-block;
|
||||
color: inherit;
|
||||
font-style: normal;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.WindowControl:hover{
|
||||
color: #ffffff;
|
||||
}
|
@ -1,25 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="WindowAppBar.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="WindowAppBar">
|
||||
<div class="WindowControl">
|
||||
<span role="img" aria-label="minus" id="minimize-button" class="anticon">
|
||||
<svg viewBox="64 64 896 896" focusable="false" class="" data-icon="minus" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M872 474H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h720c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"></path></svg>
|
||||
</span>
|
||||
<span role="img" aria-label="fullscreen" class="anticon">
|
||||
<svg viewBox="64 64 896 896" focusable="false" class="" data-icon="fullscreen" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M290 236.4l43.9-43.9a8.01 8.01 0 00-4.7-13.6L169 160c-5.1-.6-9.5 3.7-8.9 8.9L179 329.1c.8 6.6 8.9 9.4 13.6 4.7l43.7-43.7L370 423.7c3.1 3.1 8.2 3.1 11.3 0l42.4-42.3c3.1-3.1 3.1-8.2 0-11.3L290 236.4zm352.7 187.3c3.1 3.1 8.2 3.1 11.3 0l133.7-133.6 43.7 43.7a8.01 8.01 0 0013.6-4.7L863.9 169c.6-5.1-3.7-9.5-8.9-8.9L694.8 179c-6.6.8-9.4 8.9-4.7 13.6l43.9 43.9L600.3 370a8.03 8.03 0 000 11.3l42.4 42.4zM845 694.9c-.8-6.6-8.9-9.4-13.6-4.7l-43.7 43.7L654 600.3a8.03 8.03 0 00-11.3 0l-42.4 42.3a8.03 8.03 0 000 11.3L734 787.6l-43.9 43.9a8.01 8.01 0 004.7 13.6L855 864c5.1.6 9.5-3.7 8.9-8.9L845 694.9zm-463.7-94.6a8.03 8.03 0 00-11.3 0L236.3 733.9l-43.7-43.7a8.01 8.01 0 00-13.6 4.7L160.1 855c-.6 5.1 3.7 9.5 8.9 8.9L329.2 845c6.6-.8 9.4-8.9 4.7-13.6L290 787.6 423.7 654c3.1-3.1 3.1-8.2 0-11.3l-42.4-42.4z"></path></svg>
|
||||
</span>
|
||||
<span role="img" aria-label="close" id="close-button" class="anticon">
|
||||
<svg viewBox="64 64 896 896" focusable="false" class="" data-icon="close" width="1em" height="1em" fill="currentColor" aria-hidden="true"><path d="M563.8 512l262.5-312.9c4.4-5.2.7-13.1-6.1-13.1h-79.8c-4.7 0-9.2 2.1-12.3 5.7L511.6 449.8 295.1 191.7c-3-3.6-7.5-5.7-12.3-5.7H203c-6.8 0-10.5 7.9-6.1 13.1L459.4 512 196.9 824.9A7.95 7.95 0 00203 838h79.8c4.7 0 9.2-2.1 12.3-5.7l216.5-258.1 216.5 258.1c3 3.6 7.5 5.7 12.3 5.7h79.8c6.8 0 10.5-7.9 6.1-13.1L563.8 512z"></path></svg>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
@ -39,7 +39,7 @@
|
||||
transform: translate(-10px, 0);
|
||||
}
|
||||
|
||||
.bouncy-logo .ball svg {
|
||||
.bouncy-logo .ball svg {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
margin: auto;
|
||||
|
@ -99,7 +99,7 @@ export default class Overlay extends React.PureComponent {
|
||||
const { overlayElement, overlayActive, session_data, session_valid, session_uuid } = this.props.app
|
||||
const mainElement = (
|
||||
<div>
|
||||
<div><__searchBar /></div>
|
||||
<div><__searchBar /></div>
|
||||
<div className={styles.mainElement}>
|
||||
<Card_Component>Banana</Card_Component>
|
||||
{session_valid? <Card_Component style={{ display: 'flex', lineHeight: '30px', wordBreak: 'break-all' }} ><antd.Avatar src={session_data.avatar} shape="square" /> <div style={{ marginLeft: '10px' }}> @{session_data.username}<span style={{ fontSize: "11px" }}>#{session_uuid}</span></div></Card_Component> : null }
|
||||
|
@ -15,7 +15,7 @@
|
||||
}
|
||||
|
||||
.navbar:hover{
|
||||
background-color: rgba(54, 54, 54, 0.658);
|
||||
background-color: rgba(54, 54, 54, 0.658);
|
||||
}
|
||||
|
||||
.controls{
|
||||
|
@ -25,7 +25,7 @@
|
||||
.newloader {
|
||||
transform: scale(0.28);
|
||||
width: 54px;
|
||||
height: 23px;
|
||||
height: 23px;
|
||||
}
|
||||
|
||||
.newloader>div {
|
||||
|
@ -20,7 +20,7 @@
|
||||
min-width: 570px;
|
||||
|
||||
@media (min-width: @bp-medium) {
|
||||
min-width: 750px;
|
||||
min-width: 750px;
|
||||
}
|
||||
@media (min-width: @bp-xlarge) {
|
||||
min-width: 1112px;
|
||||
|
@ -13,6 +13,10 @@
|
||||
padding: 15px;
|
||||
border-radius: 10px;
|
||||
|
||||
.debuggerComponent {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
:global {
|
||||
.ant-menu-inline {
|
||||
color: @__Global_layout_color;
|
||||
@ -23,13 +27,7 @@
|
||||
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected {
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
.debuggerComponent {
|
||||
padding: 15px;
|
||||
}
|
||||
|
||||
:global {
|
||||
|
||||
.ant-list-item {
|
||||
padding-top: 7px;
|
||||
padding-bottom: 7px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user