metamaps--metamaps/app/assets/stylesheets/junto.css.erb

349 lines
8.6 KiB
Text
Raw Permalink Normal View History

2015-09-19 16:02:05 +00:00
.collaborator-video {
z-index: 1;
2015-09-19 16:02:05 +00:00
position: absolute;
width: 150px;
height: 150px;
cursor: default;
color: #FFF;
}
2015-12-11 22:29:17 +00:00
.collaborator-video .video-receive {
position: absolute;
width: 160px;
padding: 20px 20px 20px 170px;
background: #424242;
height: 110px;
border-top-left-radius: 75px;
border-bottom-left-radius: 75px;
border-top-right-radius: 2px;
border-bottom-right-radius: 2px;
}
.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;
}
2015-09-19 16:02:05 +00:00
.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;
2015-12-13 00:00:51 +00:00
display: none;
2015-09-19 16:02:05 +00:00
}
.collaborator-video .video-audio {
position: absolute;
width: 24px;
height: 24px;
top: 85%;
right: 0px;
cursor: pointer;
2015-12-11 23:49:22 +00:00
background: url(<%= asset_path 'audio_sprite.png' %>) no-repeat;
2015-09-19 16:02:05 +00:00
}
.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;
2015-12-11 23:49:22 +00:00
background: url(<%= asset_path 'camera_sprite.png' %>) no-repeat;
2015-09-19 16:02:05 +00:00
}
.collaborator-video .video-video:hover {
background-position-x: -24px;
}
.collaborator-video .video-video.active {
background-position-y: -24px;
}
.collaborator-video.my-video {
left: 30px;
top: 72px;
2015-09-19 16:02:05 +00:00
}
.chat-box {
position: relative;
2015-12-11 19:23:41 +00:00
display: flex;
flex-direction: column;
2015-09-19 16:02:05 +00:00
z-index: 1;
width: 300px;
float: right;
2015-09-19 16:02:05 +00:00
height: 100%;
background: #424242;
2016-09-09 21:06:05 +00:00
box-shadow: -8px 0px 16px 2px rgba(0, 0, 0, 0.23);
2015-09-19 16:02:05 +00:00
}
.chat-box .chat-button {
position: absolute;
top: 50%;
left: -36px;
width: 36px;
height: 49px;
2015-12-11 23:49:22 +00:00
background: url(<%= asset_path 'junto.png' %>) no-repeat 2px 9px, url(<%= asset_path 'tray_tab.png' %>) no-repeat;
cursor: pointer;
2015-09-19 16:02:05 +00:00
}
2015-12-22 23:05:13 +00:00
.chat-box .chat-button.active {
2016-02-08 20:14:33 +00:00
background: url(<%= asset_path 'junto_spinner_dark.gif' %>) no-repeat 2px 8px, url(<%= asset_path 'tray_tab.png' %>) no-repeat !important;
2015-12-22 23:05:13 +00:00
}
2015-09-19 16:02:05 +00:00
.chat-box .chat-button .chat-unread {
display: none;
background: #DAB539;
position: absolute;
top: -3px;
left: -11px;
width: 20px;
height: 20px;
border-radius: 11px;
border: 2px solid #424242;
color: #424242;
text-align: center;
font-size: 12px;
font-weight: bold;
line-height: 20px;
}
.chat-box .junto-header {
2016-09-09 21:06:05 +00:00
width: 276px;
2015-09-19 16:02:05 +00:00
padding: 16px 8px 16px 16px;
font-size: 16px;
text-align: left;
font-weight: bold;
background-color: #000000;
color: #f5f5f5;
2016-09-09 21:06:05 +00:00
box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23);
2015-09-19 16:02:05 +00:00
}
.chat-box .junto-header .cursor-toggle {
width: 32px;
height: 32px;
margin-right: 8px;
margin-top: -8px;
float: right;
2015-12-11 23:49:22 +00:00
background: url(<%= asset_path 'cursor_sprite.png' %>) no-repeat;
2015-09-19 16:02:05 +00:00
}
.chat-box .junto-header .cursor-toggle:hover {
background-position-x: -32px;
}
.chat-box .junto-header .cursor-toggle.active {
background-position-y: -32px;
}
.chat-box .junto-header .video-toggle {
width: 32px;
height: 32px;
2016-09-09 21:06:05 +00:00
margin-right: 10px;
2015-09-19 16:02:05 +00:00
margin-top: -8px;
float: right;
2015-12-11 23:49:22 +00:00
background: url(<%= asset_path 'video_sprite.png' %>) no-repeat;
2015-09-19 16:02:05 +00:00
}
.chat-box .junto-header .video-toggle:hover {
background-position-x: -32px;
}
.chat-box .junto-header .video-toggle.active {
background-position-y: -32px;
}
.chat-box .participants {
width: 100%;
2015-12-11 19:23:41 +00:00
min-height: 150px;
2016-02-25 23:43:27 +00:00
padding: 16px 0px 16px 0px;
2015-09-19 16:02:05 +00:00
text-align: left;
color: #f5f5f5;
overflow-y: auto;
}
.chat-box .participants .conversation-live {
display: none;
padding: 5px 10px 5px 10px;
background: #c04f4f;
margin: 5px 10px;
border-radius: 2px;
}
.chat-box .participants .conversation-live .call-action {
float: right;
cursor: pointer;
color: #EBFF00;
}
.chat-box .participants .conversation-live .leave {
display: none;
}
2016-02-17 00:27:22 +00:00
.chat-box .participants.is-participating .conversation-live .leave {
display: block;
}
2016-02-17 00:27:22 +00:00
.chat-box .participants.is-participating .conversation-live .join {
display: none;
}
2015-09-19 16:02:05 +00:00
.chat-box .participants .participant {
width: 89%;
padding: 8px 8px 2px 8px;
color: #f5f5f5;
font-family: arial, sans-serif;
font-size: 13px;
line-height: 14px;
}
.chat-box .participants .participant .chat-participant-image {
width: 15%;
float: left;
overflow: hidden;
color: #BBB;
padding-top: 2px;
}
.chat-box .participants .participant .chat-participant-image img {
width: 32px;
height: 32px;
border-radius: 18px;
}
.chat-box .participants .participant .chat-participant-name {
width: 53%;
2015-09-19 16:02:05 +00:00
float: left;
font-size: 13px;
font-weight: bold;
margin-top: 12px;
padding: 2px 8px 0;
text-align: left;
}
2016-02-25 23:43:27 +00:00
.chat-box .participants .participant.is-self .chat-participant-invite-call,
.chat-box .participants .participant.is-self .chat-participant-invite-join {
display: none !important;
}
2016-02-17 00:27:22 +00:00
.chat-box .participants.is-live .participant .chat-participant-invite-call {
display: none;
}
2016-02-17 00:27:22 +00:00
.chat-box .participants .participant .chat-participant-invite-join {
display: none;
}
.chat-box .participants.is-live.is-participating .participant:not(.active) .chat-participant-invite-join {
2016-02-17 00:27:22 +00:00
display: block;
}
.chat-box .participants .participant .chat-participant-invite-call,
.chat-box .participants .participant .chat-participant-invite-join
{
float: right;
2016-02-08 20:14:33 +00:00
background: #4FC059 url(<%= asset_path 'invitepeer16.png' %>) no-repeat center center;
}
2016-02-25 23:43:27 +00:00
.chat-box .participants .participant.pending .chat-participant-invite-call,
.chat-box .participants .participant.pending .chat-participant-invite-join {
background: #dab539 url(<%= asset_path 'ellipsis.gif' %>) no-repeat center center;
}
2016-02-17 00:27:22 +00:00
.chat-box .participants .participant .chat-participant-participating {
float: right;
display: none;
margin-top: 14px;
}
.chat-box .participants .participant .chat-participant-participating .green-dot {
background: #4fc059;
width: 12px;
height: 12px;
border-radius: 6px;
}
2016-02-17 00:27:22 +00:00
.chat-box .participants .participant.active .chat-participant-participating {
display: block;
}
2015-09-19 16:02:05 +00:00
.chat-box .chat-header {
2016-09-09 21:06:05 +00:00
width: 276px;
2015-09-19 16:02:05 +00:00
padding: 16px 8px 16px 16px;
font-size: 16px;
text-align: left;
font-weight: bold;
background-color: #000000;
color: #f5f5f5;
2016-09-09 21:06:05 +00:00
box-shadow: 0px 6px 3px rgba(0, 0, 0, 0.23);
2015-09-19 16:02:05 +00:00
}
.chat-box .chat-header .sound-toggle {
width: 24px;
height: 24px;
2016-09-09 21:06:05 +00:00
margin-right: 10px;
2015-09-19 16:02:05 +00:00
margin-top: -2px;
float: right;
2015-12-11 23:49:22 +00:00
background: url(<%= asset_path 'sound_sprite.png' %>) no-repeat;
2015-09-19 16:02:05 +00:00
}
.chat-box .chat-header .sound-toggle:hover {
background-position-x: -24px;
}
.chat-box .chat-header .sound-toggle.active {
background-position-y: -24px;
}
.chat-box .chat-input {
2015-12-11 19:23:41 +00:00
min-height: 80px;
2015-12-22 21:34:30 +00:00
width: 94%;
padding: 8px 3% 8px 3%;
2015-09-19 16:02:05 +00:00
font-size: 13px;
outline: none;
2015-12-22 21:34:30 +00:00
resize: none;
2015-09-19 16:02:05 +00:00
}
.chat-box .chat-messages {
width: 100%;
padding: 16px 0px 0px 0px;
overflow-y: auto;
flex-grow: 1;
2015-09-19 16:02:05 +00:00
}
.chat-box .chat-messages .chat-message {
width: 89%;
padding: 8px 8px 2px 8px;
color: #f5f5f5;
font-family: arial, sans-serif;
font-size: 13px;
line-height: 14px;
}
.chat-box .chat-messages .chat-message a:link {
color: #4fb5c0;
text-decoration: underline;
}
.chat-box .chat-messages .chat-message a:visited {
color: #aea9fd;
text-decoration: underline;
}
.chat-box .chat-messages .chat-message a:hover {
color: #dab539;
text-decoration: underline;
}
.chat-box .chat-messages .chat-message .chat-message-user {
width: 15%;
float: left;
overflow: hidden;
color: #BBB;
padding-top: 2px;
}
.chat-box .chat-messages .chat-message .chat-message-user img {
border: 2px solid #424242;
width: 32px;
height: 32px;
border-radius: 18px;
}
.chat-box .chat-messages .chat-message .chat-message-text {
width: 73%;
float: left;
margin-top: 12px;
padding: 2px 8px 0;
text-align: left;
word-wrap: break-word;
2015-09-19 16:02:05 +00:00
}
.chat-box .chat-messages .chat-message .chat-message-time {
float: right;
font-size: 10px;
color: #757575;
}