mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 17:36:38 +02:00
823 lines
21 KiB
Text
823 lines
21 KiB
Text
/** The message area **/
|
|
.messaging-area-container {
|
|
margin-bottom: 30px;
|
|
|
|
.status {
|
|
.online-text {
|
|
display: none;
|
|
color: #77dd77;
|
|
}
|
|
|
|
.offline-text {
|
|
color: #ff6961;
|
|
}
|
|
|
|
&.online {
|
|
.online-text {
|
|
display: block;
|
|
}
|
|
.offline-text {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
a,
|
|
.btn.btn-link {
|
|
color: #4f94cd;
|
|
}
|
|
|
|
.messaging-area {
|
|
border: 1px solid #e3e3e3;
|
|
clear: both;
|
|
border-radius: 4px;
|
|
|
|
.setSelectedContact() {
|
|
background-color: #4f94cd;
|
|
color: #fff;
|
|
border: none;
|
|
|
|
.information {
|
|
.lastmessage {
|
|
color: #fff;
|
|
}
|
|
}
|
|
.picture {
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.contacts-area {
|
|
border-right: 1px solid #e3e3e3;
|
|
height: 600px;
|
|
|
|
&.searchfilter {
|
|
|
|
.searchtextarea {
|
|
height: 80px;
|
|
}
|
|
|
|
.searcharea {
|
|
height: 470px;
|
|
}
|
|
}
|
|
|
|
.searchtextarea {
|
|
padding: 5px;
|
|
text-align: center;
|
|
height: 50px;
|
|
box-sizing: border-box;
|
|
line-height: 50px;
|
|
background-color: #fff;
|
|
transition: background-color linear 0.2s;
|
|
|
|
input {
|
|
background-color: #f5f5f5;
|
|
border: 0;
|
|
width: 90%;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
transition: background-color linear 0.2s;
|
|
|
|
&:focus {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&.searching {
|
|
background-color: #f5f5f5;
|
|
transition: background-color linear 0.2s;
|
|
|
|
input {
|
|
background-color: #fff;
|
|
transition: background-color linear 0.2s;
|
|
}
|
|
}
|
|
|
|
.searchfilterarea {
|
|
line-height: 20px;
|
|
|
|
.searchfilter {
|
|
float: left;
|
|
}
|
|
|
|
.searchfilterdelete {
|
|
float: left;
|
|
margin-left: 5px;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.searcharea {
|
|
|
|
.heading {
|
|
text-align: center;
|
|
border-top: 1px solid black;
|
|
border-bottom: 1px solid black;
|
|
font-size: 14px;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.course {
|
|
text-align: center;
|
|
|
|
&:hover {
|
|
background-color: #4f94cd;
|
|
color: #fff;
|
|
border: none;
|
|
cursor: pointer;
|
|
}
|
|
}
|
|
}
|
|
|
|
.contacts {
|
|
height: 500px;
|
|
overflow-y: scroll;
|
|
|
|
.contact {
|
|
height: 66px;
|
|
cursor: pointer;
|
|
border-bottom: 1px solid #e3e3e3;
|
|
box-sizing: border-box;
|
|
|
|
&.unread {
|
|
background-color: #f1f1f1;
|
|
|
|
.information {
|
|
// The span7 width to allow unread message count to show.
|
|
width: 57.26495726%;
|
|
}
|
|
|
|
.unread-count-container {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
&:hover {
|
|
.setSelectedContact();
|
|
background-color: #79b5e6;
|
|
}
|
|
|
|
&.selected:not([aria-checked]) {
|
|
.setSelectedContact();
|
|
}
|
|
|
|
.picture {
|
|
line-height: 66px;
|
|
text-align: center;
|
|
height: 66px;
|
|
border-bottom: 1px solid #fff;
|
|
|
|
img {
|
|
border-radius: 50%;
|
|
height: 54px;
|
|
}
|
|
}
|
|
|
|
.information {
|
|
padding: 6px 0;
|
|
height: 66px;
|
|
|
|
.name {
|
|
font-weight: bold;
|
|
}
|
|
|
|
.lastmessage {
|
|
word-wrap: break-word;
|
|
margin: 0;
|
|
height: 40px;
|
|
line-height: 17px;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
color: #a1a1a1;
|
|
padding-right: 10px;
|
|
}
|
|
}
|
|
|
|
.unread-count-container {
|
|
display: none;
|
|
line-height: 66px;
|
|
text-align: center;
|
|
}
|
|
}
|
|
}
|
|
|
|
.setSelectedTab() {
|
|
color: #4f94cd;
|
|
}
|
|
|
|
.tabs {
|
|
border-top: 1px solid #e3e3e3;
|
|
height: 50px;
|
|
box-sizing: border-box;
|
|
|
|
.tab {
|
|
cursor: pointer;
|
|
height: 100%;
|
|
background-color: #f5f5f5;
|
|
margin: 0;
|
|
width: 50%;
|
|
text-align: center;
|
|
|
|
&:hover {
|
|
.setSelectedTab();
|
|
}
|
|
|
|
.tabimage {
|
|
height: 30px;
|
|
line-height: 30px;
|
|
|
|
img {
|
|
height: 20px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.tab.selected {
|
|
.setSelectedTab();
|
|
}
|
|
}
|
|
|
|
&.editing {
|
|
.contacts {
|
|
.contact {
|
|
&[aria-checked="true"] {
|
|
.setSelectedContact();
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.messages-area {
|
|
width: 76.92407792%;
|
|
height: 600px;
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
position: relative;
|
|
|
|
.profile {
|
|
padding: 30px;
|
|
font-size: 16px;
|
|
|
|
.user-container {
|
|
height: 100px;
|
|
|
|
.profile-picture {
|
|
border-radius: 50%;
|
|
max-height: 100px;
|
|
display: inline-block;
|
|
}
|
|
|
|
.name-container {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
margin-top: 20px;
|
|
margin-left: 10px;
|
|
|
|
.name {
|
|
font-weight: bold;
|
|
display: block;
|
|
}
|
|
|
|
.status {
|
|
display: block;
|
|
font-size: 14px;
|
|
}
|
|
}
|
|
}
|
|
|
|
.information {
|
|
margin: 0;
|
|
display: inline-block;
|
|
float: right;
|
|
margin-top: 20px;
|
|
font-size: 14px;
|
|
|
|
.names {
|
|
display: inline-block;
|
|
font-weight: bold;
|
|
text-align: right;
|
|
margin-right: 10px;
|
|
}
|
|
|
|
.values {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.actions {
|
|
padding-top: 80px;
|
|
|
|
.separator {
|
|
border-bottom: 1px solid #e3e3e3;
|
|
margin-bottom: 20px;
|
|
padding-bottom: 5px;
|
|
|
|
a {
|
|
&.danger {
|
|
color: #ff6961;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.messages-header {
|
|
height: 50px;
|
|
font-weight: bold;
|
|
line-height: 50px;
|
|
box-sizing: border-box;
|
|
border-bottom: 1px solid #e3e3e3;
|
|
text-align: center;
|
|
position: relative;
|
|
|
|
.delete-instructions {
|
|
display: none;
|
|
}
|
|
|
|
.name-container {
|
|
padding-top: 9px;
|
|
display: inline-block;
|
|
|
|
.name {
|
|
line-height: 20px;
|
|
}
|
|
|
|
.status {
|
|
line-height: 12px;
|
|
font-size: 12px;
|
|
font-weight: normal;
|
|
}
|
|
}
|
|
|
|
.actions {
|
|
position: absolute;
|
|
top: 0;
|
|
right: 0;
|
|
padding-right: 15px;
|
|
font-weight: normal;
|
|
|
|
.cancel-messages-delete {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.messages {
|
|
height: 500px;
|
|
overflow-y: auto;
|
|
box-sizing: border-box;
|
|
padding: 15px 50px;
|
|
|
|
.blocktime {
|
|
clear: both;
|
|
text-align: center;
|
|
color: #a1a1a1;
|
|
font-size: 12px;
|
|
margin: 5px 0;
|
|
}
|
|
|
|
.message {
|
|
|
|
.deletemessagecheckbox {
|
|
display: none;
|
|
text-align: center;
|
|
padding-top: 5px;
|
|
}
|
|
|
|
.content {
|
|
border: 1px solid #e3e3e3;
|
|
padding: 10px;
|
|
margin-bottom: 5px;
|
|
font-size: 12px;
|
|
word-wrap: break-word;
|
|
max-width: 55%;
|
|
border-radius: 4px;
|
|
position: relative;
|
|
|
|
.text {
|
|
display: inline-block;
|
|
margin-right: 60px;
|
|
width: 90%;
|
|
|
|
p {
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
.timesent {
|
|
font-size: 10px;
|
|
color: #a1a1a1;
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 10px;
|
|
}
|
|
}
|
|
|
|
.content.left {
|
|
float: left;
|
|
}
|
|
|
|
.content.right {
|
|
float: right;
|
|
}
|
|
}
|
|
}
|
|
|
|
.response {
|
|
border-bottom-right-radius: 4px;
|
|
padding: 10px 0 9px 0;
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
line-height: 28px;
|
|
text-align: center;
|
|
border-top: 1px solid #e3e3e3;
|
|
box-sizing: border-box;
|
|
background-color: #fff;
|
|
transition: background-color linear 0.2s;
|
|
|
|
.delete-confirmation {
|
|
display: none;
|
|
|
|
.btn.btn-link.confirm {
|
|
border: 1px solid #4f94cd;
|
|
border-radius: 4px;
|
|
|
|
&:hover {
|
|
background-color: #4f94cd;
|
|
color: #fff;
|
|
text-shadow: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
textarea {
|
|
width: 85%;
|
|
margin: 0;
|
|
resize: none;
|
|
border: none;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
background-color: #f5f5f5;
|
|
transition: background-color linear 0.2s;
|
|
|
|
&:focus {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
}
|
|
|
|
&.messaging {
|
|
background-color: #f5f5f5;
|
|
transition: background-color linear 0.2s;
|
|
|
|
textarea {
|
|
background-color: #fff;
|
|
transition: background-color linear 0.2s;
|
|
}
|
|
}
|
|
}
|
|
|
|
&.editing {
|
|
.messages-header {
|
|
.delete-instructions {
|
|
display: block;
|
|
}
|
|
|
|
.name-container {
|
|
display: none;
|
|
}
|
|
|
|
.actions {
|
|
.messages-delete {
|
|
display: none;
|
|
}
|
|
|
|
.cancel-messages-delete {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
.messages {
|
|
.message {
|
|
cursor: pointer;
|
|
|
|
&[aria-checked="true"] {
|
|
.content {
|
|
background-color: #4f94cd;
|
|
border-color: #4f94cd;
|
|
color: #fff;
|
|
|
|
.timesent {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
|
|
&[aria-checked="false"] {
|
|
.content {
|
|
&:hover {
|
|
background-color: #79b5e6;
|
|
color: #fff;
|
|
|
|
.timesent {
|
|
color: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.response {
|
|
.delete-confirmation {
|
|
display: block;
|
|
}
|
|
|
|
.message-box {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#newmessageoverlay {
|
|
.well;
|
|
margin: 0 1em;
|
|
position: fixed;
|
|
bottom: 0;
|
|
right: 0;
|
|
}
|
|
#newmessageoverlay #usermessage {
|
|
padding: 10px;
|
|
}
|
|
/* Widen the plain text editor on the bulk message screen */
|
|
#page-user-action_redir #edit-messagebody {
|
|
width: auto;
|
|
}
|
|
|
|
/** Messenger send message dialog */
|
|
.core_message-messenger-sendmessage-hidden {
|
|
display: none;
|
|
}
|
|
.core_message-messenger-sendmessage {
|
|
.message-actions {
|
|
position: relative;
|
|
}
|
|
.message-area {
|
|
height: 240px;
|
|
max-height: 100%;
|
|
position: relative;
|
|
margin-bottom: 10px;
|
|
}
|
|
.message-input {
|
|
width: 100%;
|
|
height: 100%;
|
|
.box-sizing(border-box);
|
|
}
|
|
.message-send {
|
|
margin: 0;
|
|
float: right;
|
|
}
|
|
.message-notice-area {
|
|
display: table;
|
|
position: absolute;
|
|
top: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.message-notice {
|
|
display: table-cell;
|
|
vertical-align: middle;
|
|
text-align: center;
|
|
> div {
|
|
background: #eee;
|
|
padding: 5px;
|
|
font-size: 12px;
|
|
}
|
|
}
|
|
.message-footer {
|
|
margin-top: 3px;
|
|
line-height: 20px;
|
|
}
|
|
.message-history {
|
|
position: absolute;
|
|
bottom: 0;
|
|
}
|
|
}
|
|
|
|
.dir-rtl {
|
|
.core_message-messenger-sendmessage {
|
|
.message-send {
|
|
float: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
.preferences-container {
|
|
.container-fluid {
|
|
padding: 0;
|
|
|
|
.span6 {
|
|
min-height: 20px;
|
|
}
|
|
}
|
|
.align-bottom {
|
|
vertical-align: bottom;
|
|
}
|
|
.preference-table {
|
|
border: 1px solid #ddd;
|
|
|
|
thead {
|
|
th {
|
|
text-align: center;
|
|
|
|
.config-warning {
|
|
display: none;
|
|
}
|
|
|
|
&.unconfigured {
|
|
.config-warning {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
tr {
|
|
td {
|
|
&:not(:first-child) {
|
|
width: 150px;
|
|
text-align: center;
|
|
}
|
|
&:nth-child(even) {
|
|
background-color: #f7f7f7;
|
|
}
|
|
}
|
|
th:nth-child(even) {
|
|
background-color: #f7f7f7;
|
|
}
|
|
}
|
|
.preference-row {
|
|
.preference-name {
|
|
vertical-align: middle;
|
|
}
|
|
.disabled-message {
|
|
text-align: center;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
}
|
|
.preference-state {
|
|
margin: 0;
|
|
padding: 0;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
|
|
input[type="checkbox"]:checked + .preference-state-status-container {
|
|
background-color: #5cb85c;
|
|
|
|
.on-text {
|
|
display: inline-block;
|
|
}
|
|
.off-text {
|
|
display: none;
|
|
}
|
|
}
|
|
.preference-state-status-container {
|
|
width: 30px;
|
|
height: 30px;
|
|
line-height: 30px;
|
|
text-align: center;
|
|
border-radius: 4px;
|
|
background-color: #d9534f;
|
|
color: #fff;
|
|
|
|
.loading-icon {
|
|
display: none;
|
|
}
|
|
.on-text {
|
|
display: none;
|
|
}
|
|
.off-text {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
&.loading {
|
|
input[type="checkbox"]:checked + .preference-state-status-container {
|
|
.on-text,
|
|
.off-text {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
.preference-state-status-container {
|
|
.on-text,
|
|
.off-text {
|
|
display: none;
|
|
}
|
|
.loading-icon {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
&.loading {
|
|
.preference-name {
|
|
.loading-icon {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.disabled-message {
|
|
display: none;
|
|
}
|
|
|
|
.disabled {
|
|
.disabled-message {
|
|
display: block;
|
|
|
|
+ form {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|
|
|
|
.general-settings-container {
|
|
.loading-icon {
|
|
display: none;
|
|
}
|
|
.loading {
|
|
.loading-icon {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
label {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
.processor-container {
|
|
position: relative;
|
|
|
|
.loading-container {
|
|
display: none;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
text-align: center;
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
.vertical-align {
|
|
height: 100%;
|
|
width: 0%;
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
}
|
|
|
|
&.loading {
|
|
.loading-container {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
.preferences-page-container {
|
|
.checkbox-container {
|
|
margin: 30px 5px;
|
|
line-height: 20px;
|
|
|
|
input {
|
|
line-height: 20px;
|
|
margin: 0;
|
|
}
|
|
|
|
.loading-icon {
|
|
display: none;
|
|
}
|
|
|
|
&.loading {
|
|
.loading-icon {
|
|
display: inline-block;
|
|
}
|
|
}
|
|
}
|
|
}
|