bigbluebutton-Github/labs/bbb-html5-client/public/css/layout.css

489 lines
8.3 KiB
CSS
Executable File

body { width: 100%; height: 100%; overflow: hidden; }
html { width: 100%; height: 100%; }
/* TODO: TEMPORARY */
/* #colour-view { */
/* position: absolute; */
/* top: 10px; */
/* left: 10px; */
/* z-index: 9999; */
/* } */
/* #thickness-view { */
/* position: absolute; */
/* top: 50px; */
/* left: 50px; */
/* z-index: 9999; */
/* } */
body { font: 12px Arial, Helvetica, "Helvetica Neue", sans-serif }
#container {
width: 100%;
height: 100%;
}
#session-view {
width: 100%;
height: 100%;
}
#layout {
position: relative;
background: #aaa;
width: 100%;
height: 100%;
}
#whiteboard {
position: absolute;
background: #aaa;
top: 0;
left: -1px;
right: -1px;
bottom: 69px;
// -moz-transition: right .5s, left .5s;
// -webkit-transition: right .5s, left .5s;
z-index: 1;
border-right: 1px solid #999;
border-left: 1px solid #999;
}
#users {
position: absolute;
left: 0;
top: 0;
bottom: 65px;
width: 200px;
background: #f7f7f7;
z-index: 0;
}
#chat {
position: absolute;
right: 0;
top: 0;
bottom: 65px;
width: 300px;
background: #f7f7f7;
z-index: 0;
}
.chat-enabled #whiteboard {
right: 300px;
}
.users-enabled #whiteboard {
left: 200px;
}
#whiteboard object {
display: block;
position: absolute;
max-width: 100%;
max-height: 100%;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
}
#navbar {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 67px;
background: #333;
background: -moz-linear-gradient(top, #494c56, #42444c);
background: -webkit-linear-gradient(top, #494c56, #42444c);
border-top: 1px solid #2f3138;
border-bottom: 1px solid #2f3138;
text-align: center;
z-index: 3; /* over #whiteboard and sidebars */
}
#navbar a {
color: white;
text-decoration: none;
}
.navbar-btngroup {
border-left: 1px solid #222;
border-right: 1px solid #555;
display: inline-block;
font-size: 0;
}
.navbar-btngroup.pull-right {
position: absolute;
right: 0;
border-right: none;
}
.navbar-btn {
display: inline-block;
width: 74px;
height: 67px;
padding: 38px 3px 5px 3px;
background: -moz-linear-gradient(top, #494c56, #42444c);
background: -webkit-linear-gradient(top, #494c56, #42444c);
border-top: none;
border-left: 1px solid #62646c;
border-right: 1px solid #2f3138;
border-bottom: none;
color: #fff;
text-shadow: 0 1px 2px rgba(0,0,0,0.5);
text-transform: uppercase;
font-size: 9px;
line-height: 24px;
position: relative;
cursor: pointer;
}
.navbar-btn:hover {
background: #6d6f77;
color: #ffffff;
}
.navbar-btn:active, .navbar-btn.active {
background: #33343b;
color: #999a9d;
border-right: 1px solid #33343b;
border-left: 1px solid #33343b;
}
.navbar-btn.active:hover {
background-image: -moz-linear-gradient(top, #58ade3, #58ade3), -moz-linear-gradient(top, #6d6f77, #6d6f77);
background-image: -webkit-linear-gradient(top, #58ade3, #58ade3), -webkit-linear-gradient(top, #6d6f77, #6d6f77);
color: #ffffff;
}
.navbar-btn.active, .navbar-btn.active:active {
background-image: -moz-linear-gradient(top, #58ade3, #58ade3), -moz-linear-gradient(top, #33343b, #33343b);
background-image: -webkit-linear-gradient(top, #58ade3, #58ade3), -webkit-linear-gradient(top, #33343b, #33343b);
background-size: 72px 3px, 100% 100%;
background-repeat: no-repeat;
background-position: 0 63px, 0 0;
color: #999a9d;
}
.navbar-btn .notification {
display: block;
position: absolute;
background: #a72424;
background-image -moz-linear-gradient(top, #a72424, #8f1f1f);
background-image -webkit-linear-gradient(top, #a72424, #8f1f1f);
text-shadow: 0 -1px rgba(0,0,0,0.5);
border-top: 1px solid #cc7e7e;
top: 11px;
right: 17px;
padding: 1px 4px;
font-size: 8px;
border-radius: 2px;
line-height: 12px;
color: #fff;
font-weight: bold;
box-shadow: 0 1px 1px rgba(0,0,0,0.5);
}
.navbar-btn i {
display: block;
position: absolute;
top: 10px;
font-size: 32px;
line-height: 32px;
left: 0;
right: 0;
margin: auto;
}
button::-moz-focus-inner, input::-moz-focus-inner {
border: 0;
}
button:focus, textarea:focus, input:focus {
box-shadow: 0 0 4px rgba(88,173,227,0.5) inset;
outline: none;
z-index: 1000;
}
#chat-entry {
position: absolute;
bottom: 16px;
left: 0;
right: 0;
}
#chat-entry > textarea {
position: absolute;
bottom: 0;
left: 16px;
font-family: sans-serif;
font-size: 12px;
width: 197px;
height: 25px;
resize: none;
background: #fff;
border: 1px solid #ccc;
margin: 0;
padding: 3px;
border-radius: 4px 0 0 4px;
}
#chat-entry > button {
position: absolute;
bottom: 0;
right: 16px;
width: 63px;
height: 33px;
margin: 0;
border: 1px solid #ccc;
border-left: none;
border-radius: 0 4px 4px 0;
background: -moz-linear-gradient(top, #fff, #ddd);
background: -webkit-linear-gradient(top, #fff, #ddd);
}
#chat-entry > button:active {
background: #ddd;
}
#chat-messages {
position: absolute;
overflow: auto;
top: 33px;
bottom: 62px;
left: 0;
right: 0;
background: #fff;
padding: 8px;
border-radius: 4px 4px 0 0;
border-bottom: 1px solid #ccc;
}
#users > h3, #chat > h3 {
background: -moz-linear-gradient(top, #fff, #ddd);
background: -webkit-linear-gradient(top, #fff, #ddd);
font-size: 12px;
line-height: 32px;
font-weight: bold;
padding: 0 16px;
text-transform: uppercase;
color: #666;
border-bottom: 1px solid #aaa;
}
/* ryans stuff */
/*
#chat-messages {
float: right;
width: 300px;
height: 400px;
border: 1px solid red;
overflow:scroll;
word-wrap: break-word;
}
*/
#chat-input-box {
width: 250px;
}
#slide {
position: relative;
margin: 0 auto;
overflow:hidden; /* so they don't overlap */
}
.textinput {
font-family: Arial;
font-size:14px; /* keep in pixels*/
resize:none;
display:block;
}
.user {
height: 32px;
line-height: 32px;
border-bottom: 1px solid #ddd;
padding: 0 8px;
}
.user:nth-child(even) {
background: #eee;
}
.user:before {
content: "\f007";
font-family: FontAwesome;
font-weight: normal;
font-style: normal;
display: inline-block;
margin-right: 8px;
}
.presenter:before {
content: "\f0d0";
}
.clickable {
cursor:pointer;
}
.selected, .user:nth-child(even).selected {
color: #FFF;
background: #007fff;
background: -moz-linear-gradient(top, #007fff, #005fdf);
background: -webkit-linear-gradient(top, #007fff, #005fdf);
}
#chat_input {
clear: both;
display: block;
float: right;
}
#slide-upload-controls {
}
#chat_title {
padding-left: 25px;
}
#listUsers {
float: right;
}
#current-users {
position: absolute;
top: 33px;
bottom: 65px;
left: 0;
right: 0;
background: #fff;
}
#switch-presenter {
position: absolute;
bottom: 0;
left: 0;
right: 0;
height: 32px;
border-top: 1px solid #ccc;
margin: 16px;
text-align: center;
border: 1px solid #ccc;
border-radius: 4px;
background: -moz-linear-gradient(top, #fff, #ddd);
background: -webkit-linear-gradient(top, #fff, #ddd);
height: 32px;
cursor: pointer;
}
#ChatAndControls {
float:right;
}
#logout {
float: right;
}
#send_chat {
float:right;
}
#slide-controls {
width: 800px;
margin: 0 auto;
}
#slide-controls form {
display: inline;
}
#slide-controls * {
float: left;
margin: 5px 10px 0 0;
}
#thickness-slider {
width: 60px;
}
#colour-text {
width: 50px;
margin-left: 5px;
}
#colour-view {
margin-left: 5px;
cursor:pointer;
}
#colour-picker {
position: absolute;
z-index: 9; /* over everything */
}
.canvas {
border: 1px solid blue;
position: absolute;
}
#login-view {
width: 400px;
margin: 50px auto;
border: 10x solid #ddd;
padding: 10px;
background: #f6f6f6;
}
#login-view h1 {
font-size: 24px;
font-weight: bold;
text-align: center;
margin: 5px 0 20px 0;
}
#slide .preupload-image {
display: none;
}
#slide > svg {
width: 100%;
height: 100%;
}
/* TODO: temporary adaptation for iPads */
#navbar {
text-align: left;
}
.whiteboard-tools {
display: none;
}
#slide-controls {
display: none;
}
#slide {
/*width: 670px;
height: 515px;
border: 1px solid #888;
margin-top: 25px;*/
}
.users-enabled #whiteboard {
left: -1px;
}
#users {
z-index: 2;
border-left: 1px solid #888;
// top: 10px;
// bottom: 75px;
right: 0;
left: auto;
width: 300px;
display: none;
}
#chat {
top: 200px;
}
#video {
position: absolute;
top: 0;
right: 0;
height: 200px;
width: 300px;
background: blue;
}