| 1 | @use '../../shared/main'; |
| 2 | |
| 3 | :root { |
| 4 | height: 100dvh; |
| 5 | --success: #5c5; |
| 6 | } |
| 7 | body { |
| 8 | margin: 0; |
| 9 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', |
| 10 | 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', |
| 11 | sans-serif; |
| 12 | -webkit-font-smoothing: antialiased; |
| 13 | -moz-osx-font-smoothing: grayscale; |
| 14 | height: 100vh; |
| 15 | background: #000; |
| 16 | } |
| 17 | #root { min-height: 100%; display:flex; } |
| 18 | main { |
| 19 | word-break: break-word; /* avoid causing unnecessary horizontal scrolling */ |
| 20 | } |
| 21 | code { |
| 22 | font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New', |
| 23 | monospace; |
| 24 | } |
| 25 | img.flag { |
| 26 | width: 1.5em; |
| 27 | height: 1em; |
| 28 | vertical-align: text-top; |
| 29 | margin-top: 1px; |
| 30 | } |
| 31 | .icon-w-text { |
| 32 | margin-right: .5em; |
| 33 | } |
| 34 | form { max-width: 100%; } // make fields with unbreakable text (LinkField) to not overflow the available space |
| 35 | |
| 36 | .MuiSvgIcon-root { |
| 37 | vertical-align: bottom; |
| 38 | } |
| 39 | div.MuiTreeItem-content { |
| 40 | padding-top: 1px; // denser |
| 41 | padding-bottom: 0; |
| 42 | } |
| 43 | .MuiDataGrid-columnHeaders { |
| 44 | background-color: #8882; |
| 45 | } |
| 46 | .MuiDataGrid-virtualScrollerRenderZone .MuiDataGrid-row // make it heavier |
| 47 | .MuiDataGrid-cell { |
| 48 | line-height: 1.2em; |
| 49 | display: flex; |
| 50 | align-items: center; |
| 51 | flex-wrap: wrap; |
| 52 | } |
| 53 | .MuiDataGrid-filterForm { flex-wrap: wrap; row-gap: 1em; justify-content: flex-end; } // fit on mobile |
| 54 | |
| 55 | .wrap[role=cell] { white-space: normal !important } |
| 56 | |
| 57 | ol, ul { margin-top: .2em; margin-bottom: .2em; padding-left: 1.5em; } |
| 58 | |
| 59 | h2.MuiDialogTitle-root { /* less padding */ |
| 60 | padding-top: 2px; |
| 61 | padding-bottom: 2px; |
| 62 | } |
| 63 | .dialog-alert .MuiDialogContent-root { |
| 64 | max-width: 45em; |
| 65 | padding: .5em 1em; |
| 66 | white-space: pre-wrap; |
| 67 | } |
| 68 | |
| 69 | .release code { |
| 70 | font-size: 95%; |
| 71 | background-color: #8883; |
| 72 | padding: 0 0.2em; |
| 73 | border-radius: .2em; |
| 74 | } |
| 75 | |
| 76 | .MuiAppBar-root { |
| 77 | .MuiAlert-standardInfo { |
| 78 | .MuiAlert-icon { color: #fff8 !important} |
| 79 | .MuiAlert-message { color: #fffa !important } |
| 80 | } |
| 81 | .MuiAlert-colorWarning { |
| 82 | .MuiAlert-icon { color: #ff08 !important} |
| 83 | .MuiAlert-message { color: #ff0a !important } |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | .animated-dashed-line { |
| 88 | width: 100%; |
| 89 | height: 2px; |
| 90 | background-image: linear-gradient(to right, currentColor 50%, transparent 50%); |
| 91 | background-size: 10px 100%; /* 20px is the length of each dash + gap */ |
| 92 | animation: animate-dash 1s alternate linear infinite; |
| 93 | } |
| 94 | @keyframes animate-dash { to { background-position: 20px 0; } } |
| 95 | |
| 96 | @keyframes success { |
| 97 | 50% { transform: scale(1.3); color: var(--success); } |
| 98 | 100% { transform: inherit; color: inherit; } |
| 99 | } |
| 100 | |
| 101 | // (try) avoid hidden scrollbars |
| 102 | ::-webkit-scrollbar { width: 4px } |
| 103 | ::-webkit-scrollbar-thumb { background: #8888 } |
| 104 | ::-webkit-scrollbar-track { background: #8882 } |
| 105 | |
| 106 | // adjust prism black theme |
| 107 | .token.operator { background: unset !important; } |
| 108 | |
| 109 | .fflag { width: 1.7em; height: 1.1em; vertical-align: bottom; border: none; } |