mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-26 07:20:57 +01:00
28201bf2b5
Summary: Roughly, if user isn't in any rooms, search for joinable ones. If no results, show big NUX banner. Test Plan: Left all rooms, got fallback, joined room, left room. Create new instance, see new NUX. Set instance to public, visit Conpherence with and without public rooms. Reviewers: epriestley Reviewed By: epriestley Subscribers: Korvin Differential Revision: https://secure.phabricator.com/D16563
366 lines
7.9 KiB
CSS
366 lines
7.9 KiB
CSS
/**
|
|
* @provides conpherence-message-pane-css
|
|
*/
|
|
|
|
.conpherence-message-pane,
|
|
.loading .messages-loading-mask,
|
|
.loading .messages-loading-icon,
|
|
.conpherence-layout .conpherence-no-threads {
|
|
position: fixed;
|
|
left: 240px;
|
|
right: 240px;
|
|
top: 102px;
|
|
bottom: 0px;
|
|
min-width: 300px;
|
|
width: auto;
|
|
}
|
|
|
|
.device .conpherence-message-pane,
|
|
.device .loading .messages-loading-mask,
|
|
.device .loading .messages-loading-icon,
|
|
.device .conpherence-layout .conpherence-no-threads {
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.conpherence-layout .conpherence-content-pane .conpherence-no-threads {
|
|
top: 44px;
|
|
right: 0;
|
|
background: #fff;
|
|
z-index: 26;
|
|
}
|
|
|
|
.conpherence-layout .phui-big-info-view {
|
|
margin: 16px;
|
|
}
|
|
|
|
.conpherence-layout .conpherence-no-threads .phui-box-border {
|
|
border: none;
|
|
margin: 0;
|
|
}
|
|
|
|
.conpherence-show-more-messages {
|
|
display: block;
|
|
background: #e0e3ec;
|
|
margin: 10px;
|
|
text-align: center;
|
|
padding: 10px;
|
|
color: {$bluetext};
|
|
}
|
|
|
|
.conpherence-show-more-messages-loading {
|
|
font-style: italic;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-messages {
|
|
position: fixed;
|
|
left: 240px;
|
|
right: 240px;
|
|
top: 103px;
|
|
bottom: 148px;
|
|
overflow-x: hidden;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.conpherence-logged-out .conpherence-message-pane .conpherence-messages {
|
|
bottom: 42px;
|
|
}
|
|
|
|
.conpherence-messages.jx-scrollbar-frame {
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.conpherence-messages .jx-scrollbar-content > .conpherence-edited:first-child,
|
|
.conpherence-messages > .conpherence-edited:first-child {
|
|
padding-top: 20px;
|
|
}
|
|
|
|
.conpherence-messages .jx-scrollbar-content .conpherence-edited:last-child {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited + .date-marker {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.device .conpherence-message-pane .conpherence-messages {
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 44px;
|
|
width: 100%;
|
|
box-shadow: none;
|
|
}
|
|
|
|
.conpherence-message-pane .messages-loading-mask {
|
|
opacity: .6;
|
|
background: #fff;
|
|
display: none;
|
|
}
|
|
|
|
.loading .messages-loading-mask {
|
|
display: block;
|
|
}
|
|
|
|
.conpherence-message-pane .phui-form-view {
|
|
border-width: 0;
|
|
height: 140px;
|
|
padding: 0 20px 12px;
|
|
position: fixed;
|
|
bottom: 0;
|
|
left: 240px;
|
|
right: 241px;
|
|
}
|
|
|
|
.device .conpherence-message-pane .phui-form-view {
|
|
padding: 8px 8px;
|
|
}
|
|
|
|
.conpherence-message-pane .phui-form-view.login-to-participate {
|
|
height: 26px;
|
|
}
|
|
|
|
.conpherence-message-pane .login-to-participate a.button {
|
|
float: right;
|
|
}
|
|
|
|
.conpherence-message-pane .aphront-form-control-submit button,
|
|
.conpherence-message-pane .aphront-form-control-submit a.button {
|
|
margin-top: 6px;
|
|
}
|
|
|
|
.device .conpherence-message-pane .aphront-form-control-submit button,
|
|
.device .conpherence-message-pane .aphront-form-control-submit a.button {
|
|
margin-top: 13px;
|
|
}
|
|
|
|
/**
|
|
* When entering "Fullscreen Mode" in the remarkup control, we need to drop
|
|
* all of the "position: fixed" on parent elements or Chrome doesn't put the
|
|
* textarea on top.
|
|
*/
|
|
.remarkup-fullscreen-mode .conpherence-message-pane,
|
|
.remarkup-fullscreen-mode .conpherence-message-pane .conpherence-messages,
|
|
.remarkup-fullscreen-mode .conpherence-message-pane .phui-form-view,
|
|
.remarkup-fullscreen-mode .conpherence-layout {
|
|
position: static;
|
|
}
|
|
|
|
.conpherence-message-pane .remarkup-assist-bar {
|
|
border: 2px solid {$lightgreyborder};
|
|
border-bottom: none;
|
|
border-top-left-radius: 3px;
|
|
border-top-right-radius: 3px;
|
|
background-color: #f7f7f7;
|
|
}
|
|
|
|
.device .conpherence-message-pane .remarkup-assist-bar {
|
|
display: none;
|
|
}
|
|
|
|
.device .conpherence-message-pane .phui-form-view {
|
|
left: 0;
|
|
right: 0;
|
|
height: 34px;
|
|
width: auto;
|
|
}
|
|
|
|
.conpherence-layout .conpherence-message-pane .phui-form-view
|
|
div.aphront-form-input {
|
|
margin: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-view {
|
|
padding: 2px 0px;
|
|
margin: 4px 20px;
|
|
background-size: 100%;
|
|
min-height: auto;
|
|
}
|
|
|
|
.device-phone .conpherence-message-pane .conpherence-transaction-view {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-image {
|
|
float: left;
|
|
border-radius: 3px;
|
|
height: 35px;
|
|
width: 35px;
|
|
background-size: 35px;
|
|
position: absolute;
|
|
top: 5px;
|
|
}
|
|
|
|
.device-phone .conpherence-message-pane .conpherence-transaction-image {
|
|
height: 25px;
|
|
width: 25px;
|
|
background-size: 25px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-comment.anchor-target,
|
|
.conpherence-message-pane .conpherence-edited.anchor-target {
|
|
background: {$lightyellow};
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-comment.anchor-target {
|
|
margin: 4px 8px 4px 8px;
|
|
padding: 2px 4px 2px 4px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited.anchor-target {
|
|
margin: 0px 8px 0px 8px;
|
|
padding: 0px 4px 0px 4px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-detail {
|
|
border-width: 0;
|
|
margin-left: 45px;
|
|
}
|
|
|
|
.device-phone .conpherence-message-pane .conpherence-transaction-detail {
|
|
margin-left: 32px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-view.date-marker {
|
|
padding: 0;
|
|
margin: 20px 20px 4px;
|
|
min-height: auto;
|
|
}
|
|
|
|
.device-phone .conpherence-message-pane
|
|
.conpherence-transaction-view.date-marker {
|
|
margin: 12px 0 4px;
|
|
}
|
|
|
|
.device-tablet .conpherence-message-pane
|
|
.conpherence-transaction-view.date-marker {
|
|
padding-left: 37px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-view.date-marker
|
|
.date {
|
|
left: 40px;
|
|
font-size: {$normalfontsize};
|
|
padding: 0px 4px;
|
|
}
|
|
|
|
.device .conpherence-message-pane .conpherence-transaction-view.date-marker
|
|
.date {
|
|
left: 4px;
|
|
}
|
|
|
|
.device-phone .conpherence-message-pane .conpherence-edited {
|
|
min-height: none;
|
|
color: {$lightgreytext};
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited .conpherence-transaction-content {
|
|
color: {$lightgreytext};
|
|
font-size: {$biggerfontsize};
|
|
font-style: italic;
|
|
margin: 0;
|
|
padding: 0;
|
|
float: left;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited {
|
|
padding: 0;
|
|
margin-top: 0;
|
|
margin-bottom: 0;
|
|
min-height: inherit;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited + .conpherence-comment {
|
|
margin-top: 16px;
|
|
}
|
|
|
|
.conpherence-transaction-view.conpherence-edited +
|
|
.conpherence-transaction-view.date-marker {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited .conpherence-transaction-header {
|
|
float: right;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-edited
|
|
.conpherence-transaction-content a {
|
|
color: {$darkbluetext};
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-info {
|
|
margin: 0 8px;
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-info,
|
|
.conpherence-message-pane .anchor-link,
|
|
.conpherence-message-pane .phabricator-content-source-view {
|
|
color: {$lightgreytext};
|
|
line-height: 16px;
|
|
font-size: {$smallerfontsize};
|
|
}
|
|
|
|
.conpherence-message-pane .conpherence-transaction-content {
|
|
padding: 2px 0 8px 0;
|
|
}
|
|
|
|
.conpherence-message-pane .aphront-form-control {
|
|
padding: 0;
|
|
}
|
|
|
|
.conpherence-message-pane .remarkup-assist-textarea {
|
|
height: 80px;
|
|
padding: 8px;
|
|
border: 2px solid {$lightgreyborder};
|
|
border-top: 1px solid {$thinblueborder};
|
|
box-sizing: border-box;
|
|
-moz-box-sizing: border-box;
|
|
-webkit-box-sizing: border-box;
|
|
resize: none;
|
|
outline: none;
|
|
box-shadow: none;
|
|
border-bottom-left-radius: 3px;
|
|
border-bottom-right-radius: 3px;
|
|
}
|
|
|
|
.conpherence-message-pane .remarkup-assist-textarea:focus {
|
|
border: 2px solid {$lightgreyborder};
|
|
border-top: 1px solid {$thinblueborder};
|
|
}
|
|
|
|
.device .conpherence-message-pane .remarkup-assist-textarea {
|
|
margin: 0;
|
|
padding: 8px 68px 8px 8px;
|
|
width: 100%;
|
|
height: 34px;
|
|
resize: none;
|
|
border-top: 2px solid {$lightgreyborder};
|
|
border-top-left-radius: 3px;
|
|
border-top-right-radius: 3px;
|
|
}
|
|
|
|
.conpherence-message-pane .remarkup-assist-textarea:focus {
|
|
outline: none;
|
|
}
|
|
|
|
.device .conpherence-message-pane .aphront-form-control-submit {
|
|
padding: 0;
|
|
position: absolute;
|
|
top: -2px;
|
|
right: 12px;
|
|
}
|
|
|
|
.device .conpherence-message-pane .aphront-form-control-textarea {
|
|
float: left;
|
|
height: 24px;
|
|
width: 100%;
|
|
}
|
|
|
|
.conpherence-message .phabricator-remarkup .remarkup-code-block pre {
|
|
max-height: 200px;
|
|
}
|
|
|