Browse Source

Change out colors for variables.

pull/29/head^2
Evan Theurer 12 years ago
parent
commit
4f185794b6
  1. 18
      src/styles/components/_audiovideo.scss
  2. 5
      src/styles/global/_variables.scss

18
src/styles/components/_audiovideo.scss

@ -129,7 +129,7 @@
max-width: 100%; max-width: 100%;
} }
.localVideo { .localVideo {
background: rgba(0,0,0,.4); background: $video-background;
display: block; display: block;
max-height: 100%; max-height: 100%;
opacity: 0; opacity: 0;
@ -156,7 +156,7 @@
} }
.audiovideo .remoteVideo{ .audiovideo .remoteVideo{
background: rgba(0,0,0,.4); background: $video-background;
display: inline-block; display: inline-block;
max-height: 100%; max-height: 100%;
max-width: 100%; max-width: 100%;
@ -169,11 +169,11 @@
visibility: visible; visibility: visible;
} }
&.onlyaudio { &.onlyaudio {
background: #666; background: $video-onlyaudio-background;
visibility: visible; visibility: visible;
} }
.onlyaudio { .onlyaudio {
color: rgba(255,255,255,.3); color: $video-onlyaudio;
display: none; display: none;
font-size: 80px; font-size: 80px;
left: 0; left: 0;
@ -226,7 +226,7 @@
} }
.audiovideo .overlayActions { .audiovideo .overlayActions {
background: rgba(0,0,0,.9); background: $video-overlayactions;
bottom: 0; bottom: 0;
height: 70px; height: 70px;
left: 0; left: 0;
@ -249,7 +249,7 @@
.remoteVideo { .remoteVideo {
&.talking .peerLabel { &.talking .peerLabel {
color: #9dd53a; color: $audiovideolevel;
} }
.peerLabel { .peerLabel {
transition: color 500ms ease-out; transition: color 500ms ease-out;
@ -272,7 +272,7 @@
.miniContainer { .miniContainer {
&.talking video { &.talking video {
border: 1px solid #9dd53a; border: 1px solid $audiovideolevel;
} }
video { video {
border: 1px solid transparent; border: 1px solid transparent;
@ -307,7 +307,7 @@
.renderer-conferencekiosk { .renderer-conferencekiosk {
.remoteVideos { .remoteVideos {
background: rgba(0,0,0,.4); background: $video-background;
bottom: 2px; bottom: 2px;
min-height: 108px; min-height: 108px;
pointer-events: auto; pointer-events: auto;
@ -327,7 +327,7 @@
font-size: 1.1em; font-size: 1.1em;
} }
.peerLabel { .peerLabel {
background: rgba(0,0,0,.9); background: $video-overlayactions;
} }
} }
.miniContainer { .miniContainer {

5
src/styles/global/_variables.scss

@ -40,6 +40,11 @@ $grey4: rgba(0,0,0,.4);
$dgrey: rgb(34,34,34); $dgrey: rgb(34,34,34);
$red: rgb(219,79,57); $red: rgb(219,79,57);
$video-background: rgba(0,0,0,.4);
$video-onlyaudio-background: #666;
$video-onlyaudio: rgba(255,255,255,.3);
$video-overlayactions: rgba(0,0,0,.9);
$breakpoint-small: 480px; $breakpoint-small: 480px;
$breakpoint-medium: 700px; $breakpoint-medium: 700px;
$breakpoint-large: 1280px; $breakpoint-large: 1280px;

Loading…
Cancel
Save