Files
filebrowser/frontend/src/css/_shell.css
T

87 lines
1.3 KiB
CSS
Raw Normal View History

2019-01-05 16:12:09 +00:00
.shell {
position: fixed;
bottom: 0;
left: 0;
max-height: calc(100% - 4em);
2024-04-01 17:18:22 +02:00
background: var(--surfacePrimary);
color: var(--textPrimary);
2023-09-14 15:50:40 -07:00
z-index: 9999;
2024-05-19 18:00:10 +08:00
background: var(--dividerSecondary);
2023-09-14 15:50:40 -07:00
transition: 0.2s ease background;
cursor: ns-resize;
touch-action: none;
user-select: none;
2024-05-19 18:00:10 +08:00
width: 100%;
}
2024-08-18 13:51:16 +02:00
.shell__divider {
2024-05-19 18:00:10 +08:00
background: rgba(127, 127, 127, 0.3);
width: 100%;
height: 8px;
2023-09-14 15:50:40 -07:00
}
.shell__divider:hover {
2024-05-19 18:00:10 +08:00
background: rgba(127, 127, 127, 0.9);
2023-09-14 15:50:40 -07:00
}
.shell__content {
height: 100%;
2019-01-05 16:12:09 +00:00
font-family: monospace;
overflow: auto;
font-size: 1rem;
cursor: text;
2024-04-01 17:18:22 +02:00
box-shadow: 0 0 5px var(--borderPrimary);
transition: 0.2s ease transform;
2019-01-05 16:12:09 +00:00
}
2023-09-14 15:50:40 -07:00
.shell__overlay {
position: fixed;
width: 100%;
height: 100%;
top: 0px;
left: 0px;
z-index: 9998;
2024-05-19 18:00:10 +08:00
background-color: var(--dividerPrimary);
2023-09-14 15:50:40 -07:00
}
body.rtl .shell-content {
2022-10-21 19:07:11 +03:00
direction: ltr;
}
2019-01-05 16:12:09 +00:00
.shell__result {
display: flex;
padding: 0.5em;
align-items: flex-start;
2024-04-01 17:18:22 +02:00
border-top: 1px solid var(--divider);
2019-01-05 16:12:09 +00:00
}
.shell--hidden {
transform: translateY(105%);
}
.shell__result--hidden {
opacity: 0;
}
.shell__text,
.shell__prompt,
.shell__prompt i {
font-size: inherit;
}
.shell__prompt {
width: 1.2rem;
}
.shell__prompt i {
color: var(--blue);
}
.shell__text {
margin: 0;
font-family: inherit;
white-space: pre-wrap;
width: 100%;
2024-08-18 13:51:16 +02:00
color: var(--textSecondary);
2019-01-05 16:12:09 +00:00
}