Last active
May 4, 2024 14:37
-
-
Save juji/d1770dce973ccc4be47701e08ab4d946 to your computer and use it in GitHub Desktop.
Contentful Fullscreen Editor & Selection Color
This file contains hidden or 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
/* | |
Dark mode by UltimaDark, on firefox | |
https://addons.mozilla.org/en-US/firefox/addon/ultimadark/ | |
*/ | |
/* selection color */ | |
::-moz-selection { | |
color: #2d2d2d !important; | |
background: #1bd900 !important; | |
} | |
::selection { | |
color: #2d2d2d !important; | |
background: #1bd900 !important; | |
} | |
/* Make the editor fullscreen */ | |
#field-editor-modal-root + [data-react-modal-body-trap] + div { | |
&>div{ | |
max-width: 100% !important; | |
max-height: 100% !important; | |
min-width: 100% !important; | |
min-height: 100% !important; | |
width: 100% !important; | |
height: 100% !important; | |
padding: 0 !important; | |
&>div{ | |
max-width: 100% !important; | |
max-height: 100% !important; | |
min-width: 100% !important; | |
min-height: 100% !important; | |
width: 100% !important; | |
height: 100% !important; | |
padding: 0 !important; | |
&>div{ | |
max-width: 100% !important; | |
max-height: 100% !important; | |
min-width: 100% !important; | |
min-height: 100% !important; | |
width: 100% !important; | |
height: 100% !important; | |
padding: 0 !important; | |
&>div{ | |
max-width: 100% !important; | |
max-height: 100% !important; | |
min-width: 100% !important; | |
min-height: 100% !important; | |
width: 100% !important; | |
height: 100% !important; | |
padding: 0 !important; | |
&>div{ | |
max-width: 100% !important; | |
max-height: 100% !important; | |
min-width: 100% !important; | |
min-height: 100% !important; | |
width: 100% !important; | |
height: 100% !important; | |
padding: 0 !important; | |
& button[aria-label$=preview] + div > div > p{ | |
display: none !important; | |
} | |
} | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment