personal-website/res/dev-fs/wde/wdeUI.css

232 lines
4.8 KiB
CSS
Raw Permalink Normal View History

.WindowFrame {
2023-03-20 11:20:37 +00:00
/* Auto layout */
display: flex;
flex-direction: column;
align-items: flex-start;
padding: 4px;
2023-03-22 14:34:35 +00:00
padding-top: 2px;
2023-03-20 11:20:37 +00:00
padding-right: 6px;
gap: 4px;
2023-04-13 01:09:07 +00:00
position: absolute;
2023-03-20 11:20:37 +00:00
2023-05-04 02:00:09 +00:00
background: #DDDDDD;
border: 1px solid #555555;
2023-03-20 11:20:37 +00:00
/* Inside auto layout */
flex: none;
order: 1;
align-self: stretch;
flex-grow: 1;
}
2023-05-04 02:00:09 +00:00
/* TODO Add shadows to windows */
.WindowFrame.Focused{
border: 1px solid #000000;
background-color: #CCCCCC;
}
2023-05-04 00:38:24 +00:00
.WindowFrameShadow {
2023-05-04 02:00:09 +00:00
box-shadow: 2px 2px 0px #555555;
}
2023-05-07 21:31:03 +00:00
/* FIXME Not work on context menu */
.WindowFrameShadow.Focused {
2023-05-04 00:38:24 +00:00
box-shadow: 2px 2px 0px #000000;
}
2023-05-04 10:46:28 +00:00
.ConvexElement.Focused {
2023-05-04 00:38:24 +00:00
box-shadow: 1px 1px 0px rgba(0, 0, 0, 0.25),
inset -1px -1px 0px rgba(0, 0, 0, 0.27),
inset 1px 1px 0px #FFFFFF;
}
.AdjectiveElement {
2023-05-04 02:00:09 +00:00
border: 1px solid #555555;
}
2023-05-04 10:46:28 +00:00
.Focused .AdjectiveElement {
2023-05-04 00:38:24 +00:00
border: 1px solid #000000;
box-shadow: -1px -1px 0px rgba(0, 0, 0, 0.25),
1px 1px 0px #FFFFFF;
/* inset -1px -1px 0px rgba(0, 0, 0, 0.27), */
/* inset 1px 1px 0px #FFFFFF;*/
}
2023-03-20 11:20:37 +00:00
2023-05-04 00:38:24 +00:00
.AdjectiveHorizontalLine {
border-top: 1px solid rgba(0, 0, 0, 0.25);
border-bottom: 1px solid #FFFFFF;
width: 100%;
height: 0px;
2023-03-18 02:16:32 +00:00
}
.AdjectiveHorizontalLine:last-child {
height: 0%;
visibility: hidden;
}
2023-05-04 00:38:24 +00:00
.WindowFrame .TitleBar {
2023-04-13 01:09:07 +00:00
width: 100%;
2023-04-30 11:32:35 +00:00
height: 13px;
2023-04-13 01:09:07 +00:00
display: flex;
flex-direction: row;
2023-04-30 11:32:35 +00:00
align-items: center;
2023-05-04 02:00:09 +00:00
justify-content: center;
2023-04-30 11:32:35 +00:00
gap: 5px;
2023-04-13 01:09:07 +00:00
padding: 0px;
2023-04-30 11:32:35 +00:00
/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;
}
.WindowFrame .TitleBar .Lable {
2023-04-30 11:32:35 +00:00
position: relative;
top: 1px;
2023-04-30 11:32:35 +00:00
/* font-size: 13px; */
2023-05-04 02:00:09 +00:00
color:#777777;
2023-04-30 11:32:35 +00:00
pointer-events: none;
white-space: nowrap;
font-family: "Virtue";
letter-spacing: 0.35px;
2023-04-13 01:09:07 +00:00
}
2023-05-04 02:00:09 +00:00
.WindowFrame.Focused .TitleBar .Lable {
color:#000000;
}
2023-04-30 11:32:35 +00:00
.WindowFrame .TitleBar .Button {
2023-03-17 01:16:51 +00:00
width: 11px;
height: 11px;
padding: 0%;
2023-03-22 14:34:35 +00:00
position: relative;
top: 1px;
2023-05-04 02:00:09 +00:00
visibility: hidden;
2023-03-17 16:13:41 +00:00
background: linear-gradient(135deg, #999999 18.18%, #FFFFFF 81.82%);
2023-03-17 01:16:51 +00:00
border: 1px solid #222222;
box-shadow: 0.5px 0.5px 0px 0.5px #FFFFFF,
-0.5px -0.5px 0px 0.5px rgba(0, 0, 0, 0.25),
inset 1px 1px 0px rgba(255, 255, 255, 0.5),
inset -1px -1px 0px rgba(0, 0, 0, 0.27);
2023-03-17 01:16:51 +00:00
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
2023-05-04 02:00:09 +00:00
.WindowFrame.Focused .TitleBar .Button {
visibility: visible;
}
2023-04-30 11:32:35 +00:00
.WindowFrame .TitleBar .Button:active {
background-color: rgba(0, 0, 0, 0.4);
/* Green */
2023-04-30 11:32:35 +00:00
box-shadow: 0.5px 0.5px 0px 0.5px #FFFFFF,
-0.5px -0.5px 0px 0.5px rgba(0, 0, 0, 0.25);
2023-04-30 11:32:35 +00:00
}
2023-05-04 02:00:09 +00:00
.Focused .VisualDragArea {
2023-04-30 11:32:35 +00:00
pointer-events: none;
2023-03-18 00:34:56 +00:00
width: 100%;
2023-04-30 11:32:35 +00:00
height: 11px;
background: linear-gradient(transparent 0%, white 0%, white 50%, transparent 50%);
2023-04-30 11:32:35 +00:00
background-size: 2px 2px;
filter: drop-shadow(1px 1px 0px #777777);
}
2023-03-18 00:34:56 +00:00
2023-04-30 11:32:35 +00:00
.MobileContentBorder {
width: 100%;
height: 100%;
background-color: #DDDDDD;
/* border: 1px solid #000000; */
/* box-shadow: -1px -1px 0px rgba(0, 0, 0, 0.25),
1px 1px 0px #FFFFFF,
inset -1px -1px 0px rgba(0, 0, 0, 0.27),
inset 1px 1px 0px #FFFFFF; */
overflow: hidden;
overflow-x: hidden;
/* Auto layout */
2023-03-18 00:34:56 +00:00
display: flex;
flex-direction: row;
2023-04-30 11:32:35 +00:00
justify-content: center;
align-items: flex-start;
2023-03-18 00:34:56 +00:00
padding: 0px;
2023-04-30 11:32:35 +00:00
}
2023-03-20 11:20:37 +00:00
.MobileApplicationWindow {
2023-04-30 11:32:35 +00:00
width: 100%;
height: 100%;
/* Auto layout */
display: flex;
flex-direction: column;
align-items: flex-start;
gap: 4px;
2023-03-22 14:34:35 +00:00
2023-04-30 11:32:35 +00:00
position: absolute;
top: 0px;
left: 0px;
2023-03-18 00:34:56 +00:00
}
.MobileWindowFrameBottomBar {
2023-04-13 01:09:07 +00:00
width: 100%;
height: 20px;
/*
2023-04-13 01:09:07 +00:00
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 5px;
padding: 0px; */
/* Inside auto layout */
flex: none;
order: 0;
align-self: stretch;
flex-grow: 0;
}
.MobileWindowFrameBottomBarButton {
2023-04-13 01:09:07 +00:00
min-width: 11px;
width: auto;
height: 15px;
padding: 0px 4px 0px 4px;
position: absolute;
right: 4px;
background: linear-gradient(135deg, #999999 18.18%, #FFFFFF 81.82%);
border: 1px solid #222222;
box-shadow: 0.5px 0.5px 0px 0.5px #FFFFFF,
-0.5px -0.5px 0px 0.5px rgba(0, 0, 0, 0.25),
inset 1px 1px 0px rgba(255, 255, 255, 0.5),
inset -1px -1px 0px rgba(0, 0, 0, 0.27);
2023-04-13 01:09:07 +00:00
/* Inside auto layout */
flex: none;
order: 0;
flex-grow: 0;
}
.MobileWindowFrameBottomBar .MobileLable {
2023-04-13 01:09:07 +00:00
position: absolute;
/* top:1px; */
/* font-size: 13px; */
left: 50%;
2023-04-13 01:09:07 +00:00
pointer-events: none;
white-space: nowrap;
font-family: "Virtue";
letter-spacing: 0.35px;
2023-03-22 21:53:06 +00:00
}