Commit b4c24a2b authored by JC Brand's avatar JC Brand

Move scss for minimized chats into separate file.

parent dc34f040
...@@ -369,17 +369,15 @@ ...@@ -369,17 +369,15 @@
display: block; display: block;
margin: 0 auto; margin: 0 auto;
clear: both; } clear: both; }
#conversejs .toggle-controlbox,
#conversejs #minimized-chats {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
float: right;
margin: 0 7px;
font-weight: bold; }
#conversejs .toggle-controlbox { #conversejs .toggle-controlbox {
background-color: #436F64; background-color: #436F64;
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: #0a0a0a; color: #0a0a0a;
float: right;
font-weight: bold;
height: 100%; height: 100%;
margin: 0 7px;
padding: 10px 8px 0 8px; } padding: 10px 8px 0 8px; }
#conversejs .toggle-controlbox span { #conversejs .toggle-controlbox span {
color: white; } color: white; }
...@@ -391,52 +389,6 @@ ...@@ -391,52 +389,6 @@
#conversejs .input-button-group button, #conversejs .input-button-group button,
#conversejs .input-button-group input { #conversejs .input-button-group input {
display: table-cell; } display: table-cell; }
#conversejs #minimized-chats {
color: white;
display: none;
height: 100%;
padding: 0;
width: 130px; }
#conversejs #minimized-chats #toggle-minimized-chats {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background-color: ivory;
position: relative;
padding: 10px 0 0 0;
display: block;
width: 100%;
height: 100%;
text-align: center; }
#conversejs #minimized-chats .unread-message-count,
#conversejs #minimized-chats .chat-head-message-count {
font-weight: bold;
background-color: #f6f6f6;
background-image: -webkit-linear-gradient(#f6f6f6 5%, #808080 100%);
background-image: linear-gradient(#f6f6f6 5%, #808080 100%);
border: 1px solid;
text-shadow: 1px 1px 0 #FAFAFA;
color: #681F2C;
border-radius: 5px;
padding: 2px 4px;
font-size: 16px;
text-align: center;
position: absolute;
right: 116px;
bottom: 10px; }
#conversejs #minimized-chats .box-flyout {
position: absolute;
display: block;
height: auto;
bottom: 35px;
margin-left: 0; }
#conversejs #minimized-chats .box-flyout .chat-head {
font-size: 100%;
border-radius: 4px;
padding: 3px 0 0 5px;
margin: 0 0 1px 0;
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
height: 24px;
width: 130px; }
#conversejs .chat-body { #conversejs .chat-body {
background-color: white; background-color: white;
border-bottom-right-radius: 4px; border-bottom-right-radius: 4px;
...@@ -1182,18 +1134,6 @@ ...@@ -1182,18 +1134,6 @@
@media screen and (max-width: 480px) { @media screen and (max-width: 480px) {
#conversejs .box-flyout { #conversejs .box-flyout {
height: 400px; } } height: 400px; } }
#conversejs .minimized-chats-flyout {
height: auto;
width: 130px;
bottom: 35px; }
#conversejs .minimized-chats-flyout .chat-head-chatroom,
#conversejs .minimized-chats-flyout .chat-head {
border-radius: 4px;
width: 130px;
height: 35px;
margin-bottom: 0.2em; }
#conversejs .minimized-chats-flyout.minimized {
height: auto; }
#conversejs .dragresize { #conversejs .dragresize {
background: transparent; background: transparent;
border: 0; border: 0;
...@@ -1328,4 +1268,68 @@ ...@@ -1328,4 +1268,68 @@
#conversejs .chatroom .invited-contact.tt-input { #conversejs .chatroom .invited-contact.tt-input {
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAYAAAAfSC3RAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3gkBCjE0uzKkOgAAAidJREFUKM+N0k+IEnEUB/D3cyscdagkWpHV0WGWREXm0AgOGkSJ07kh2UXYU5cOewm6Bp0KXG/tpSCv6hyEFQIhMEaE3yERYfwTOoqKGLQxDAbqYadLgu7J7/XxeY/3ez8EACDLsgljfMfj8ZxUKhXXYDAAnueBoqgyAMipVOovXAuSZdnUaDQeDofDs16vFyUIAjRNUwmCoG02G1AUdZ5IJN7GYrHfm3AvEAjcnUwmX0ajUdRqtV74fL6sruufKYoa6bp+fzabPUMI7ZfL5eImNHk8npNerxc1m80XHMe98fv9H3K5XDkSibxjWfb1arWaYoyPMMbCFqxUKi6CIODw8LDmdDq7oigaAACiKK5omv7Kcdylpm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rkkSZKs2e12tHXH/x/gHsY4jTE+0jQNGYYBCCFgGOaKJMkfjUaDZximGQ6HXzSbzZ+ZTMbY6oIxFgqFgqPT6YAgCMBxXM1ut6N0Op0fj8chi8XyjWXZ98Fg8DuCHZLNZh+USqWP8/n8idvt/hUKhV7u7QK9Xu8fmqanAJBQVXUfAGY7TQQAKBaLN8fjsdDtdh/run72Dzhf7XLe2UevAAAAAElFTkSuQmCC) no-repeat right 3px center; }
#conversejs #minimized-chats {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
color: white;
display: none;
float: right;
font-weight: bold;
height: 100%;
margin: 0 7px;
padding: 0;
width: 130px; }
#conversejs #minimized-chats #toggle-minimized-chats {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
background-color: ivory;
position: relative;
padding: 10px 0 0 0;
display: block;
width: 100%;
height: 100%;
text-align: center; }
#conversejs #minimized-chats .minimized-chats-flyout {
height: auto;
width: 130px;
bottom: 35px; }
#conversejs #minimized-chats .minimized-chats-flyout .chat-head-chatroom,
#conversejs #minimized-chats .minimized-chats-flyout .chat-head {
border-radius: 4px;
width: 130px;
height: 35px;
margin-bottom: 0.2em; }
#conversejs #minimized-chats .minimized-chats-flyout.minimized {
height: auto; }
#conversejs #minimized-chats .unread-message-count,
#conversejs #minimized-chats .chat-head-message-count {
font-weight: bold;
background-color: #f6f6f6;
background-image: -webkit-linear-gradient(#f6f6f6 5%, #808080 100%);
background-image: linear-gradient(#f6f6f6 5%, #808080 100%);
border: 1px solid;
text-shadow: 1px 1px 0 #FAFAFA;
color: #681F2C;
border-radius: 5px;
padding: 2px 4px;
font-size: 16px;
text-align: center;
position: absolute;
right: 116px;
bottom: 10px; }
#conversejs #minimized-chats .box-flyout {
position: absolute;
display: block;
height: auto;
bottom: 35px;
margin-left: 0; }
#conversejs #minimized-chats .box-flyout .chat-head {
font-size: 100%;
border-radius: 4px;
padding: 3px 0 0 5px;
margin: 0 0 1px 0;
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
height: 24px;
width: 130px; }
/*# sourceMappingURL=converse.css.map */ /*# sourceMappingURL=converse.css.map */
...@@ -450,7 +450,7 @@ JID: rassie.erasmus@localhost">Rassie Erasmus</span> ...@@ -450,7 +450,7 @@ JID: rassie.erasmus@localhost">Rassie Erasmus</span>
<p class="chatroom-topic"></p> <p class="chatroom-topic"></p>
<p></p> <p></p>
</div> </div>
<div class="chat-body"> <div class="chatroom-body">
<div class="chatroom-form-container"> <div class="chatroom-form-container">
<form class="chatroom-form"> <form class="chatroom-form">
<!-- TODO: Make this a long form that scrolls --> <!-- TODO: Make this a long form that scrolls -->
......
...@@ -294,19 +294,15 @@ ...@@ -294,19 +294,15 @@
clear: both; clear: both;
} }
.toggle-controlbox, .toggle-controlbox {
#minimized-chats { background-color: $link-color;
border-top-left-radius: $chatbox-border-radius; border-top-left-radius: $chatbox-border-radius;
border-top-right-radius: $chatbox-border-radius; border-top-right-radius: $chatbox-border-radius;
color: #0a0a0a;
float: right; float: right;
margin: 0 $chat-gutter;
font-weight: bold; font-weight: bold;
}
.toggle-controlbox {
background-color: $link-color;
color: #0a0a0a;
height: 100%; height: 100%;
margin: 0 $chat-gutter;
padding: 10px 8px 0 8px; padding: 10px 8px 0 8px;
span { span {
color: $inverse-link-color; color: $inverse-link-color;
...@@ -325,60 +321,6 @@ ...@@ -325,60 +321,6 @@
display: table-cell; display: table-cell;
} }
#minimized-chats {
color: $inverse-link-color;
display: none;
height: 100%;
padding: 0;
width: 130px;
#toggle-minimized-chats {
border-top-left-radius: $chatbox-border-radius;
border-top-right-radius: $chatbox-border-radius;
background-color: ivory;
position: relative;
padding: 10px 0 0 0;
display: block;
width: 100%;
height: 100%;
text-align: center;
}
.unread-message-count,
.chat-head-message-count {
font-weight: bold;
@include linear-gradient(#f6f6f6 5%, #808080 100%);
border: 1px solid;
text-shadow: 1px 1px 0 $text-shadow-color;
color: $warning-color;
border-radius: 5px;
padding: 2px 4px;
font-size: 16px;
text-align: center;
position: absolute;
right: 116px;
bottom: 10px;
}
.box-flyout {
position: absolute;
display: block;
height: auto;
bottom: $bottom-gutter-height;
margin-left: 0;
.chat-head {
font-size: 100%;
border-radius: $chatbox-border-radius;
padding: 3px 0 0 5px;
margin: 0 0 1px 0;
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
height: 24px;
width: 130px;
}
}
}
.chat-body { .chat-body {
background-color: white; background-color: white;
border-bottom-right-radius: $chatbox-border-radius; border-bottom-right-radius: $chatbox-border-radius;
...@@ -1399,22 +1341,6 @@ ...@@ -1399,22 +1341,6 @@
} }
} }
.minimized-chats-flyout {
height: auto;
width: $minimized-chats-width;
bottom: $bottom-gutter-height;
.chat-head-chatroom,
.chat-head {
border-radius: $chatbox-border-radius;
width: $minimized-chats-width;
height: 35px;
margin-bottom: 0.2em;
}
&.minimized {
height: auto;
}
}
.dragresize { .dragresize {
background: transparent; background: transparent;
border: 0; border: 0;
......
#conversejs {
#minimized-chats {
border-top-left-radius: $chatbox-border-radius;
border-top-right-radius: $chatbox-border-radius;
color: $inverse-link-color;
display: none;
float: right;
font-weight: bold;
height: 100%;
margin: 0 $chat-gutter;
padding: 0;
width: 130px;
#toggle-minimized-chats {
border-top-left-radius: $chatbox-border-radius;
border-top-right-radius: $chatbox-border-radius;
background-color: ivory;
position: relative;
padding: 10px 0 0 0;
display: block;
width: 100%;
height: 100%;
text-align: center;
}
.minimized-chats-flyout {
height: auto;
width: $minimized-chats-width;
bottom: $bottom-gutter-height;
.chat-head-chatroom,
.chat-head {
border-radius: $chatbox-border-radius;
width: $minimized-chats-width;
height: 35px;
margin-bottom: 0.2em;
}
&.minimized {
height: auto;
}
}
.unread-message-count,
.chat-head-message-count {
font-weight: bold;
@include linear-gradient(#f6f6f6 5%, #808080 100%);
border: 1px solid;
text-shadow: 1px 1px 0 $text-shadow-color;
color: $warning-color;
border-radius: 5px;
padding: 2px 4px;
font-size: 16px;
text-align: center;
position: absolute;
right: 116px;
bottom: 10px;
}
.box-flyout {
position: absolute;
display: block;
height: auto;
bottom: $bottom-gutter-height;
margin-left: 0;
.chat-head {
font-size: 100%;
border-radius: $chatbox-border-radius;
padding: 3px 0 0 5px;
margin: 0 0 1px 0;
box-shadow: 1px 3px 5px 3px rgba(0, 0, 0, 0.4);
height: 24px;
width: 130px;
}
}
}
}
...@@ -10,3 +10,4 @@ ...@@ -10,3 +10,4 @@
@import "variables"; @import "variables";
@import "core"; @import "core";
@import "chatrooms"; @import "chatrooms";
@import "minimized_chats";
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment