mirror of
https://github.com/GabsPuNs/Project-Zenith-Main.git
synced 2026-07-10 19:08:32 +00:00
170 lines
2.2 KiB
C
170 lines
2.2 KiB
C
static const char* common_rcss = R"RCSS(
|
|
body
|
|
{
|
|
font-family: rmlui-debugger-font;
|
|
z-index: 1000000;
|
|
font-size: 13dp;
|
|
line-height: 1.4;
|
|
color: black;
|
|
padding-top: 30dp;
|
|
}
|
|
div, h1, h2, h3, h4, p
|
|
{
|
|
display: block;
|
|
}
|
|
em
|
|
{
|
|
font-style: italic;
|
|
}
|
|
h1
|
|
{
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
left: 0;
|
|
height: 22dp;
|
|
padding: 4dp 5dp;
|
|
color: white;
|
|
background-color: #888;
|
|
font-size: 15dp;
|
|
}
|
|
h2
|
|
{
|
|
background-color: #ddd;
|
|
border-width: 1dp 0px;
|
|
border-color: #888;
|
|
}
|
|
h3
|
|
{
|
|
margin-top: 0.6em;
|
|
color: red;
|
|
}
|
|
h4
|
|
{
|
|
color: #cc0000;
|
|
}
|
|
handle#position_handle
|
|
{
|
|
display: block;
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
}
|
|
h1 .button
|
|
{
|
|
z-index: 1;
|
|
}
|
|
div#close_button
|
|
{
|
|
margin-left: 10dp;
|
|
z-index: 1;
|
|
float: right;
|
|
width: 18dp;
|
|
color: black;
|
|
background-color: #ddd;
|
|
border-width: 1dp;
|
|
border-color: #666;
|
|
text-align: center;
|
|
}
|
|
div#close_button:hover
|
|
{
|
|
background-color: #eee;
|
|
}
|
|
div#close_button:active
|
|
{
|
|
background-color: #fff;
|
|
}
|
|
div#content
|
|
{
|
|
position: relative;
|
|
width: auto;
|
|
height: 100%;
|
|
overflow: auto;
|
|
background: white;
|
|
border-width: 2dp;
|
|
border-color: #888;
|
|
border-top-width: 0;
|
|
}
|
|
.error
|
|
{
|
|
background: #d24040;
|
|
color: white;
|
|
border-color: #b74e4e;
|
|
}
|
|
.warning
|
|
{
|
|
background: #e8d34e;
|
|
color: black;
|
|
border-color: #ca9466;
|
|
}
|
|
.info
|
|
{
|
|
background: #2a9cdb;
|
|
color: white;
|
|
border-color: #3b70bb;
|
|
}
|
|
.debug
|
|
{
|
|
background: #3fab2a;
|
|
color: white;
|
|
border-color: #226c13;
|
|
}
|
|
scrollbarvertical
|
|
{
|
|
width: 16dp;
|
|
scrollbar-margin: 16dp;
|
|
}
|
|
scrollbarhorizontal
|
|
{
|
|
height: 16dp;
|
|
scrollbar-margin: 16dp;
|
|
}
|
|
scrollbarvertical slidertrack,
|
|
scrollbarhorizontal slidertrack
|
|
{
|
|
background: #aaa;
|
|
border-color: #888;
|
|
}
|
|
scrollbarvertical slidertrack
|
|
{
|
|
border-left-width: 1dp;
|
|
}
|
|
scrollbarhorizontal slidertrack
|
|
{
|
|
height: 15dp;
|
|
border-top-width: 1dp;
|
|
}
|
|
scrollbarvertical sliderbar,
|
|
scrollbarhorizontal sliderbar
|
|
{
|
|
background: #ddd;
|
|
border-color: #888;
|
|
}
|
|
scrollbarvertical sliderbar
|
|
{
|
|
border-width: 1dp 0;
|
|
margin-left: 1dp;
|
|
}
|
|
scrollbarhorizontal sliderbar
|
|
{
|
|
height: 15dp;
|
|
border-width: 0 1dp;
|
|
margin-top: 1dp;
|
|
}
|
|
scrollbarcorner
|
|
{
|
|
background: #888;
|
|
}
|
|
handle#size_handle
|
|
{
|
|
position: absolute;
|
|
width: 16dp;
|
|
height: 16dp;
|
|
bottom: 0dp;
|
|
right: 2dp;
|
|
background-color: #888;
|
|
}
|
|
)RCSS";
|