1
Fork 0
mirror of https://github.com/jech/galene.git synced 2024-11-22 16:45:58 +01:00
galene/static/galene.css
2023-12-08 23:41:51 +01:00

1347 lines
22 KiB
CSS

.nav-fixed .topnav {
z-index: 1039;
}
.fixed-top{
position: fixed;
top: 0;
right: 0;
left: 0;
z-index: 1030;
}
.topnav {
padding-left: 0;
height: 3.5rem;
z-index: 1039;
}
.navbar .form-control, .topnav {
font-size: 1rem;
}
.form-control {
display: block;
padding: .375rem .75rem;
font-size: 1rem;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: .25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.form-control-inline {
display: inline-block;
}
.shadow {
box-shadow: 0 .15rem 1.75rem 0 rgba(31,45,65,.15);
}
.bg-white {
background-color: #fff;
}
.bg-gray {
background-color: #eee;
}
.profile {
width: 230px;
}
.profile-logo {
float: left;
width: 50px;
height: 50px;
background: #b681c3;
border-radius: 25px;
text-align: center;
vertical-align: middle;
font-size: 1.4em;
padding: 7px;
color: #f9f9f9;
}
.profile-info {
float: left;
margin-left: 10px;
margin-top: 8px;
color: #616263;
width: 120px;
}
.user-logout {
float: right;
text-align: center;
}
.logout-icon {
display: block;
font-size: 1.5em;
}
.logout-text {
font-size: .7em;
}
.profile-info span {
display: block;
line-height: 1.2;
text-transform: capitalize;
}
#permspan {
font-size: .9em;
color: #108e07;
font-style: italic;
}
.sidenav .user-logout a {
font-size: 1em;
padding: 7px 0 0;
color: #e4157e;
cursor: pointer;
line-height: .7;
}
.sidenav .user-logout a:hover {
color: #ab0659;
}
.navbar, .navbar .container, .navbar .container-fluid, .navbar .container-lg, .navbar .container-md, .navbar .container-sm, .navbar .container-xl {
display: -webkit-box;
display: flex;
flex-wrap: wrap;
-webkit-box-align: center;
align-items: center;
-webkit-box-pack: justify;
justify-content: space-between;
background: #610a86;
}
.navbar {
position: relative;
padding: .1rem;
}
.topnav .navbar-brand {
width: 15rem;
padding-left: 1rem;
padding-right: 1rem;
margin: 0;
font-size: 1rem;
font-weight: 700;
}
.btn {
display: inline-block;
font-weight: 400;
font-size: 1em;
text-align: center;
white-space: nowrap;
vertical-align: middle;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
border: 1px solid transparent;
padding: 0.255rem .75rem;
line-height: 1.5;
border-radius: .25rem;
transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.btn {
transition-duration: 0.4s;
}
.btn-default:hover {
color: #fff;
background-color: #545b62;
border-color: #4e555b;
}
.btn-default {
color: #fff;
background-color: #6c757d;
border-color: #6c757d;
}
.btn:not(:disabled):not(.disabled) {
cursor: pointer;
}
.btn-success {
color: #fff;
background-color: #28a745;
border-color: #28a745;
}
.btn-success:hover {
color: #fff;
background-color: #218838;
border-color: #1e7e34;
}
.btn-cancel {
color: #fff;
background-color: #dc3545;
border-color: #dc3545;
}
.btn-cancel:hover {
color: #fff;
background-color: #c82333;
border-color: #bd2130;
}
.btn-blue {
color: #fff;
background-color: #007bff;
border-color: #007bff;
}
.btn-blue:hover {
color: #fff;
background-color: #0069d9;
border-color: #0062cc;
}
.btn-warn {
color: #ffc107;
background-color: transparent;
background-image: none;
border-color: #ffc107;
}
.btn-warn:hover {
color: #212529;
background-color: #ffc107;
border-color: #ffc107;
}
.btn-large {
font-size: 110%;
}
.app {
background-color: #f4f4f4;
overflow: hidden;
margin: 0;
padding: 0;
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .06), 0 2px 5px 0 rgba(0, 0, 0, .2);
}
.coln-left {
flex: 30%;
padding: 0;
margin: 0;
}
.coln-left-hide {
flex: 0;
}
.coln-right {
flex: 70%;
position: relative;
}
/* Clear floats after the columns */
.row {
display: flex;
}
.full-height {
height: calc(var(--vh, 1vh) * 100);
}
.full-width {
width: calc(100vw - 200px);
height: calc(var(--vh, 1vh) * 100 - 56px);
}
.full-width-active {
width: 100vw;
}
.container {
width: 100%;
}
.users-header {
height: 3.5rem;
padding: 10px;
background: #610a86;
font-size: .95rem;
font-weight: 500;
}
.users-header:after, .profile-user:after, .users-header:before {
display: table;
content: " ";
}
.users-header:after, .profile-user:after {
clear: both;
}
.reply {
height: 53px;
width: 100%;
background-color: #eae7e5;
padding: 10px 5px 10px 5px;
margin: 0;
z-index: 1000;
}
.reply textarea {
width: 100%;
resize: none;
overflow: hidden;
padding: 5px;
outline: none;
border: none;
text-indent: 5px;
box-shadow: none;
height: 100%;
}
textarea.form-reply {
height: 2.1em;
margin-right: .5em;
}
.form-reply {
display: block;
width: 100%;
height: 34px;
padding: 6px 12px;
font-size: 1rem;
color: #555;
background-color: #fff;
background-image: none;
border: 1px solid #ccc;
border-radius: 4px;
box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-reply::placeholder {
opacity: .7;
}
.select {
display: block;
width: 100%;
padding: .275rem .75rem;
font-size: 1rem;
line-height: 1.5;
color: #495057;
background-color: #fff;
background-clip: padding-box;
border: 1px solid #ced4da;
border-radius: .25rem;
transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
.select-inline {
display: inline-block;
}
.message {
width: auto !important;
padding: 4px 10px 7px !important;
background: #daf1c6;
font-size: 12px;
box-shadow: 0 1px 1px rgba(43, 43, 43, 0.16);
border-radius: 5px;
word-wrap: break-word;
display: inline-block;
margin: 1em 0 0;
max-width: 90%;
text-align: left;
}
.message-sender {
background: #e6e6e6;
}
.message-private {
background: white;
}
.message-private .message-header:after {
content: "(private)";
margin-left: 1em;
}
.message-system {
font-size: 10px;
background: #ececec;
}
.message-row:after, .message-row:before {
display: table;
content: " ";
}
.message-row:after {
clear: both;
}
.message-content {
white-space: pre-wrap;
margin: 0;
padding: 0;
padding-left: 5px;
word-wrap: break-word;
word-break: break-word;
font-weight: 400;
font-size: 14px;
color: #202035;
}
.message-header {
margin: 0;
font-style: italic;
text-shadow: none;
}
.message-footer {
margin: 0;
padding: 0;
margin-bottom: -5px;
line-height: .9;
text-align: right;
}
.message-time {
margin-left: 1em;
}
.message-me-asterisk, .message-me-user {
margin-right: 0.33em;
}
.message-me-content {
white-space: pre-wrap;
}
.video-container {
height: calc(var(--vh, 1vh) * 100 - 56px);
position: relative;
background: rgba(0, 0, 0, 0.91);
/* Display only when showing video */
display: block;
}
.chat-btn {
display: block;
/*on top of video peers*/
z-index: 1002;
font-size: 1.8em;
position: absolute;
top: 10px;
left: 10px;
cursor: pointer;
}
.chat-btn .icon-chat {
color: #cac7c7;
height: 50px;
padding: 10px;
text-shadow: 0px 0px 1px #b3adad;
}
.collapse-video {
left: inherit;
right: 30px;
}
.video-controls, .top-video-controls {
position: absolute;
width: 100%;
left: 0;
bottom: 25px;
text-align: center;
color: #eaeaea;
font-size: 1.1em;
opacity: 0;
height: 32px;
}
.video-controls:after, .top-video-controls:after {
clear: both;
display: table;
content: " ";
}
.top-video-controls {
text-align: right;
bottom: inherit;
top: 0;
line-height: 1.1;
font-size: 1.3em;
text-shadow: 1px 1px 2px rgb(90 86 86);
}
.controls-button {
padding: 3px 10px;
vertical-align: middle;
height: 100%;
}
.controls-left {
float: left;
text-align: left;
}
.controls-right {
float: right;
text-align: right;
}
.vc-overlay {
background: linear-gradient(180deg, rgb(0 0 0 / 20%) 0%, rgb(0 0 0 / 50%) 0%, rgb(0 0 0 / 70%) 100%);
}
.peer:hover > .video-controls, .peer:hover > .top-video-controls {
opacity: 1;
}
.video-controls span, .top-video-controls span {
margin-right: 20px;
transition: opacity .7s ease-out;
opacity: 1;
cursor: pointer;
}
.video-controls span:last-child, .top-video-controls span:last-child {
margin-right: 0;
}
.video-controls span:hover, .top-video-controls span:hover {
opacity: .8;
transition: opacity .5s ease-out;
}
.top-video-controls .video-stop{
display: flex;
width: 1.5em;
height: 1.5em;
background: rgba(0,0,0,0.5);
border-radius: 50%;
justify-content: center;
align-items: center;
color: #eaeaea;
}
.video-controls .volume {
display: inline-block;
text-align: center;
}
.video-controls .video-play {
font-size: 0.85em;
}
.video-controls .video-stop {
color: #d03e3e;
}
.video-controls span.disabled, .video-controls span.disabled:hover, .top-video-controls span.disabled:hover{
opacity: .2;
color: #c8c8c8
}
.volume-mute {
vertical-align: middle;
width: 25px;
display: var(--dv, inline);
}
.volume-slider {
height: 4px;
width: 60px;
cursor: pointer;
margin: 5px 5px;
vertical-align: middle;
opacity: var(--ov, 0);
transition: opacity .5s ease-out;
}
.video-controls .volume:hover {
--ov: 1;
--dv: inline;
}
.mobile-container {
display: block !important;
}
.login-container {
height: calc(var(--vh, 1vh) * 100 - 56px);
position: relative;
display: flex;
justify-content: center;
overflow: scroll;
}
.login-box {
width: 20em;
padding: 1em;
margin: 5em auto;
height: 23em;
background: #fcfcfc;
}
.login-box .connect {
width: 100%;
text-align: center;
}
.login-box h2 {
text-align: center;
margin-bottom: 40px;
}
.label-fallback {
opacity: 0.5;
}
.label {
left: 0;
position: absolute;
bottom: 0;
width: 100%;
z-index: 1;
text-align: center;
line-height: 24px;
color: #ffffff;
}
.nav-link {
padding: 0;
color: #dbd9d9;
min-width: 30px;
display: block;
text-align: center;
margin: 0 10px;
position: relative;
line-height: 1.1;
}
.nav-link span {
display: block;
}
.nav-link label {
display: block;
cursor: pointer;
color: #fff;
font-size: 55%;
}
.nav-link:hover {
color: #c2a4e0;
}
.nav-link label:hover {
color: #c2a4e0;
}
.nav-cancel, .muted, .nav-cancel label, .muted label {
color: #d03e3e
}
.nav-cancel:hover, .muted:hover, .nav-cancel label:hover, .muted label:hover {
color: #d03e3e
}
.nav-button {
cursor: pointer;
font-size: 25px;
}
.nav-more {
padding-top: 5px;
margin-left: 0;
}
.header-title {
float: left;
margin: 0;
font-size: 1rem;
font-weight: 700;
color: #ebebeb;
line-height: 2em;
}
#title {
text-align: center;
}
h1 {
white-space: nowrap;
}
#statdiv {
white-space: nowrap;
margin-bottom: 16px;
}
#errspan {
margin-left: 1em;
}
.connected {
color: green;
}
.disconnected {
color: red;
font-weight: bold;
}
.userform {
display: inline
}
.userform label {
min-width: 3em;
display: inline-block;
padding-top: 10px;
}
.userform input[type="text"], .userform input[type="password"] {
width: 100%;
}
.switch-radio {
margin: 0;
}
.invisible {
display: none;
}
.error {
color: red;
font-weight: bold;
}
.noerror {
display: none;
}
.clear {
clear: both;
content: "";
}
#optionsdiv {
margin-bottom: 4px;
}
#optionsdiv input[type="checkbox"] {
vertical-align: middle;
}
#presentbutton, #unpresentbutton {
white-space: nowrap;
margin-right: 0.4em;
margin-top: .1em;
font-size: 1.1em;
text-align: left;
width: 5.8em;
}
#videoselect {
text-align-last: center;
margin-right: 0.4em;
}
#audioselect {
text-align-last: center;
}
#sharebutton, #unsharebutton {
white-space: nowrap;
}
#unsharebutton {
margin-right: 0.4em;
}
#filterselect {
width: 8em;
text-align-last: center;
margin-right: 0.4em;
}
#sendselect {
width: 8em;
text-align-last: center;
margin-right: 0.4em;
}
#simulcastselect {
width: 8em;
text-align-last: center;
margin-right: 0.4em;
}
#requestselect {
width: 8em;
text-align-last: center;
}
#chatbox {
height: 100%;
position: relative;
}
#chat {
padding: 0;
margin: 0;
background-color: #f8f8f8;
background-size: cover;
overflow-y: scroll;
border: none;
border-right: 4px solid #e6e6e6;
/* force to fill height */
height: 100% !important;
width: 100%;
min-width: 300px;
overflow: hidden;
}
#inputform {
display: flex;
}
#box {
overflow: auto;
height: calc(100% - 53px);
padding: 10px;
}
.close-chat {
position: absolute;
top: 2px;
right: 14px;
width: 25px;
font-size: 1em;
text-align: center;
font-weight: 700;
color: #8f8f8f;
cursor: pointer;
border: 1px solid transparent;
}
.close-chat:hover, .close-chat:active {
border: 1px solid #dfdfdf;
border-radius: 4px;
}
#connectbutton {
margin-top: 1em;
padding: 0.37rem 1.5rem;
}
#input {
width: 100%;
border: none;
resize: none;
overflow-y: hidden;
}
#input:focus {
outline: none;
}
#inputbutton:focus {
outline: none;
}
#resizer {
width: 4px;
margin-left: -4px;
z-index: 1000;
}
#resizer:hover {
cursor: ew-resize;
}
#peers {
padding: 10px;
display: grid;
grid-template-columns: repeat(1, 1fr);
grid-template-rows: repeat(1, auto);
row-gap: 5px;
column-gap: 10px;
position: absolute;
top: 0;
right: 0;
bottom: 0;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: 1000;
background-size: cover;
overflow: hidden;
vertical-align: top!important;
}
.peer {
margin-top: auto;
margin-bottom: auto;
position: relative;
border: 2px solid rgba(0,0,0,0);
background: #80808014;
}
.peer-active {
border: 2px solid #610a86;
}
.peer-hidden {
display: none;
}
.media {
width: 100%;
max-height: calc(var(--vh, 1vh) * 100 - 76px);
padding-bottom: 20px;
object-fit: contain;
}
.media-failed {
filter: grayscale(0.5) contrast(0.5);
}
.mirror {
transform: scaleX(-1);
}
#inputform {
width: 100%;
}
.sidenav {
background-color: #4d076b;
box-shadow: 0 0 24px 0 rgba(71,77,86,.1), 0 1px 0 0 rgba(71,77,86,.08);
display: block;
position: fixed;
-webkit-transition: all .2s ease-out;
transition: all .2s ease-out;
width: 0px;
/* on top of everything */
z-index: 2999;
top: 0;
right: 0;
height: calc(var(--vh, 1vh) * 100);
overflow-x: hidden;
overflow-y: hidden;
}
.sidenav a {
padding: 10px 20px;
text-decoration: none;
font-size: 30px;
color: #dbd9d9;
display: block;
transition: 0.3s;
line-height: 1.0;
}
.sidenav a:hover {
color: #c2a4e0;
}
.sidenav .closebtn {
cursor: pointer;
position: absolute;
top: 0;
right: 0;
height: 56px;
}
.sidenav-label {
display: block;
margin-top: 15px;
}
.sidenav-label-first {
display: block;
margin-top: 0;
}
.sidenav form{
margin-top: 15px;
}
.sidenav-header {
height: 56px;
}
.sidenav-header h2{
color: #fff;
padding: 10px;
margin: 0;
max-width: 70%;
line-height: 36px;
}
.sidenav-content {
padding: 10px;
background: #fff;
height: calc(100% - 56px);
overflow-y: auto;
overflow-x: hidden;
}
.sidenav-content h2 {
margin: 0;
}
fieldset {
margin: 0;
margin-top: 20px;
border: 1px solid #e9e8e8;
padding: 8px;
border-radius: 4px;
}
legend {
padding: 2px;
color: #4d4f51;
}
.nav-menu {
margin: 0;
padding: 0;
}
.nav-menu li {
float: left;
max-height: 70px;
list-style: none;
}
.show-video {
position: absolute;
right: 30px;
bottom: 120px;
color: white;
width: 50px;
height: 50px;
text-align: center;
line-height: 50px;
font-size: 150%;
border-radius: 30px;
background: #600aa0;
box-shadow: 4px 4px 7px 1px rgba(0,0,0,0.16);
}
.blink {
-ms-animation: blink 1.0s linear infinite;
-o-animation: blink 1.0s linear infinite;
animation: blink 1.0s linear infinite;
}
@keyframes blink {
0% { box-shadow: 0 0 15px #600aa0; }
50% { box-shadow: none; }
100% { box-shadow: 0 0 15px #600aa0; }
}
@-webkit-keyframes blink {
0% { box-shadow: 0 0 15px #600aa0; }
50% { box-shadow: 0 0 0; }
100% { box-shadow: 0 0 15px #600aa0; }
}
/* Sidebar left */
#left-sidebar {
min-width: 200px;
max-width: 200px;
transition: all 0.3s;
background: #ffffff;
border-right: 1px solid #dcdcdc;
}
#left-sidebar .galene-header {
display: inline-block;
}
header .collapse {
float: left;
text-align: center;
cursor: pointer;
font-size: 20px;
color: #dbd9d9;
margin-right: 20px;
margin-left: 5px;
}
header .collapse:hover {
color: #c2a4e0;
}
.galene-header {
font-size: 1.3rem;
font-weight: 900;
color: #dbd9d9;
line-height: 34px;
}
.header-sep {
height: 20px;
}
/* Shrinking the sidebar from 200px to 0px */
#left-sidebar.active {
min-width: 0;
max-width: 0;
}
#left-sidebar .sidebar-header strong {
display: none;
}
#left-sidebar.active .sidebar-header h3 {
display: none;
}
#left-sidebar.active .sidebar-header strong {
display: block;
}
#users {
padding: 0;
margin: 0;
height: calc(100% - 84px);
width: 100%;
position: relative;
display: block;
background-color: #fff;
overflow-y: auto;
border: 1px solid #f7f7f7;
}
#users .user-p {
position: relative;
padding: 10px !important;
border-bottom: 1px solid #f0f0f0;
height: 40px;
line-height: 18px;
margin: 0 !important;
cursor: pointer;
overflow: hidden;
white-space: pre;
}
#left-sidebar.active #users > div {
padding: 10px 5px !important;
}
#users > div:hover {
background-color: #f2f2f2;
}
#users > div::before {
content: "\f111";
font-family: 'Font Awesome 6 Free';
color: #20b91e;
margin-right: 5px;
font-weight: 900;
}
#users > div.user-status-raisehand::before {
content: "\f256";
}
#users > div::after {
font-family: 'Font Awesome 6 Free';
color: #808080;
margin-left: 5px;
font-weight: 900;
float: right;
}
#users > div.user-status-microphone::after {
content: "\f130";
}
#users > div.user-status-camera::after {
content: "\f030";
}
.close-icon {
font: normal 1em/1 Arial, sans-serif;
display: inline-block;
}
.close-icon:before{ content: "\2715"; }
/* END Sidebar Left */
@media only screen and (min-width: 1025px) {
.coln-right .collapse-video, .coln-right .show-video {
display: none;
}
}
@media only screen and (max-width: 1024px) {
#presentbutton, #unpresentbutton {
width: auto;
}
.nav-link {
margin: 0 4px;
line-height: 1.5;
}
.nav-link label {
display: none;
}
.nav-text {
display: none;
}
.nav-more {
padding-top: 0;
margin-left: inherit;
}
.full-width {
height: calc(var(--vh, 1vh) * 100 - 56px);
}
.close-chat, .show-chat {
display: none;
}
.video-container {
position: fixed;
height: calc(var(--vh, 1vh) * 100 - 56px);
top: 56px;
right: 0;
left: 0;
margin-bottom: 60px;
}
.top-video-controls {
opacity: 1;
}
.login-container {
position: fixed;
height: calc(var(--vh, 1vh) * 100 - 56px);
top: 56px;
right: 0;
left: 0;
background: #eff3f9;
}
.login-box {
background: transparent;
}
.coln-left {
flex: 100%;
width: 100vw;
/* chat is always visible here */
display: block !important;
}
.coln-right {
flex: none;
position: relative;
}
.full-width {
width: 100vw;
}
#left-sidebar.active {
min-width: 200px;
max-width: 200px;
}
#left-sidebar {
min-width: 0;
max-width: 0;
}
/* Reappearing the sidebar on toggle button click */
#left-sidebar {
margin-left: 0;
}
#left-sidebar .sidebar-header strong {
display: none;
}
#left-sidebar.active .sidebar-header h3 {
display: none;
}
#left-sidebar.active .sidebar-header strong {
display: block;
}
.sidenav a {padding: 10px 10px;}
.sidenav-header h2 {
line-height: 36px;
}
#peers {
padding: 3px;
}
#resizer {
display: none;
}
#chat {
border-right: none;
}
.dropdown-content {
margin-top: 10px;
}
}
:root{
--contextualMenuBg: #eee;
--contextualMenuShadow: 1px 1px 1px #444; */
--contextualMenuRadius: 0px; */
--contextualMenuText: black;
--contextualSubMenuBg: #eee;
--contextualHover: #ddd;
--contextualOverflowIcon: #999;
--contextualSeperator: #999;
}
.contextualMenu{
z-index: 2999;
}
.file-progress {
accent-color: #610a86;
margin-left: 10px;
margin-right: 10px;
}
#invite-dialog {
background-color: #eee;
}