This repository has been archived on 2026-05-12. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
Inkpad/css/program.css
2023-12-21 12:40:14 -03:00

195 lines
2.8 KiB
CSS

*
{
overflow: hidden;
-ms-scroll-rails: none;
-ms-content-zooming: none;
}
@media screen and (-ms-view-state: full-screen)
{
#canvasGroup
{
display: block;
position: fixed;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
width: 100%;
height: 100%;
}
}
@media screen and (-ms-view-state: fill)
{
#HighlightColors
{
display:none;
}
#HighlightWidth
{
display:none;
}
#bottomAppBar hr
{
display:none;
}
#canvasGroup
{
display: block;
position: fixed;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
width: 100%;
height: 100%;
}
}
@media screen and (-ms-view-state: snapped)
{
/* Docked */
#ModeErase
{
display:none;
}
#ModeSelect
{
display:none;
}
#InkColors
{
display:none;
}
#InkWidth
{
display:none;
}
#HighlightColors
{
display:none;
}
#HighlightWidth
{
display:none;
}
#More
{
display:none;
}
button.color
{
display:none;
}
#bottomAppBar hr
{
display:none;
}
#canvasGroup
{
display: block;
position: fixed;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
width: 100%;
height: 100%;
}
}
@media screen and (-ms-view-state: device-portrait)
{
#HighlightColors
{
display:none;
}
#HighlightWidth
{
display:none;
}
#bottomAppBar hr
{
display:none;
}
#canvasGroup
{
display: block;
position: fixed;
left: 0px;
right: 0px;
top: 0px;
bottom: 0px;
width: 100%;
height: 100%;
}
}
/* ISSUE: Perhaps we can have a border on color buttons when in high contrast? */
@media screen and (-ms-high-contrast)
{
button.color, canvas.surface
{
-ms-high-contrast-adjust: none;
}
}
#statusMessage
{
position: relative;
z-index: 1000;
color: black;
font-size: 10pt;
height: 24px;
}
#canvasGroup
{
overflow: scroll;
z-index: 0;
}
canvas.surface
{
display: block;
position: absolute;
width: 100%;
height: 100%;
}
#HighlightCanvas
{
background-color: White;
z-index: 1;
}
#InkCanvas
{
background-color: rgba(0, 0, 0, 0.075);
z-index: 2;
}
#SelectCanvas
{
background-color: rgba(0, 0, 0, 0.0);
cursor: "url(images/erase.cur)";
z-index: 3;
}
.color-choice
{
float: left;
position: relative;
margin-bottom: 10px;
margin-right: 10px;
width: 73px;
height: 48px;
border: 1px solid #ffffff;
}
#RecoFlyout
{
color: black;
/* display: block; */
}