Merge pull request #528 from gthacoder/meteor-client-restructured-css

Restructuring the LESS file tree and the stylesheets themselves in HTML5 client + a few older commits with the chat tab enhancements.
This commit is contained in:
Richard Alam 2015-02-23 17:54:45 -05:00
commit 779f8c51c6
17 changed files with 714 additions and 811 deletions

View File

@ -1,10 +1,11 @@
@import "../colors"; @import "variables";
.active { .active {
border-bottom: none; /*border-bottom: none;
border-left: 1px solid extract(@azure, 2); border-left: 1px solid extract(@azure, 2);
border-right: 1px solid extract(@azure, 2); border-right: 1px solid extract(@azure, 2);
border-top: 1px solid extract(@azure, 2); border-top: 1px solid extract(@azure, 2);*/
border: .2vh solid extract(@azure, 2) !important;
} }
#chat { #chat {
@ -20,6 +21,16 @@
padding-left: 0px; padding-left: 0px;
padding-right: 0px; padding-right: 0px;
width: 100%; width: 100%;
@media @landscape {
-webkit-order: 3;
order: 3;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-order: 2;
order: 2;
min-height: 40%;
max-height: 40%;
}
} }
.chat { .chat {
@ -37,6 +48,11 @@
width: 100%; width: 100%;
} }
} }
@media @mobile-portrait-with-keyboard, @mobile-portrait {
li {
font-size: 14px;
}
}
} }
#chatbody { #chatbody {
@ -44,6 +60,10 @@
overflow-y: scroll; overflow-y: scroll;
padding-left: 0px; padding-left: 0px;
padding-right: 0px; padding-right: 0px;
@media @desktop-portrait, @mobile-portrait {
max-height: 50vh;
overflow-y: scroll;
}
} }
.chatGreeting { .chatGreeting {
@ -69,9 +89,11 @@
margin-bottom: 1px !important; margin-bottom: 1px !important;
width:100%; width:100%;
} }
.close:hover { .close:hover {
background-color: red; background-color: red;
} }
.closeTab { .closeTab {
float:left; float:left;
width:10%; width:10%;
@ -124,6 +146,17 @@
padding:5px; padding:5px;
border-radius:4px; border-radius:4px;
border:1px solid extract(@lightGrey, 3); border:1px solid extract(@lightGrey, 3);
@media @landscape, @desktop-portrait {
height: 40px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 60px;
}
@media @mobile-portrait-with-keyboard,
@desktop-portrait,
@mobile-portrait {
font-size: 25px;
}
} }
.optionsBar { .optionsBar {
@ -135,7 +168,7 @@
.panel-footer { .panel-footer {
bottom: 0px; bottom: 0px;
padding: 10px; /* padding: 10px; TODO: investigate (causes the overflow in the chat's title) */
position: relative; position: relative;
background: extract(@white, 1); background: extract(@white, 1);
} }
@ -164,6 +197,21 @@
width: 20%; width: 20%;
margin-left: 5%; margin-left: 5%;
color: extract(@white, 1); color: extract(@white, 1);
@media @mobile-portrait-with-keyboard,
@desktop-portrait,
@mobile-portrait {
width: 100px;
font-size: 30px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 60px;
}
@media @desktop-portrait, @landscape {
height: 40px;
}
@media @landscape {
padding: 0px;
}
} }
#tabsList { #tabsList {
@ -175,6 +223,14 @@
width: 100%; width: 100%;
a { a {
padding:0px; padding:0px;
@media @mobile-portrait-with-keyboard,
@desktop-portrait,
@mobile-portrait {
font-size: 25px;
}
@media @landscape {
font-size: 12px;
}
} }
li:first-child a { li:first-child a {
border-left: 0; border-left: 0;
@ -182,6 +238,14 @@
&:before, &:after { &:before, &:after {
content: none; content: none;
} }
@media @mobile-portrait-with-keyboard,
@desktop-portrait,
@mobile-portrait {
.userlist {
font-size: 30px;
padding-left: 10px;
}
}
} }
.tab { .tab {
@ -199,3 +263,9 @@
.timestamp { .timestamp {
text-align: right; text-align: right;
} }
#chatbar-contents {
@media @landscape {
min-width: 140px;
}
}

View File

@ -1,7 +0,0 @@
/* sorted by brightness */
@white: #fff, #f5f5f5, #eee;
@lightGrey: #d7d7d7, #cccdd1, #ccc, #999;
@darkGrey: #666, #60636a, #40434c, #32353e;
@azure: #54a7db, #0099FF;
@black: #000;
@yellow: #E3E1B8, #F9DF6B;

View File

@ -1,257 +0,0 @@
@import "../colors";
.radius(@size: 4px) {
-moz-border-radius: @size;
-webkit-border-radius: @size;
border-radius: @size;
}
.linear-gradient(@color1, @color2) {
background: -moz-linear-gradient(@color1, @color2); /* For Firefox 3.6 to 15 */
background: -o-linear-gradient(@color1, @color2); /* For Opera 11.1 to 12.0 */
background: -webkit-linear-gradient(@color1, @color2); /* For Safari 5.1 to 6.0 */
background: linear-gradient(@color1, @color2); /* Standard syntax (must be last) */
}
body {
background: extract(@white, 3);
bottom: 0;
color: extract(@darkGrey, 1);
left: 0;
right: 0;
}
.btn {
background-color: extract(@white, 2);
}
.component {
.radius;
background: extract(@white, 1);
border: 1px solid extract(@lightGrey, 3);
float: left;
height: 100%;
margin-top: 10px;
}
.extraConversationScrollableMenu {
height: auto;
max-height: 200px;
overflow-x: hidden;
}
.mainContainer {
height: 95%;
}
.myFooter {
color: black;
max-height: 20px;
padding-top: 13px;
text-align: center;
}
.myNavbar {
margin-bottom: 0.5%;
border-bottom: 0px;
&.gradientBar {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
border-left: 1px solid extract(@darkGrey, 2);
border-right: 1px solid extract(@darkGrey, 4);
&.navbarIconToggleActive {
background: extract(@darkGrey, 3);
border-bottom: 4px solid extract(@azure, 1);
}
i {
color: extract(@white, 1);
}
}
}
.myNavbarMinimized {
background: extract(@white, 3);
height: 20px;
margin-bottom: 0.2%;
margin-top: 0px;
min-width: 900px;
padding-top: 0px;
text-align: right;
}
.navbar {
min-height: 40px !important;
}
.navbarFiller {
width: 100%;
}
.navbarIconToggleActive i {
color: extract(@lightGrey, 2);
}
#navbarMinimizedButton {
margin-bottom: 0px;
margin-left: 2px;
margin-right: 20px;
margin-top: 0px;
position: absolute;
right: 0;
top: 0;
}
.navbarMinimizedButtonSmall {
height: 10px;
width: 40px;
}
.navbarMinimizedButtonLarge {
height: 50px;
width: 40px;
}
.navbarSettingsButtons {
float: right;
.btn {
display: block;
float: right;
}
}
.navbarTitle {
color: extract(@white, 1);
display: block;
float: left;
font-weight: bold;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.navbarUserButtons .btn {
border-radius: 0;
display: block;
float: left;
&:hover {
background: extract(@darkGrey, 3);
}
}
.navbarSettingsButtons .btn:hover {
background: extract(@darkGrey, 3);
}
.panel-footer {
padding: 0;
}
.recordingStatus {
background: none!important;
border: none;
margin-left: 10px;
padding: 0!important;
}
.recordingStatusFalse {
color: maroon;
}
.recordingStatusTrue {
color: green;
}
.ScrollableWindowX {
width: 100%;
overflow-x: scroll;
}
.ScrollableWindowY {
height: 100%;
overflow-y: scroll;
overflow:auto;
}
.tab {
height: 40px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
border-top: 0px;
}
.title {
border-bottom: 1px solid extract(@lightGrey, 1);
color: extract(@darkGrey, 1);
font-weight: bold;
line-height: 2em;
margin: 0;
padding-bottom: 5px;
padding-left: 10px;
padding-top: 5px;
}
#main {
padding-top: 50px;
padding-left: 0.25%;
padding-right: 0.25%;
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
}
/* Custom alert box */
.no-close .ui-dialog-titlebar-close {
display: none; /* no close button */
}
.logout-dialog.ui-dialog {
.ui-widget-header {
color: extract(@white, 1);
font-weight: bold;
background: extract(@darkGrey, 3);
}
.ui-dialog-content {
font-weight: bold;
text-align: center;
}
}
.logout-dialog.ui-widget-content {
background: extract(@white, 3);
border: 5px solid extract(@darkGrey, 3);
}
.ui-widget-overlay {
z-index: 1031;
}
.custom-button {
background-color: extract(@yellow, 1);
}
.fullScreenPresentation {
width: 90% !important;
height: 90% !important;
}
.halfScreen {
width: 44% !important;
height: 80% !important;
}
.quarterScreen {
width: 22% !important;
height: 80% !important;
}

View File

@ -1,45 +0,0 @@
#content {
margin-top: 10px;
overflow: hidden;
width: 100%;
}
#usericons {
float: right;
span {
margin-left: 3px;
padding: 2px;
border: 1px solid white;
}
.raisedHandIcon, .muteIcon {
&:hover {
cursor: pointer;
border: 1px solid #f2f2f2;
background-color: #f2f2f2;
border-radius: 4px;
}
}
}
.usernameEntry {
float:left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 60%;
}
#users {
margin-left: 0.25%;
margin-right: 0.25%;
padding-bottom: 10px; /*min-width:230px;*/
-webkit-flex: 1 1 25%;
flex: 1 1 25%;
}
#user-contents {
}
.userCurrent {
font-weight: bold;
}

View File

@ -1,29 +0,0 @@
#whiteboard {
padding: 0 !important;
margin-left: 0.25%;
margin-right: 0.25%;
-webkit-flex: 2 2 50%;
-moz-flex: 2 2 50%;
-ms-flex: 2 2 50%;
flex: 2 2 50%;
min-width: 0;
}
#whiteboard-paper {
background-color: white !important;
/*height: auto !important;*/
margin-left: auto;
margin-right: auto;
#svggroup {
display: block;
height: 100% !important;
width: 100% !important;
}
}
#whiteboard-navbar {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}

View File

@ -1,19 +0,0 @@
@import "../colors";
@media all and (orientation: landscape) and (min-device-aspect-ratio: 1/1) {
#chat {
-webkit-order: 3;
order: 3;
}
#chatbar-contents {
min-width: 140px;
}
#newMessageInput {
height: 40px;
}
#sendMessageButton {
height: 40px;
padding: 0px;
}
}

View File

@ -1,82 +0,0 @@
@import "../colors";
@import "../mixins";
@media all and (orientation: landscape) and (min-device-aspect-ratio: 1/1) {
body {
height: 100%;
min-width: 768px;
position: absolute;
top: 0;
}
.myNavbar {
min-width: 768px;
}
.navbarButton {
height: 50px;
width: 51.2px;
}
.navbarFiller {
height: 50px;
}
.navbarSection {
min-width: 256px;
width: 33%;
}
.navbarTitle {
font-size: 16px;
padding-top: 13px;
width: 30% !important;
}
.navbarUserButtons {
float: left;
}
.title {
font-size: 14px;
}
.ion-volume-mute {
font-size: 20px;
}
#main {
-webkit-flex-flow: row;
flex-flow: row;
}
#collapseButtonSection {
display: none;
}
.hiddenNavbarSection {
display: block !important;
}
.collapseNavbarSection {
display: block !important;
}
.logout-dialog.ui-dialog {
.ui-widget-header {
font-size: 12px;
}
.ui-dialog-content {
font-size: 11px;
}
}
.logout-dialog.ui-widget-content {
font-size: 10px;
}
.myFooter {
font-size: 10px;
}
}

View File

@ -1,21 +0,0 @@
@media all and (orientation: landscape) and (min-device-aspect-ratio: 1/1) {
#username {
display:block;
}
#users {
-webkit-order: 1;
order: 1;
min-width: 0;
}
#user-contents {
.userlist {
padding:10px;
}
}
.usernameEntry {
height: 20px;
}
}

View File

@ -1,22 +0,0 @@
@media all and (orientation: landscape) and (min-device-aspect-ratio: 1/1) {
#whiteboard {
-webkit-order: 2;
order: 2;
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
}
#whiteboard-paper {
position: relative;
top: 50%;
-webkit-transform: translateY(calc(~'-50% - 19px'));
-ms-transform: translateY(calc(~'-50% - 19px'));
transform: translateY(calc(~'-50% - 19px'));
}
}

View File

@ -1,73 +0,0 @@
@import "../colors";
@media all and (orientation: portrait), all and (orientation: landscape) and (max-device-aspect-ratio: 1/1) {
#chat {
-webkit-order: 2;
order: 2;
min-height: 40%;
max-height: 40%;
}
@media (orientation:portrait) {
#chatbody {
max-height: 50vh;
overflow-y: scroll;
}
}
@media (max-device-aspect-ratio: 1/1) {
.chat {
/* height: Xpx; the value here will determine how tall we allow the chat */
li {
td {
font-size: 30px;
}
}
}
}
#newMessageInput {
height: 60px;
font-size: 25px;
}
#sendMessageButton {
height: 60px;
width: 100px;
font-size: 30px;
}
#tabsList {
a {
font-size: 25px;
}
.userlist {
font-size: 30px;
padding-left: 10px;
}
}
}
.closeTab {
font-size: 3vw;
}
.active {
border: .2vh solid extract(@azure, 2) !important;
}
@media (min-device-aspect-ratio: 1/1) {
#newMessageInput {
height: 40px;
}
#sendMessageButton {
height: 40px;
}
#tabsList {
a {
font-size: 12px;
}
}
}

View File

@ -1,210 +0,0 @@
@import "../colors";
@import "../mixins";
@media all and (orientation: portrait), all and (orientation: landscape) and (max-device-aspect-ratio: 1/1) {
body {
position: relative;
top: 15px;
}
#main {
-webkit-flex-flow: column;
flex-flow: column;
flex-direction: column;
min-height: 125%;
max-height: 125%;
}
.myFooter {
font-size: 18px;
}
}
@media all and (orientation: portrait) and (max-device-aspect-ratio: 1/1), all and (orientation: landscape) and (max-device-aspect-ratio: 1/1) {
.myNavbar {
min-width: 630px;
}
.navbarButton {
height: 100px;
width: 10%;
min-width: 60px;
}
.navbarTitle {
font-size: 30px;
padding-top: 30px;
padding-left: 5px;
overflow: hidden;
height: 72px;
width: 70%;
white-space: nowrap;
text-overflow: ellipsis;
margin-left: auto;
margin-right: auto;
}
.title {
font-size: 30px;
}
.glyphicon, .ion-android-hand, .ion-volume-mute {
font-size: 35px;
}
.ion-volume-mute {
font-size: 50px;
}
.hiddenNavbarSection {
display: none;
}
/* Logout dialog */
.logout-dialog.ui-dialog {
.ui-widget-header {
font-size: 40px;
}
}
.logout-dialog.ui-widget-content {
font-size: 280%;
}
.ui-dialog-buttonset {
width: 100%;
}
.ui-dialog-buttonset button {
width: 40%;
margin-left: 5% !important;
margin-right: 5% !important;
}
/* Sliding menu */
.sliding-menu {
width: 15%;
height: 100%;
position: fixed;
top: 0;
left: -15%;
z-index: 1031;
&.sliding-menu-opened {
left: 0px;
}
a {
border-bottom: 1px solid #258ecd;
padding: 1em;
}
}
.slideSection {
float: left;
margin-top: 100px;
height: 100%;
width: 100%;
}
.slideButton {
display: block;
width: 100%;
height: calc(~'20% - 20px');
}
.slideSection {
margin-bottom: 0.5%;
&.gradientBar {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
border-left: 1px solid extract(@darkGrey, 2);
border-right: 1px solid extract(@darkGrey, 4);
&.navbarIconToggleActive {
background: extract(@darkGrey, 3);
border-bottom: 4px solid extract(@azure, 1);
}
i {
color: extract(@white, 1);
}
}
}
#darkened-screen {
display: none;
background: black;
opacity: 0.7;
z-index: 1030;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
.myFooter {
font-size: 18px;
}
}
@media all and (orientation: portrait) and (min-device-aspect-ratio: 1/1) {
.myNavbar {
min-width: 400px;
}
.navbarButton {
height: 50px;
width: 51.2px;
}
.navbarTitle {
font-size: 16px;
padding-top: 13px;
width: calc(~'100% - 102.4px');
}
.narrowedNavbarTitle {
width: calc(~'100% - 358.4px') !important;
}
.title {
font-size: 14px;
}
.ion-volume-mute {
font-size: 20px;
}
#main {
padding-top: 0;
}
.collapseNavbarSection {
display: none;
}
#collapseButtonSection {
display: block !important;
}
/* Logout dialog */
.logout-dialog.ui-dialog {
.ui-widget-header {
font-size: 12px;
}
.ui-dialog-content {
font-size: 11px;
}
}
.logout-dialog.ui-widget-content {
font-size: 10px;
}
.myFooter {
font-size: 16px;
}
}

View File

@ -1,36 +0,0 @@
@media all and (orientation: portrait), all and (orientation: landscape) and (max-device-aspect-ratio: 1/1) {
#users {
-webkit-order: 3;
order: 3;
margin-bottom: 40px;
padding-bottom: 40px;
max-height: 20%;
min-height: 20%;
}
}
/*desktop portrait*/
@media all and (orientation: portrait) and (min-device-aspect-ratio: 1/1) {
#username {
display:block;
width:70%;
}
#user-contents {
.userlist {
padding:10px;
}
}
.usernameEntry {
height: 20px;
font-size: 2vh;
}
}
/*mobile*/
@media all and (orientation: portrait) {
.usernameEntry {
font-size: 2vh;
}
}

View File

@ -1,6 +0,0 @@
@media all and (orientation: portrait), all and (orientation: landscape) and (max-device-aspect-ratio: 1/1) {
#whiteboard {
-webkit-order: 1;
order: 1;
}
}

View File

@ -0,0 +1,479 @@
@import "variables";
@import "mixins";
body {
background: extract(@white, 3);
bottom: 0;
color: extract(@darkGrey, 1);
left: 0;
right: 0;
@media @landscape {
height: 100%;
min-width: 768px;
position: absolute;
top: 0;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
position: relative;
top: 15px;
}
}
.btn {
background-color: extract(@white, 2);
}
.component {
.radius;
background: extract(@white, 1);
border: 1px solid extract(@lightGrey, 3);
float: left;
height: 100%;
margin-top: 10px;
}
.extraConversationScrollableMenu {
height: auto;
max-height: 200px;
overflow-x: hidden;
}
.mainContainer {
height: 95%;
}
.myFooter {
color: black;
max-height: 20px;
padding-top: 13px;
text-align: center;
@media @landscape {
font-size: 10px;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
font-size: 18px;
}
@media @desktop-portrait {
font-size: 16px;
}
}
.myNavbar {
margin-bottom: 0.5%;
border-bottom: 0px;
&.gradientBar {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
border-left: 1px solid extract(@darkGrey, 2);
border-right: 1px solid extract(@darkGrey, 4);
&.navbarIconToggleActive {
background: extract(@darkGrey, 3);
border-bottom: 4px solid extract(@azure, 1);
}
i {
color: extract(@white, 1);
}
}
@media @landscape {
min-width: 768px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
min-width: 630px;
}
@media @desktop-portrait {
min-width: 400px;
}
}
.myNavbarMinimized {
background: extract(@white, 3);
height: 20px;
margin-bottom: 0.2%;
margin-top: 0px;
min-width: 900px;
padding-top: 0px;
text-align: right;
}
.navbar {
min-height: 40px !important;
}
.navbarFiller {
width: 100%;
@media @landscape {
height: 50px;
}
}
.navbarIconToggleActive i {
color: extract(@lightGrey, 2);
}
#navbarMinimizedButton {
margin-bottom: 0px;
margin-left: 2px;
margin-right: 20px;
margin-top: 0px;
position: absolute;
right: 0;
top: 0;
}
.navbarMinimizedButtonSmall {
height: 10px;
width: 40px;
}
.navbarMinimizedButtonLarge {
height: 50px;
width: 40px;
}
.navbarSettingsButtons {
float: right;
.btn {
display: block;
float: right;
}
}
.navbarTitle {
color: extract(@white, 1);
display: block;
float: left;
font-weight: bold;
text-align: center;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
@media @landscape {
font-size: 16px;
padding-top: 13px;
width: 30% !important;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 30px;
padding-top: 30px;
padding-left: 5px;
height: 72px;
width: 70%;
margin-left: auto;
margin-right: auto;
}
@media @desktop-portrait {
font-size: 16px;
padding-top: 13px;
width: calc(~'100% - 102.4px');
}
}
.navbarUserButtons {
.btn {
border-radius: 0;
display: block;
float: left;
&:hover {
background: extract(@darkGrey, 3);
}
}
@media @landscape {
float: left;
}
}
.navbarSettingsButtons .btn:hover {
background: extract(@darkGrey, 3);
}
.panel-footer {
padding: 0;
}
.recordingStatus {
background: none!important;
border: none;
margin-left: 10px;
padding: 0!important;
}
.recordingStatusFalse {
color: maroon;
}
.recordingStatusTrue {
color: green;
}
.ScrollableWindowX {
width: 100%;
overflow-x: scroll;
}
.ScrollableWindowY {
height: 100%;
overflow-y: scroll;
overflow:auto;
}
.tab {
height: 40px;
}
.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
border-top: 0px;
}
.title {
border-bottom: 1px solid extract(@lightGrey, 1);
color: extract(@darkGrey, 1);
font-weight: bold;
line-height: 2em;
margin: 0;
padding-bottom: 5px;
padding-left: 10px;
padding-top: 5px;
@media @desktop-portrait, @landscape {
font-size: 14px;
}
@media @mobile-portrait, @mobile-portrait-with-keyboard {
font-size: 30px;
}
}
#main {
padding-top: 50px;
padding-left: 0.25%;
padding-right: 0.25%;
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
@media @desktop-portrait {
padding-top: 0;
}
@media @landscape {
-webkit-flex-flow: row;
flex-flow: row;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-flex-flow: column;
flex-flow: column;
flex-direction: column;
min-height: 125%;
max-height: 125%;
}
}
/* Custom alert box */
.no-close .ui-dialog-titlebar-close {
display: none; /* no close button */
}
.logout-dialog.ui-dialog {
.ui-widget-header {
color: extract(@white, 1);
font-weight: bold;
background: extract(@darkGrey, 3);
@media @desktop-portrait, @landscape {
font-size: 12px;
}
}
.ui-dialog-content {
font-weight: bold;
text-align: center;
@media @desktop-portrait, @landscape {
font-size: 11px;
}
}
}
.logout-dialog.ui-widget-content {
background: extract(@white, 3);
border: 5px solid extract(@darkGrey, 3);
@media @desktop-portrait, @landscape {
font-size: 10px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 280%;
}
}
.ui-widget-overlay {
z-index: 1031;
}
.custom-button {
background-color: extract(@yellow, 1);
}
.fullScreenPresentation {
width: 90% !important;
height: 90% !important;
}
.halfScreen {
width: 44% !important;
height: 80% !important;
}
.quarterScreen {
width: 22% !important;
height: 80% !important;
}
.navbarButton {
@media @desktop-portrait, @landscape {
height: 50px;
width: 51.2px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
height: 100px;
width: 10%;
min-width: 60px;
}
}
.navbarSection {
@media @landscape {
min-width: 256px;
width: 33%;
}
}
.ion-volume-mute {
@media @desktop-portrait, @landscape {
font-size: 20px;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 35px;
}
}
.glyphicon, .ion-android-hand {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
font-size: 35px;
}
}
.hiddenNavbarSection {
@media @landscape {
display: block !important;
}
@media @mobile-portrait-with-keyboard, @mobile-portrait {
display: none;
}
}
.narrowedNavbarTitle {
@media @desktop-portrait {
width: calc(~'100% - 358.4px') !important;
}
}
.collapseNavbarSection {
@media @landscape {
display: block !important;
}
@media @desktop-portrait {
display: none;
}
}
#collapseButtonSection {
@media @landscape {
display: none;
}
@media @desktop-portrait {
display: block !important;
}
}
.ui-dialog-buttonset {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
width: 100%;
}
button {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
width: 40%;
margin-left: 5% !important;
margin-right: 5% !important;
}
}
}
/* Sliding menu */
.sliding-menu {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
width: 15%;
height: 100%;
position: fixed;
top: 0;
left: -15%;
z-index: 1031;
&.sliding-menu-opened {
left: 0px;
}
a {
border-bottom: 1px solid #258ecd;
padding: 1em;
}
}
}
.slideSection {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
float: left;
margin-top: 100px;
height: 100%;
width: 100%;
margin-bottom: 0.5%;
&.gradientBar {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
}
.btn {
.linear-gradient(rgb(72,76,85), rgb(65,68,77));
border-left: 1px solid extract(@darkGrey, 2);
border-right: 1px solid extract(@darkGrey, 4);
&.navbarIconToggleActive {
background: extract(@darkGrey, 3);
border-bottom: 4px solid extract(@azure, 1);
}
i {
color: extract(@white, 1);
}
}
}
}
.slideButton {
@media @mobile-portrait-with-keyboard, @mobile-portrait {
display: block;
width: 100%;
height: calc(~'20% - 20px');
}
}
#darkened-screen {
@media @mobile-portrait, @mobile-portrait-with-keyboard {
display: none;
background: black;
opacity: 0.7;
z-index: 1030;
position: fixed;
left: 0;
top: 0;
width: 100%;
height: 100%;
}
}

View File

@ -0,0 +1,89 @@
@import "variables";
#content {
margin-top: 10px;
overflow: hidden;
width: 100%;
}
#usericons {
float: right;
span {
margin-left: 3px;
padding: 2px;
border: 1px solid white;
}
.raisedHandIcon, .muteIcon {
&:hover {
cursor: pointer;
border: 1px solid #f2f2f2;
background-color: #f2f2f2;
border-radius: 4px;
}
}
}
.usernameEntry {
float:left;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 60%;
@media @landscape {
height: 20px;
}
@media @desktop-portrait {
height: 20px;
}
@media @desktop-portrait, @mobile-portrait {
font-size: 2vh;
}
}
#users {
margin-left: 0.25%;
margin-right: 0.25%;
padding-bottom: 10px; /*min-width:230px;*/
-webkit-flex: 1 1 25%;
flex: 1 1 25%;
@media @landscape {
-webkit-order: 1;
order: 1;
min-width: 0;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-order: 3;
order: 3;
margin-bottom: 0px;
padding-bottom: 0px;
max-height: 20%;
min-height: 20%;
}
}
#user-contents {
.userlist {
@media @landscape {
padding:10px;
}
@media @desktop-portrait {
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
}
}
}
.userCurrent {
font-weight: bold;
}
#username {
@media @landscape {
display:block;
}
@media @desktop-portrait {
display:block;
width:70%;
}
}

View File

@ -0,0 +1,21 @@
/* colors sorted by brightness */
@white: #fff, #f5f5f5, #eee;
@lightGrey: #d7d7d7, #cccdd1, #ccc, #999;
@darkGrey: #666, #60636a, #40434c, #32353e;
@azure: #54a7db, #0099FF;
@black: #000;
@yellow: #E3E1B8, #F9DF6B;
/* media queries */
/* standard landscape view: landscape browser window + landscape device screen */
@landscape: ~"all and (orientation: landscape) and (min-device-aspect-ratio: 1/1)";
/* keyboard is open on a mobile device: landscape browser window + portrait device screen */
@mobile-portrait-with-keyboard: ~"all and (orientation: landscape) and (max-device-aspect-ratio: 1/1)";
/* narrowed desktop window: portrait browser window + landscape device screen */
@desktop-portrait: ~"all and (orientation: portrait) and (min-device-aspect-ratio: 1/1)";
/* mobile device in portrait orientation: portrait browser window + portrait device screen */
@mobile-portrait: ~"all and (orientation: portrait) and (max-device-aspect-ratio: 1/1)";

View File

@ -0,0 +1,51 @@
@import "variables";
#whiteboard {
padding: 0 !important;
margin-left: 0.25%;
margin-right: 0.25%;
-webkit-flex: 2 2 50%;
-moz-flex: 2 2 50%;
-ms-flex: 2 2 50%;
flex: 2 2 50%;
min-width: 0;
@media @landscape {
-webkit-order: 2;
order: 2;
display: -moz-flex;
display: -ms-flexbox;
display: -ms-flex;
display: -webkit-flex;
display: flex;
}
@media @mobile-portrait-with-keyboard, @desktop-portrait, @mobile-portrait {
-webkit-order: 1;
order: 1;
}
}
#whiteboard-paper {
background-color: white !important;
/*height: auto !important;*/
margin-left: auto;
margin-right: auto;
#svggroup {
display: block;
height: 100% !important;
width: 100% !important;
}
@media @landscape {
position: relative;
top: 50%;
-webkit-transform: translateY(calc(~'-50% - 19px'));
-ms-transform: translateY(calc(~'-50% - 19px'));
transform: translateY(calc(~'-50% - 19px'));
}
}
#whiteboard-navbar {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}