BM-Camera-Control-WebUI/style.css

466 lines
8.6 KiB
CSS
Raw Normal View History

2024-06-14 19:40:07 -04:00
/* Sorry the CSS is such a mess. -DS */
2024-06-12 20:18:19 -04:00
/* ============= WHOLE PAGE STYLES ================== */
2024-06-13 19:49:36 -04:00
/* Handle vertical screens */
@media screen and (max-width: 1400px) and (orientation: portrait) {
2024-06-13 19:49:36 -04:00
#cameraControlsContainer {
width: 100vw!important;
}
#cameraControlsContainerExpanded {
display: none!important;
2024-06-13 19:49:36 -04:00
}
2024-06-14 19:40:07 -04:00
body {
font-size: 125%;
}
}
@media screen and (max-width: 1400px) and (orientation: landscape) {
#cameraControlsContainer {
width: 30vw!important;
}
body {
font-size: 70%;
2024-06-14 19:40:07 -04:00
}
2024-06-13 19:49:36 -04:00
}
2024-06-11 19:46:25 -04:00
/* Load NotoSansDisplay Font from resources */
@font-face {
font-family: 'NotoSansDisplay';
src: url('resources/NotoSansDisplay-VariableFont_wdth\,wght.woff') format('woff'), /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
url('resources/NotoSansDisplay-VariableFont_wdth\,wght.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}
2024-06-13 17:46:46 -04:00
.dNone {
display: none;
}
2024-06-11 19:46:25 -04:00
body {
font-family: 'NotoSansDisplay', sans-serif;
2024-06-12 20:18:19 -04:00
font-weight: 100;
2024-06-11 19:46:25 -04:00
margin: 0px;
overflow: hidden;
background: #181818;
color: white;
}
/* Page Body Flexboxes */
.flexContainerH {
display: flex;
}
.flexContainerV {
display: inline-flex;
}
2024-06-12 20:18:19 -04:00
/* Inputs */
input[type=text] {
border-radius: 0.5vh;
background: rgb(30, 30, 30);
color: white;
height: 2em;
width: 10vw;
border: 1px solid rgb(20, 20, 20);
text-align: center;
font-family: 'NotoSansDisplay', sans-serif;
outline: none;
margin: 0px 0.5vw;
}
input[type=text]:focus {
border: 1px solid rgb(150, 58, 0);
}
input[type=number] {
border-radius: 0.5vh;
background: rgb(30, 30, 30);
color: white;
height: 2em;
width: 4.666vw;
border: 1px solid rgb(20, 20, 20);
text-align: center;
font-family: 'NotoSansDisplay', sans-serif;
outline: none;
}
input[type=number]:focus {
border: 1px solid rgb(150, 58, 0);
}
input[type=range][orient=vertical] {
writing-mode: vertical-lr; direction: rtl;
width: 2vw;
height: 80%;
}
select {
border-radius: 0.5vh;
background: rgb(30, 30, 30);
color: white;
height: 2em;
width: 5vw;
border: 1px solid rgb(20, 20, 20);
text-align: center;
font-family: 'NotoSansDisplay', sans-serif;
outline: none;
}
select:focus {
border: 1px solid rgb(150, 58, 0);
}
button {
font-family: 'NotoSansDisplay', sans-serif;
background: #181818;
background: linear-gradient(0deg, #232323 0%, #404040 100%);
border: 0.3vh solid black;
outline: 0.3vh solid #404040;
color: white;
height: fit-content;
width: fit-content;
border-radius: 0.4em;
padding: 0.5vh 1vw;
margin: 1vh;
}
button:hover {
background: #313131;
background: linear-gradient(0deg, #313131 0%, #4d4d4d 100%);
}
button:active {
background: #181818;
box-shadow: inset 0 0 1em #090909;
}
input[type=file]:focus {
border: 1px solid rgb(150, 58, 0);
}
2024-07-09 12:46:16 -04:00
#secureCheckboxLabel {
margin-right: 1vw;
}
2024-06-11 19:46:25 -04:00
/* Horizontal Container Styles */
#headerContainer {
background: #181818;
background: linear-gradient(0deg, #181818 0%, #303030 100%);
border-bottom: 1px solid black;
width: 100%;
height: 7.77vh;
flex-wrap: wrap;
align-content: center;
}
#headerContainer h1 {
color: white;
margin-left: 1.3vw;
2024-06-12 20:18:19 -04:00
font-weight: 100;
2024-06-11 19:46:25 -04:00
}
#cameraSelectContainer {
background: #222222;
border: 1px solid black;
width: 100%;
height: 3.53vh;
2024-06-12 20:18:19 -04:00
color: #474747;
font-size: 1em;
align-items: center;
justify-content: center;
}
#cameraSelectContainer span {
height: fit-content;
}
#cameraSelectContainer .camSelectSeparator {
margin: 0px 0.5em;
}
.cameraSwitchLabel a {
text-decoration: none;
color: #474747;
}
.cameraSwitchLabel.selectedCam a {
color: #e66c01;
2024-06-11 19:46:25 -04:00
}
#allCamerasContainer {
width: 100%;
height: 83.1vh;
overflow-x: scroll;
overflow-y: hidden;
scrollbar-color: #202020 #151515;
}
2024-06-13 17:46:46 -04:00
#formatDisplay span {
margin: 0px 1em;
}
2024-06-11 19:46:25 -04:00
#footerContainer {
background: #181818;
background: linear-gradient(0deg, #181818 0%, #303030 100%);
border: 1px solid black;
width: 100%;
height: 5vh;
position: fixed;
bottom: 0;
2024-06-12 20:18:19 -04:00
align-items: center;
justify-content: space-between;
}
#footerContainer button {
padding: 0.4em 0.8em;
font-size: x-small;
}
2024-06-13 17:46:46 -04:00
#refreshingText.refreshing {
color: #606060ff;
}
#refreshingText {
color: #60606000;
}
2024-06-12 20:18:19 -04:00
#footerLinks span {
margin-right: 1.25vw;
}
2024-07-02 17:53:25 -04:00
#footerLeft span {
margin-left: 1.25vw;
}
2024-06-12 20:18:19 -04:00
#footerLinks a {
text-decoration: none;
color: #e66c01;
2024-06-11 19:46:25 -04:00
}
/* Camera Controls Container */
2024-06-12 20:18:19 -04:00
#cameraControlsContainer {
2024-06-11 19:46:25 -04:00
width: 15vw;
height: 100%;
background: #282828;
flex-direction: column;
border: 1px solid black;
flex-shrink: 0;
}
2024-06-12 20:18:19 -04:00
.liveCam {
2024-06-11 19:46:25 -04:00
background: rgb(184,3,16);
background: linear-gradient(90deg, rgba(184,3,16,1) 0%, rgba(255,0,19,1) 15%, rgba(255,0,19,1) 85%, rgba(184,3,16,1) 100%);
}
2024-06-12 20:18:19 -04:00
#cameraControlHeadContainer {
2024-06-11 19:46:25 -04:00
width: 100%;
height: 5vh;
border-bottom: 2px solid black;
align-items: center;
2024-06-12 20:18:19 -04:00
color: white;
2024-06-11 19:46:25 -04:00
}
2024-06-12 20:18:19 -04:00
h2 {
2024-06-11 19:46:25 -04:00
margin-inline-start: 0.6em;
margin-inline-end: 0.6em;
2024-06-12 20:18:19 -04:00
font-weight: 100;
}
#cameraName {
2024-06-11 19:46:25 -04:00
}
/* Color Correction Section */
2024-06-12 20:18:19 -04:00
#cameraControlColorCorrectionContainer {
2024-06-11 19:46:25 -04:00
width: 100%;
height: 33vh;
2024-06-12 20:18:19 -04:00
flex-direction: column;
align-items: center;
justify-content: space-between;
}
#cameraControlLGGTabs {
margin-top: 2vh;
border: 1px solid #101010;
border-radius: 2.5vh;
overflow: hidden;
}
#cameraControlLGGTabs a {
background: #181818;
background: linear-gradient(0deg, #181818 0%, #303030 100%);
padding: 0.1vh 1.25vw 0.25vh 1.25vw;
border-left: 1px solid #101010;
text-decoration: none;
color: #474747;
}
#cameraControlLGGTabs a.selectedTab {
color: #e66c01;
}
.ccExposureSettingValueContainer .expAdjArr {
text-decoration: none;
color: #60606000;
}
.ccExposureSettingValueContainer:hover .expAdjArr {
color: #606060ff;
}
.ccExposureSettingValueContainer:hover .expAdjArr:hover {
color: #474747;
}
.ccExposureSettingValueContainer:hover .expAdjArr:active {
color: #e66c01;
}
#cameraControlColorCorrectionBottomContainer {
margin-bottom: 1em;
display: inline-flex;
align-items: center;
}
#cameraControlColorCorrectionBottomContainer button {
margin: 0px 0.5em;
}
#cameraControlColorCorrectionNumbersContainer span {
margin: 0px 0.5em;
text-decoration: underline 3px;
2024-06-11 19:46:25 -04:00
}
/* Exposure Section */
2024-06-12 20:18:19 -04:00
#cameraControlExposureContainer {
2024-06-11 19:46:25 -04:00
width: 100%;
2024-06-12 20:18:19 -04:00
height: 4.7vh;
2024-06-11 19:46:25 -04:00
background-color: #171717;
border-top: 1px solid #2d2d2d;
border-bottom: 1px solid #2d2d2d;
display: inline-flex;
justify-content: space-evenly;
overflow: hidden;
}
.ccExposureSettingContainer {
display: flex;
color: white;
font-size: 0.86em;
flex-direction: column;
align-content: center;
justify-content: center;
align-items: center;
padding-bottom: 0.5vh;
padding-top: 0.25vh;
}
.exposureControlLabel {
color: #6e6e6e;
font-size: 0.666em;
display: block;
}
/* Lens Stuff */
2024-06-12 20:18:19 -04:00
#cameraControlLensContainer {
2024-06-11 19:46:25 -04:00
width: 100%;
height: 41.9vh;
border-bottom: 1px solid black;
justify-content: space-evenly;
}
.lensSliderContainer {
display: flex;
flex-direction: column;
align-items: center;
}
.lensSliderContainer span {
margin-top: 1em;
margin-bottom: 1em;
}
2024-06-12 20:18:19 -04:00
.circleButton {
width: 2em;
height: 2em;
border-radius: 1em;
padding: 0;
margin: 1em 0;
2024-06-11 19:46:25 -04:00
}
.activated {
background: #181818;
box-shadow: inset 0 0 1em #090909;
}
2024-06-12 20:18:19 -04:00
#transportControls .circleButton {
margin: 0 0.5em;
2024-06-11 19:46:25 -04:00
}
/* Right side (expanded) */
2024-06-12 20:18:19 -04:00
#cameraControlsContainerExpanded {
2024-06-11 19:46:25 -04:00
width: 84.75vw;
height: 100%;
background: #282828;
flex-direction: column;
border: 1px solid black;
flex-shrink: 0;
}
2024-06-12 20:18:19 -04:00
#cameraControlExpandedHeadContainer {
2024-06-11 19:46:25 -04:00
width: 100%;
height: 5vh;
border-bottom: 2px solid black;
align-items: center;
2024-06-12 20:18:19 -04:00
justify-content: space-between;
2024-06-11 19:46:25 -04:00
}
2024-06-12 20:18:19 -04:00
#cameraControlExpandedBodyContainer {
flex-direction: column;
display: inline-flex;
height: inherit;
justify-content: space-around;
2024-06-11 19:46:25 -04:00
}
2024-06-12 20:18:19 -04:00
#timecodeLabel {
2024-06-11 19:46:25 -04:00
}
2024-06-13 17:46:46 -04:00
#connectionErrorSpan {
color: #e64b3d;
}
#manualRequestResponseP {
color: #6e6e6e;
}
2024-06-12 20:18:19 -04:00
/* Table Controls */
.tableControl {
margin-left: 1.5vw;
2024-06-11 19:46:25 -04:00
}
2024-06-12 20:18:19 -04:00
.tableControl h3 {
font-weight: 100;
margin: 0.5vh 0vw;
}
table, td {
margin-left: 0.5vw;
/* border: 1px solid white; */
border-collapse: collapse;
padding: 0.1vw 1vw;
}
td, tr {
align-items: center;
2024-06-11 19:46:25 -04:00
}