FreedomBox/plinth/modules/xmpp/static/jsxc-plinth.css
Sunil Mohan Adapa 08068e60fc
xmpp: Introduce simple page to embed JSXC
Create a simple page based on example provided by Javascript XMPP Client
to embed it.
2016-09-19 19:51:13 -04:00

125 lines
3.2 KiB
CSS

/*
#
# This file is part of Plinth.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# This file based on example code from Javascript XMPP Client which is
# licensed as follows.
#
# The MIT License (MIT)
#
# Copyright (c) 2014 Klaus Herberth <klaus@jsxc.org>
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in
# all copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
*/
/* Elements to hide on page load */
.logout {
display: none;
}
#content form .alert {
display: none;
}
/* Server connection status message */
#server-flash {
margin: 0;
margin-top: 10px;
}
#server-flash:before {
content: "\e031";
position: relative;
top: 1px;
padding-right: 5px;
display: inline-block;
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: 400;
line-height: 1;
-webkit-font-smoothing: antialiased;
}
#server-flash.success:before {
content: "\e089";
color: green;
}
#server-flash.fail:before {
content: "\e088";
color: red;
}
/* Colorbox popups */
#cboxOverlay {
width: 100%;
height: 100%;
position: fixed;
left: 0;
top: 0;
background-color: grey;
}
#colorbox {
border-radius: 10px;
background: white;
}
#cboxClose {
position: absolute;
top: 10px;
right: 3px;
cursor: pointer;
font-size: 0;
border: 0;
background: white;
height: 26px;
}
#cboxClose:after {
content: '\e014';
font-family: 'Glyphicons Halflings';
font-style: normal;
font-weight: 400;
font-size: 14px;
background: white none repeat scroll 0% 0%;
border: 1px solid rgb(173, 173, 173);
border-radius: 4px;
padding: 4px 6px;
}
/* Don't show options to cancel, depend on close button */
#jsxc_dialog .jsxc_cancel {
display: none;
}