-
-
Notifications
You must be signed in to change notification settings - Fork 226
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove some conflicting '!important' CSS flags. Make commas in Prompt Highlighter more prominent. Add txt2img/img2img Extra options group/accordion styling. Aspect Ratio extension style fixes. Popup max-height fix.
- Loading branch information
Showing
6 changed files
with
213 additions
and
107 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,63 @@ | ||
import { Theme, css } from 'antd-style'; | ||
|
||
export default (token: Theme) => css` | ||
.global-popup-close { | ||
background-color: ${token.colorBgMask} !important; | ||
backdrop-filter: blur(4px); | ||
&::before { | ||
font-size: 24px !important; | ||
line-height: 24px !important; | ||
.global-popup { | ||
.global-popup-close { | ||
background-color: ${token.colorBgMask} !important; | ||
backdrop-filter: blur(4px); | ||
&::before { | ||
font-size: 24px !important; | ||
line-height: 24px !important; | ||
} | ||
} | ||
} | ||
.global-popup-inner { | ||
> div { | ||
border-radius: ${token.borderRadiusLG}px !important; | ||
box-shadow: ${token.boxShadow} !important; | ||
} | ||
.global-popup-inner { | ||
max-height: unset; | ||
.popup-metadata { | ||
overflow: auto; | ||
> div { | ||
border-radius: ${token.borderRadiusLG}px !important; | ||
box-shadow: ${token.boxShadow} !important; | ||
} | ||
width: 75vw; | ||
max-height: 85vh; | ||
padding: 32px; | ||
.popup-metadata { | ||
overflow: auto; | ||
font-family: ${token.fontFamilyCode}; | ||
color: ${token.colorText}; | ||
word-break: break-word; | ||
width: 75vw; | ||
max-height: 85vh; | ||
padding: 32px; | ||
background: ${token.colorBgLayout}; | ||
border-radius: ${token.borderRadiusLG}px !important; | ||
border-radius: ${token.borderRadius}px; | ||
box-shadow: ${token.boxShadow} !important; | ||
} | ||
font-family: ${token.fontFamilyCode}; | ||
color: ${token.colorText}; | ||
word-break: break-word; | ||
.edit-user-metadata { | ||
> div:not(.edit-user-metadata-buttons):not(:last-child) { | ||
margin: 0 0 8px; | ||
background: ${token.colorBgLayout}; | ||
border-radius: ${token.borderRadiusLG}px !important; | ||
border-radius: ${token.borderRadius}px; | ||
box-shadow: ${token.boxShadow} !important; | ||
} | ||
.standalone-card-preview { | ||
cursor: default; | ||
display: contents; | ||
width: 100%; | ||
height: auto; | ||
.edit-user-metadata { | ||
> div:not(.edit-user-metadata-buttons):not(:last-child) { | ||
margin: 0 0 8px; | ||
} | ||
.standalone-card-preview { | ||
cursor: default; | ||
display: contents; | ||
width: 100%; | ||
height: auto; | ||
> img { | ||
position: relative; | ||
> img { | ||
position: relative; | ||
} | ||
} | ||
} | ||
} | ||
.popup-dialog, | ||
.edit-user-metadata { | ||
width: 50vw !important; | ||
.popup-dialog, | ||
.edit-user-metadata { | ||
width: 50vw !important; | ||
} | ||
} | ||
} | ||
`; |