-
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* light app css implementation * update style * update css
- Loading branch information
1 parent
9aed64e
commit 43815bc
Showing
4 changed files
with
159 additions
and
1 deletion.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,147 @@ | ||
/* Basics */ | ||
|
||
/* Loader and Not Found */ | ||
.app-wasm-layout { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
.app-wasm-icon { | ||
max-width: 100px; | ||
max-height: 100px; | ||
user-select: none; | ||
margin: 0 6px; | ||
-moz-user-select: none; | ||
-webkit-user-drag: none; | ||
-webkit-user-select: none; | ||
-ms-user-select: none; | ||
} | ||
|
||
.app-wasm-label { | ||
margin-top: 6px; | ||
font-size: 16pt; | ||
font-weight: 100; | ||
letter-spacing: 1px; | ||
max-width: 480px; | ||
text-align: center; | ||
text-transform: lowercase; | ||
} | ||
|
||
.app-notfound-title { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
font-size: 65pt; | ||
font-weight: 100; | ||
} | ||
|
||
.app-spin { | ||
animation: app-spin-frames 2.5s infinite linear; | ||
} | ||
|
||
@keyframes app-spin-frames { | ||
from { | ||
transform: rotate(0deg); | ||
} | ||
|
||
to { | ||
transform: rotate(360deg); | ||
} | ||
} | ||
|
||
/* Menu */ | ||
#app-contextmenu-background { | ||
position: fixed; | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
left: 0; | ||
top: 0; | ||
z-index: 42000; | ||
} | ||
|
||
.app-contextmenu { | ||
position: fixed; | ||
min-width: 150px; | ||
max-width: 480px; | ||
padding: 6px 0; | ||
border-radius: 6px; | ||
border: solid 1px rgba(255, 255, 255, 0.1); | ||
background-color: rgba(40, 38, 37, 0.97); | ||
color: white; | ||
-webkit-box-shadow: -1px 12px 38px 0px rgba(0, 0, 0, 0.6); | ||
-moz-box-shadow: -1px 12px 38px 0px rgba(0, 0, 0, 0.6); | ||
box-shadow: -1px 12px 38px 0px rgba(0, 0, 0, 0.6); | ||
} | ||
|
||
.app-contextmenu-hidden { | ||
display: none; | ||
} | ||
|
||
.app-contextmenu-visible { | ||
display: block; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
.app-contextmenu { | ||
color: black; | ||
background-color: rgba(221, 221, 221, 0.97); | ||
border: solid 1px rgba(0, 0, 0, 0.2); | ||
} | ||
} | ||
|
||
.app-menuitem { | ||
display: flex; | ||
align-items: center; | ||
border: 0; | ||
border-radius: 0; | ||
margin: 0; | ||
padding: 3px 24px; | ||
width: 100%; | ||
text-align: left; | ||
background-color: transparent; | ||
color: currentColor; | ||
} | ||
|
||
.app-menuitem:hover { | ||
background-color: deepskyblue; | ||
} | ||
|
||
.app-menuitem:disabled { | ||
opacity: 0.15; | ||
background-color: transparent; | ||
} | ||
|
||
.app-menuitem-separator { | ||
width: 100%; | ||
height: 0; | ||
margin: 6px 0; | ||
border-top: solid 1px rgba(255, 255, 255, 0.1); | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
.app-menuitem-separator { | ||
border-top: solid 1px rgba(0, 0, 0, 0.2); | ||
} | ||
} | ||
|
||
.app-menuitem-label { | ||
user-select: none; | ||
flex-grow: 1; | ||
} | ||
|
||
.app-menuitem-keys { | ||
flex-grow: 0; | ||
margin-left: 12px; | ||
text-transform: capitalize; | ||
} | ||
|
||
.app-menuitem-icon { | ||
width: 18px; | ||
height: 18px; | ||
margin-right: 12px; | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.