junto scss-ified

This commit is contained in:
Devin Howard 2017-01-03 14:31:55 -05:00
parent f18c42bcf4
commit c65bbe7dff

View file

@ -5,8 +5,8 @@
height: 150px; height: 150px;
cursor: default; cursor: default;
color: #FFF; color: #FFF;
}
.collaborator-video .video-receive { .video-receive {
position: absolute; position: absolute;
width: 160px; width: 160px;
padding: 20px 20px 20px 170px; padding: 20px 20px 20px 170px;
@ -16,84 +16,93 @@
border-bottom-left-radius: 75px; border-bottom-left-radius: 75px;
border-top-right-radius: 2px; border-top-right-radius: 2px;
border-bottom-right-radius: 2px; border-bottom-right-radius: 2px;
.video-statement {
margin-bottom: 10px;
}
.btn-group {
.btn-yes {
margin-right: 10px;
}
.btn-no {
background-color: #c04f4f;
&:hover {
background-color: #A54242;
}
}
}
}
.video-cutoff {
width: 150px;
height: 150px;
overflow: hidden;
border-radius: 75px;
z-index: 0;
position: relative;
-webkit-box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23), 10px 10px 10px rgba(0, 0, 0, 0.19);
-moz-box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23), 10px 10px 10px rgba(0, 0, 0, 0.19);
box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23), 10px 10px 10px rgba(0, 0, 0, 0.19);
video {
height: 150px;
margin-left: -25px;
}
.collaborator-video-avatar {
position: absolute;
top: 0;
left: 0;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
-webkit-user-drag: none;
display: none;
}
}
.video-audio {
position: absolute;
width: 24px;
height: 24px;
top: 85%;
right: 0px;
cursor: pointer;
background: url(<%= asset_path 'audio_sprite.png' %>) no-repeat;
}
.video-audio:hover {
background-position-x: -24px;
}
.video-audio.active {
background-position-y: -24px;
}
.video-video {
position: absolute;
width: 24px;
height: 24px;
top: 85%;
left: 0px;
cursor: pointer;
background: url(<%= asset_path 'camera_sprite.png' %>) no-repeat;
}
.video-video:hover {
background-position-x: -24px;
}
.video-video.active {
background-position-y: -24px;
}
} }
.collaborator-video .video-receive .video-statement {
margin-bottom: 10px;
}
.collaborator-video .video-receive .btn-group .btn-yes {
margin-right: 10px;
}
.collaborator-video .video-receive .btn-group .btn-no {
background-color: #c04f4f;
}
.collaborator-video .video-receive .btn-group .btn-no:hover {
background-color: #A54242;
}
.collaborator-video .video-cutoff {
width: 150px;
height: 150px;
overflow: hidden;
border-radius: 75px;
z-index: 0;
position: relative;
-webkit-box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23), 10px 10px 10px rgba(0, 0, 0, 0.19);
-moz-box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23), 10px 10px 10px rgba(0, 0, 0, 0.19);
box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23), 10px 10px 10px rgba(0, 0, 0, 0.19);
}
.collaborator-video .video-cutoff video {
height: 150px;
margin-left: -25px;
}
.collaborator-video .video-cutoff .collaborator-video-avatar {
position: absolute;
top: 0;
left: 0;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
-webkit-user-drag: none;
display: none;
}
.collaborator-video .video-audio {
position: absolute;
width: 24px;
height: 24px;
top: 85%;
right: 0px;
cursor: pointer;
background: url(<%= asset_path 'audio_sprite.png' %>) no-repeat;
}
.collaborator-video .video-audio:hover {
background-position-x: -24px;
}
.collaborator-video .video-audio.active {
background-position-y: -24px;
}
.collaborator-video .video-video {
position: absolute;
width: 24px;
height: 24px;
top: 85%;
left: 0px;
cursor: pointer;
background: url(<%= asset_path 'camera_sprite.png' %>) no-repeat;
}
.collaborator-video .video-video:hover {
background-position-x: -24px;
}
.collaborator-video .video-video.active {
background-position-y: -24px;
}
.collaborator-video.my-video { .collaborator-video.my-video {
left: 30px; left: 30px;
top: 72px; top: 72px;
} }
#chat-box-wrapper { #chat-box-wrapper {
height: 100%; height: 100%;
float: right; float: right;
} }
.chat-box { .chat-box {
position: relative; position: relative;
display: flex; display: flex;
@ -103,226 +112,239 @@
height: 100%; height: 100%;
background: #424242; background: #424242;
box-shadow: -8px 0px 16px 2px rgba(0, 0, 0, 0.23); box-shadow: -8px 0px 16px 2px rgba(0, 0, 0, 0.23);
}
.chat-box .chat-button { .chat-button {
position: absolute; position: absolute;
top: 50%; top: 50%;
left: -36px; left: -36px;
width: 36px; width: 36px;
height: 49px; height: 49px;
background: url(<%= asset_path 'junto.png' %>) no-repeat 2px 9px, url(<%= asset_path 'tray_tab.png' %>) no-repeat; background: url(<%= asset_path 'junto.png' %>) no-repeat 2px 9px, url(<%= asset_path 'tray_tab.png' %>) no-repeat;
cursor: pointer; cursor: pointer;
}
.chat-box .chat-button.active { &.active {
background: url(<%= asset_path 'junto_spinner_dark.gif' %>) no-repeat 2px 8px, url(<%= asset_path 'tray_tab.png' %>) no-repeat !important; background: url(<%= asset_path 'junto_spinner_dark.gif' %>) no-repeat 2px 8px, url(<%= asset_path 'tray_tab.png' %>) no-repeat !important;
} }
.chat-box .chat-button .chat-unread { .chat-unread {
background: #DAB539; background: #DAB539;
position: absolute; position: absolute;
top: -3px; top: -3px;
left: -11px; left: -11px;
width: 20px; width: 20px;
height: 20px; height: 20px;
border-radius: 11px; border-radius: 11px;
border: 2px solid #424242; border: 2px solid #424242;
color: #424242; color: #424242;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
font-weight: bold; font-weight: bold;
line-height: 20px; line-height: 20px;
} }
.chat-box .junto-header { }
width: 276px;
padding: 16px 8px 16px 16px; .junto-header {
font-size: 16px; width: 276px;
text-align: left; padding: 16px 8px 16px 16px;
font-weight: bold; font-size: 16px;
background-color: #000000; text-align: left;
color: #f5f5f5; font-weight: bold;
box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23); background-color: #000000;
} color: #f5f5f5;
.chat-box .junto-header .cursor-toggle { box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23);
width: 32px;
height: 32px; .cursor-toggle {
margin-right: 8px; width: 32px;
margin-top: -8px; height: 32px;
float: right; margin-right: 8px;
background: url(<%= asset_path 'cursor_sprite.png' %>) no-repeat; margin-top: -8px;
} float: right;
.chat-box .junto-header .cursor-toggle:hover { background: url(<%= asset_path 'cursor_sprite.png' %>) no-repeat;
background-position-x: -32px; }
} .cursor-toggle:hover {
.chat-box .junto-header .cursor-toggle.active { background-position-x: -32px;
background-position-y: -32px; }
} .cursor-toggle.active {
.chat-box .junto-header .video-toggle { background-position-y: -32px;
width: 32px; }
height: 32px; .video-toggle {
margin-right: 10px; width: 32px;
margin-top: -8px; height: 32px;
float: right; margin-right: 10px;
background: url(<%= asset_path 'video_sprite.png' %>) no-repeat; margin-top: -8px;
} float: right;
.chat-box .junto-header .video-toggle:hover { background: url(<%= asset_path 'video_sprite.png' %>) no-repeat;
background-position-x: -32px; }
} .video-toggle:hover {
.chat-box .junto-header .video-toggle.active { background-position-x: -32px;
background-position-y: -32px; }
} .video-toggle.active {
.chat-box .participants { background-position-y: -32px;
width: 100%; }
min-height: 150px; }
padding: 16px 0px 16px 0px;
text-align: left; .participants {
color: #f5f5f5; width: 100%;
overflow-y: auto; min-height: 150px;
} padding: 16px 0px 16px 0px;
.chat-box .participants .conversation-live { text-align: left;
padding: 5px 10px 5px 10px; color: #f5f5f5;
background: #c04f4f; overflow-y: auto;
margin: 5px 10px;
border-radius: 2px; .conversation-live {
} padding: 5px 10px 5px 10px;
.chat-box .participants .conversation-live .call-action { background: #c04f4f;
float: right; margin: 5px 10px;
cursor: pointer; border-radius: 2px;
color: #EBFF00; }
} .conversation-live .call-action {
.chat-box .participants .participant { float: right;
width: 89%; cursor: pointer;
padding: 8px 8px 2px 8px; color: #EBFF00;
color: #f5f5f5; }
font-family: arial, sans-serif; .participant {
font-size: 13px; width: 89%;
line-height: 14px; padding: 8px 8px 2px 8px;
} color: #f5f5f5;
.chat-box .participants .participant .chat-participant-image { font-family: arial, sans-serif;
width: 15%; font-size: 13px;
float: left; line-height: 14px;
overflow: hidden;
color: #BBB; .chat-participant-image {
padding-top: 2px; width: 15%;
} float: left;
.chat-box .participants .participant .chat-participant-image img { overflow: hidden;
width: 32px; color: #BBB;
height: 32px; padding-top: 2px;
border-radius: 18px; }
} .chat-participant-image img {
.chat-box .participants .participant .chat-participant-name { width: 32px;
width: 53%; height: 32px;
float: left; border-radius: 18px;
font-size: 13px; }
font-weight: bold; .chat-participant-name {
margin-top: 12px; width: 53%;
padding: 2px 8px 0; float: left;
text-align: left; font-size: 13px;
} font-weight: bold;
.chat-box .participants .participant .chat-participant-invite-call, margin-top: 12px;
.chat-box .participants .participant .chat-participant-invite-join padding: 2px 8px 0;
{ text-align: left;
float: right; }
background: #4FC059 url(<%= asset_path 'invitepeer16.png' %>) no-repeat center center; .chat-participant-invite-call,
} .chat-participant-invite-join
.chat-box .participants .participant .chat-participant-invite-call.pending, {
.chat-box .participants .participant .chat-participant-invite-join.pending { float: right;
background: #dab539 url(<%= asset_path 'ellipsis.gif' %>) no-repeat center center; background: #4FC059 url(<%= asset_path 'invitepeer16.png' %>) no-repeat center center;
} }
.chat-box .participants .participant .chat-participant-participating { .chat-participant-invite-call.pending,
float: right; .chat-participant-invite-join.pending {
margin-top: 14px; background: #dab539 url(<%= asset_path 'ellipsis.gif' %>) no-repeat center center;
} }
.chat-box .participants .participant .chat-participant-participating .green-dot { .chat-participant-participating {
background: #4fc059; float: right;
width: 12px; margin-top: 14px;
height: 12px; }
border-radius: 6px; .chat-participant-participating .green-dot {
} background: #4fc059;
.chat-box .chat-header { width: 12px;
width: 276px; height: 12px;
padding: 16px 8px 16px 16px; border-radius: 6px;
font-size: 16px; }
text-align: left; }
font-weight: bold; }
background-color: #000000;
color: #f5f5f5; .chat-header {
box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23); width: 276px;
} padding: 16px 8px 16px 16px;
.chat-box .chat-header .sound-toggle { font-size: 16px;
width: 24px; text-align: left;
height: 24px; font-weight: bold;
margin-right: 10px; background-color: #000000;
margin-top: -2px; color: #f5f5f5;
float: right; box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23);
background: url(<%= asset_path 'sound_sprite.png' %>) no-repeat;
} .sound-toggle {
.chat-box .chat-header .sound-toggle:hover { width: 24px;
background-position-x: -24px; height: 24px;
} margin-right: 10px;
.chat-box .chat-header .sound-toggle.active { margin-top: -2px;
background-position-y: -24px; float: right;
} background: url(<%= asset_path 'sound_sprite.png' %>) no-repeat;
.chat-box .chat-input { }
min-height: 80px; .sound-toggle:hover {
width: 94%; background-position-x: -24px;
padding: 8px 3% 8px 3%; }
font-size: 13px; .sound-toggle.active {
outline: none; background-position-y: -24px;
resize: none; }
} }
.chat-box .chat-messages {
width: 100%; .chat-input {
padding: 16px 0px; min-height: 80px;
overflow-y: auto; width: 94%;
flex-grow: 1; padding: 8px 3% 8px 3%;
} font-size: 13px;
.chat-box .chat-messages .chat-message { outline: none;
width: 89%; resize: none;
padding: 8px 8px 2px 8px; }
color: #f5f5f5;
font-family: arial, sans-serif; .chat-messages {
font-size: 13px; width: 100%;
line-height: 14px; padding: 16px 0px;
} overflow-y: auto;
.chat-box .chat-messages .chat-message a:link { flex-grow: 1;
color: #4fb5c0;
text-decoration: underline; .chat-message {
} width: 89%;
.chat-box .chat-messages .chat-message a:visited { padding: 8px 8px 2px 8px;
color: #aea9fd; color: #f5f5f5;
text-decoration: underline; font-family: arial, sans-serif;
} font-size: 13px;
.chat-box .chat-messages .chat-message a:hover { line-height: 14px;
color: #dab539;
text-decoration: underline; a:link {
} color: #4fb5c0;
.chat-box .chat-messages .chat-message .chat-message-user { text-decoration: underline;
width: 12%; }
float: left; a:visited {
overflow: hidden; color: #aea9fd;
color: #BBB; text-decoration: underline;
padding-top: 2px; }
} a:hover {
.chat-box .chat-messages .chat-message .chat-message-user img { color: #dab539;
border: 2px solid #424242; text-decoration: underline;
width: 26px; }
height: 26px; .chat-message-user {
border-radius: 14px; width: 12%;
} float: left;
.chat-box .chat-messages .chat-message .chat-message-meta { overflow: hidden;
padding: 0 8px; color: #BBB;
float: left; padding-top: 2px;
} }
.chat-box .chat-messages .chat-message .chat-message-username { .chat-message-user img {
color: #4fc059; border: 2px solid #424242;
} width: 26px;
.chat-box .chat-messages .chat-message .chat-message-text { height: 26px;
width: 80%; border-radius: 14px;
float: left; }
padding: 2px 8px 0; .chat-message-meta {
text-align: left; padding: 0 px;
word-wrap: break-word; float: left;
} }
.chat-box .chat-messages .chat-message .chat-message-time { .chat-message-username {
font-size: 10px; color: #4fc059;
color: #757575; }
.chat-message-text {
width: 80%;
float: left;
padding: 2px 8px 0;
text-align: left;
word-wrap: break-word;
}
.chat-message-time {
font-size: 10px;
color: #757575;
}
}
}
} }