glowingbear-mainbox/css/glowingbear.css

916 lines
16 KiB
CSS
Raw Normal View History

html,
body {
height: 100%;
/* The html and body elements cannot have any padding or margin. */
}
2014-05-25 10:37:42 +02:00
.no-overflow {
overflow: hidden;
}
2015-03-25 01:04:00 +01:00
.mobile {
display: none;
}
a {
cursor: pointer;
}
.version {
margin-right: 1em;
}
2015-05-11 02:11:29 +02:00
.hidden-bracket {
position: absolute;
left: -1000px;
overflow: hidden;
2015-05-11 02:11:29 +02:00
}
2013-10-12 11:49:14 +02:00
td.prefix {
2013-10-12 02:37:11 +02:00
text-align: right;
vertical-align: top;
padding: 1px 5px 1px 1px;
white-space: pre;
2013-10-26 10:32:17 +02:00
border-right: 1px solid #444;
2013-10-12 02:37:11 +02:00
}
2013-10-12 12:18:05 +02:00
td.message {
overflow: hidden;
vertical-align: top;
2013-10-12 20:44:40 +02:00
width: 100%;
padding: 1px 1px 1px 5px;
-ms-word-break: break-all;
word-break: break-all;
/* Non standard for webkit */
word-break: break-word;
-webkit-hyphens: auto;
-moz-hyphens: auto;
-ms-hyphens: auto;
hyphens: auto;
2013-10-12 20:44:40 +02:00
}
#readmarker {
margin-top: 5px;
margin-bottom: 5px;
border-top: 1px solid;
border-bottom: 1px solid;
height: 2px;
2013-10-12 12:18:05 +02:00
}
2013-10-12 12:18:05 +02:00
.text {
white-space: pre-wrap;
2013-10-12 12:18:05 +02:00
}
#sendMessage {
2013-10-09 17:53:25 +02:00
width: 100%;
height: 35px;
resize: none;
2013-10-25 21:56:53 +02:00
}
#sendMessage:focus, #sendMessage:active {
border-bottom: 2px solid #555;
}
.input-group-btn {
2015-03-29 15:18:38 +02:00
vertical-align: top;
}
.input-group-addon {
background: none;
border: none;
color: #ccc;
}
#jump-addon {
width: 0px;
max-width: 0px;
padding: 0;
overflow: hidden;
transition: all ease-in-out 0.5s;
}
.showjumpkeys #jump-addon {
width: auto;
max-width: 70px;
padding: 6px 12px;
}
.footer button {
2013-10-25 21:56:53 +02:00
border-radius: 0;
2013-10-09 17:53:25 +02:00
}
.panel input, .panel .input-group {
max-width: 300px;
}
2015-04-20 16:55:29 +02:00
input[type=text], input[type=password], #sendMessage {
border: 0;
2013-10-16 13:48:49 +02:00
border-radius: 0;
margin-bottom: 5px !important;
}
.btn-complete-nick {
position: relative;
overflow: hidden;
cursor: pointer;
}
.btn-send-image {
position: relative;
overflow: hidden;
cursor: pointer;
}
.imgur-upload {
position: absolute;
bottom: 0;
right: 0;
cursor: inherit;
font-size: 1000px !important;
height: 300px;
margin: 0;
padding: 0;
opacity: 0;
filter: ~"alpha(opacity=0)";
}
.input-group {
width: 100%;
}
.row {
margin: 0px;
max-width: 300px;
}
.no-gutter [class*="col"] {
padding: 0px
}
.col-sm-9 {
padding-right: 5px !important;
}
.glyphicon {
top: 0; /* Fixes alignment issue in top bar */
}
2013-10-16 14:13:23 +02:00
#topbar {
position: fixed;
width: 100%;
height: 35px;
max-height: 35px;
z-index: 3;
line-height: 35px;
white-space: nowrap;
2013-10-16 14:13:23 +02:00
}
#topbar .brand {
float: left;
height: 35px;
2015-03-25 00:00:07 +01:00
}
#topbar .brand a {
display: inline-block;
2015-03-25 00:00:07 +01:00
padding: 0 10px;
}
#topbar .brand img {
height: 32px;
padding: 2px;
}
#topbar .brand button {
position: absolute;
line-height: 15px;
font-size: 9pt;
margin-left: 10px
}
#topbar .title {
position: fixed;
left: 145px; /* sidebar */
overflow: hidden;
width: 100%; /* for title modal click area */
}
2015-03-25 00:41:31 +01:00
#topbar .actions {
margin-left: 5px;
padding-left: 5px;
margin-right: 0;
2013-12-19 11:34:50 +01:00
padding-right: 5px;
2014-03-01 20:21:13 +01:00
height: 35px;
line-height: 35px;
font-size: 22px;
position: fixed;
right: 0;
2013-12-19 11:34:50 +01:00
}
#topbar .actions > * {
2015-03-25 00:00:07 +01:00
padding: 0 5px;
display: inline-block;
}
#topbar .actions .glyphicon {
line-height: 35px;
top: 0;
}
#topbar .dropdown-menu form {
padding-left: 6px;
padding-right: 6px;
}
2013-10-16 14:13:23 +02:00
.upload-error {
width: 100%;
position: absolute;
top: 0;
left: 0;
z-index: 4;
}
2013-10-11 00:51:18 +02:00
#sidebar {
position: fixed;
width: 140px;
2013-10-11 00:51:18 +02:00
min-height: 100%;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
padding-top: 35px; /* topbar */
padding-bottom: 1px; /* need to force a padding here */
font-size: smaller;
2014-07-08 10:51:17 +02:00
transition:0.2s ease-in-out;
z-index: 2;
}
2014-07-08 10:51:17 +02:00
#sidebar[data-state=visible] {
left: 0px;
}
2013-10-27 08:10:25 +01:00
#sidebar form {
}
#sidebar.ng-hide-add, #sidebar.ng-hide-remove {
/* this needs to be here to make it visible during the animation
since the .ng-hide class is already on the element rendering
it as hidden. */
display:block!important;
}
#sidebar .buffer .badge {
display: none;
}
#sidebar .buffer.unread .badge, #sidebar .buffer.notification .badge {
display: inline-block;
2013-10-27 08:10:25 +01:00
border-radius: 0;
2014-07-30 17:29:55 +02:00
margin-right: -10px;
padding: 4px 7px;
2013-10-27 08:10:25 +01:00
}
#sidebar ul.indented li.indent span.buffername {
padding-left: 10px;
}
#sidebar.ng-hide {
width: 0;
}
2013-10-26 22:19:13 +02:00
#nicklist {
position: fixed;
width: 100px;
min-height: 100%;
height: 100%;
overflow-y: auto;
overflow-x: hidden;
2013-10-26 22:19:13 +02:00
right: 0;
top: 0;
2014-07-30 17:29:55 +02:00
padding-top: 39px;
padding-left: 5px;
padding-bottom: 35px;
z-index: 2;
}
2013-10-27 08:10:25 +01:00
#nicklist ul {
padding: 0;
margin: 0;
}
2013-10-27 09:49:59 +01:00
#nicklist li,
#nicklist a {
display: block;
}
#nicklist a {
text-decoration: none;
}
#connection-infos {
float: left;
max-width: 10%;
padding-left: 5px;
font-size: 12px;
overflow: hidden;
}
.nav-pills li {
min-height: 20px;
}
.nav-pills li+li {
margin-top: 0;
}
2013-10-16 14:36:28 +02:00
.nav-pills > li > a {
border-radius: 0;
color: #ddd;
padding: 5px 10px;
}
2013-10-22 16:09:31 +02:00
.nav-pills > li > a:hover, .nav-pills > li > a:hover span {
color: #222;
2013-10-16 14:36:28 +02:00
}
/* fix for mobile firefox which ignores :hover */
.nav-pills > li > a:active, .nav-pills > li > a:active span {
text-decoration: none;
background-color: #eee;
color: #222;
}
.nav-pills > li.highlight > a, .nav-pills > li.highlight > a span {
text-decoration: none;
color: #fff;
background: #428BCA;
}
.nav-pills > li > a {
display: block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
2013-10-07 16:58:41 +02:00
.content {
height: 100%;
min-height: 100%;
2013-10-07 16:58:41 +02:00
}
2013-10-12 02:37:11 +02:00
#bufferlines {
position: relative;
height: 100%;
2013-10-07 16:58:41 +02:00
overflow-y: auto;
2013-10-11 00:51:18 +02:00
width: auto;
2014-09-17 12:05:26 +02:00
bottom: 35px; /* input bar */
2014-04-30 10:01:42 +02:00
padding-top: 42px; /* topbar */
padding-bottom: 7px;
-webkit-transition:0.2 ease-in-out all;
transition:0.2s ease-in-out all;
2015-04-01 22:22:10 +02:00
-webkit-overflow-scrolling: touch; /* Native scroll on ios */
2013-10-02 01:39:24 +02:00
}
#bufferlines > table {
2014-09-17 12:05:26 +02:00
margin-top: 35px;
width: 100%;
}
tr.bufferline {
line-height: 100%;
}
td.time {
padding: 1px 5px 1px 1px;
vertical-align: top;
}
2013-10-26 23:17:32 +02:00
.withnicklist {
margin-right: 100px !important; /* nicklist */
}
2014-07-08 10:51:17 +02:00
.content[sidebar-state=visible] #bufferlines {
margin-left: 145px; /* sidebar */
}
#bufferlines .btn {
2013-10-16 00:41:04 +02:00
font-family: sans-serif;
}
2013-10-02 01:39:24 +02:00
#reconnect {
top: 35px;
position: fixed;
z-index: 9999;
width: 80%;
margin: 0;
padding: 5px;
left: 10%;
}
#reconnect a {
color: white;
}
.footer {
position: fixed;
bottom: 0;
height: 35px;
width: 100%;
-webkit-transition:0.2s ease-in-out all;
transition:0.2s ease-in-out all;
z-index: 1;
2013-10-11 00:51:18 +02:00
}
2014-07-08 10:51:17 +02:00
.content[sidebar-state=visible] .footer {
margin-left: 0;
padding-left: 145px;
}
.footer.withnicklist {
padding-right: 100px;
}
2014-02-18 14:50:38 +01:00
#inputform {
position: relative;
}
#imgur-upload-progress {
2015-10-12 21:09:13 +02:00
width: 100%;
height: auto;
position: absolute;
2015-10-12 21:09:13 +02:00
bottom: 100%;
left: 0;
}
.imgur-progress-bar {
width: 0%;
height: 5px;
margin-top: 1px;
background: #428BCA;
}
2015-10-12 21:09:13 +02:00
/* fix for mobile firefox which ignores :hover */
.nav-pills > li > a:active, .nav-pills > li > a:active span {
text-decoration: none;
2014-02-18 14:50:38 +01:00
}
[ng-click],
[data-ng-click],
[x-ng-click] {
cursor: pointer;
}
::-webkit-scrollbar {
width: 10px;
height: 10px;
}
2014-02-18 14:50:38 +01:00
::-webkit-scrollbar-thumb:vertical {
height: 15px;
}
div.embed * {
max-width: 100%;
}
/* not for all img embeds so as not to affect the yr plugin (302px) */
div.embed img.embed {
max-height: 300px;
max-width: 100%;
2014-02-18 14:50:38 +01:00
}
video.embed {
max-width: 100%;
}
2014-07-31 15:20:42 +02:00
div.colourbox {
display: inline-block;
border-radius: 3px;
border: 1px solid #bbb;
width: 14px;
height: 14px;
margin-bottom: -2px;
}
#sidebar .showquickkeys .buffer .buffer-quick-key {
transition: all ease-in-out 0.5s;
-webkit-transition: all ease-in-out 0.5s;
transition-delay: 0.2s;
-webkit-transition-delay: 0.2s;
opacity: 0.7;
}
#sidebar .buffer .buffer-quick-key {
margin-left: -0.7em;
margin-right: -0.2em;
font-size: smaller;
transition: all ease-in-out 0.5s;
-webkit-transition: all ease-in-out 0.5s;
opacity: 0;
text-shadow: -1px 0px 4px rgba(255, 255, 255, 0.4),
0px -1px 4px rgba(255, 255, 255, 0.4),
1px 0px 4px rgba(255, 255, 255, 0.4),
0px 1px 4px rgba(255, 255, 255, 0.4);
vertical-align: baseline;
display: inline-block;
width: 1em;
align: right;
}
#sidebar .showjumpkeys .buffer .buffer-jump-key {
transition: all ease-in-out 0.2s;
-webkit-transition: all ease-in-out 0.2s;
transition-delay: 0s;
-webkit-transition-delay: 0s;
opacity: 0.7;
margin-left: -1.2em;
margin-right: 0.1em;
}
#sidebar .buffer .buffer-jump-key {
margin-left: -1.2em;
margin-right: -0.2em;
font-size: smaller;
transition: all ease-in-out 0.2s;
-webkit-transition: all ease-in-out 0.2s;
opacity: 0;
text-shadow: -1px 0px 4px rgba(255, 255, 255, 0.4),
0px -1px 4px rgba(255, 255, 255, 0.4),
1px 0px 4px rgba(255, 255, 255, 0.4),
0px 1px 4px rgba(255, 255, 255, 0.4);
vertical-align: baseline;
display: inline-block;
width: 1em;
align: right;
}
.gb-modal {
z-index: 1000;
height: 100%;
overflow-y: scroll;
position: absolute;
top: 0;
left: 0;
width: 100%;
}
.gb-modal[data-state=hidden] {
transition: .2s ease-in-out;
visibility: hidden;
opacity: 0;
}
.gb-modal[data-state=visible] {
transition: .2s ease-in-out;
visibility: visible;
opacity: 1;
}
.gb-modal[data-state=hidden] .modal-dialog {
transition: top .3s ease-in;
top: -150px;
}
.gb-modal[data-state=visible] .modal-dialog {
transition: top .3s ease-out;
top: 0px;
}
.gb-modal .backdrop {
z-index: 999;
position: fixed;
top: 0;
height: 100%;
width: 100%;
overflow: none;
}
.gb-modal .modal-dialog {
z-index: 1001;
position: absolute;
margin-left: auto;
margin-right: auto;
left: 0;
right: 0;
top: 35px;
}
.gb-modal[ng-click], .gb-modal div[ng-click] {
cursor: default;
}
.gb-modal ul {
2014-02-26 02:09:10 +01:00
list-style: none;
padding-left: 15px;
}
.gb-modal li {
2014-02-26 02:09:10 +01:00
font-size: larger;
margin-bottom: 10px;
}
.gb-modal li li {
font-size: medium;
}
2014-02-26 02:09:10 +01:00
.modal-header {
2014-07-10 18:37:39 +02:00
padding-top: 23px;
2014-02-26 02:09:10 +01:00
border-bottom: 0;
}
.standard-labels label {
2014-07-10 18:37:39 +02:00
font-weight: normal;
text-align: left;
}
h2 {
padding-bottom: 5px;
height: 72px;
}
h2 img {
padding-right: 5px;
float: left;
2014-03-09 12:22:52 +01:00
height: 72px;
}
h2 span, h2 small {
padding: 5px 0 0 0;
display: block;
}
.panel[data-state=active] .panel-collapse {
transition: max-height 0.5s;
max-height: 60em;
height: auto;
display: block;
}
.panel[data-state=collapsed] .panel-collapse {
transition: max-height 0.5s;
max-height: 0;
}
.panel[data-state=collapsed] {
border: 0px solid transparent;
}
.panel .panel-title:before {
display: inline-block;
font-size: 22px;
line-height: 20px;
margin: -3px 5px -3px 0;
}
.panel[data-state=active] .panel-title:before {
content: "";
}
.panel[data-state=collapsed] .panel-title:before {
content: "+";
}
/* fix for firefox being stupid */
@-moz-document url-prefix() {
.panel[data-state=collapsed] .panel-collapse * {
display: none;
}
}
2014-07-30 17:29:55 +02:00
/* bold hash before channels */
2015-03-25 00:41:31 +01:00
li.buffer.channel a span:last-of-type:before, #topbar .title .channel:before {
2014-07-30 17:29:55 +02:00
color: #888;
font-weight: bold;
}
2015-03-25 00:41:31 +01:00
li.buffer.channel_hash a span:last-of-type:before, #topbar .title .channel_hash:before {
content: '#';
}
2015-03-25 00:41:31 +01:00
li.buffer.channel_plus a span:last-of-type:before, #topbar .title .channel_plus:before {
content: '+';
}
2015-03-25 00:41:31 +01:00
li.buffer.channel_ampersand a span:last-of-type:before, #topbar .title .channel_ampersand:before {
content: '&';
}
2014-07-30 17:29:55 +02:00
li.buffer.channel.active a span:last-of-type:before {
color: #aaa;
2014-07-30 17:29:55 +02:00
}
li.buffer.indent.private a {
padding-left: 17px;
}
.make-thinner {
padding-right: -15px;
}
.settings-help {
display: block;
margin: -5px 0 -3px 19px;
font-size: small;
}
.unselectable {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
.emojione {
font-size: inherit;
height: 1em;
width: 1.1em;
min-height: 16px;
min-width: 16px;
display: inline-block;
margin: -.2ex .15em .2ex;
line-height: normal;
vertical-align: middle;
}
img.emojione {
width: auto;
}
2015-12-14 15:49:44 +01:00
.glyphicon-spin {
-webkit-animation: spin 1000ms infinite linear;
animation: spin 1000ms infinite linear;
}
@-webkit-keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg);
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg);
}
}
@media (min-width: 1400px) {
#sidebar[data-state=visible], #sidebar {
width: 200px;
}
.content[sidebar-state="visible"] #bufferlines {
margin-left: 205px;
}
#topbar .title {
left: 205px;
}
.content[sidebar-state=visible] .footer {
padding-left: 200px;
}
.nav-pills {
font-size: 14px;
}
.nav-pills li a {
padding: 10px 15px;
}
#nicklist {
width: 140px;
}
.withnicklist {
margin-right: 140px !important; /* nicklist */
}
.footer.withnicklist {
padding-right: 148px !important;
}
}
2014-02-18 14:50:38 +01:00
/* */
/* Mobile layout */
/* */
2013-10-11 00:51:18 +02:00
@media (max-width: 968px) {
2015-03-25 01:04:00 +01:00
.mobile {
display: inherit;
}
.desktop {
display: none;
}
2014-05-23 16:58:15 +02:00
#bufferlines table {
border-collapse: separate;
border-spacing: 2px 3px;
2014-02-18 14:50:38 +01:00
}
#sidebar {
font-size: normal;
2014-02-18 14:50:38 +01:00
bottom: 0px;
top: 0px;
padding-bottom: 35px;
width: 200px;
}
2014-02-18 14:50:38 +01:00
#sidebar.in, #sidebar.collapsing {
-webkit-box-shadow: 0px 0px 120px #000;
2014-02-18 14:50:38 +01:00
box-shadow: 0px 0px 120px #000;
bottom: 0px;
}
2014-02-18 14:50:38 +01:00
2014-07-08 10:51:17 +02:00
#sidebar[data-state=visible] {
transform: translate(0,0);
-webkit-transform: translate(0,0); /* Safari */
2014-07-08 10:51:17 +02:00
}
#sidebar[data-state=hidden] {
transform: translate(-200px,0);
-webkit-transform: translate(-200px,0);
2014-07-08 10:51:17 +02:00
}
.content[sidebar-state=visible] #bufferlines, .content[sidebar-state=visible] .footer {
margin-left: 0px;
transform: translate(200px,0);
-webkit-transform: translate(200px,0);
2014-07-08 10:51:17 +02:00
}
2013-12-14 20:54:47 +01:00
#topbar .title {
left: 40px;
right: 60px;
text-align: center;
font-size: 18px;
width: initial;
2013-12-14 20:54:47 +01:00
}
2014-02-18 14:50:38 +01:00
#topbar .brand img {
height: 28px;
}
2015-03-25 17:31:16 +01:00
#topbar .badge {
display: none;
}
#bufferlines, #nicklist {
2013-10-11 00:51:18 +02:00
position: relative;
min-height: 0;
margin-left: 0;
max-width: 100%;
border: 0;
}
2014-02-18 14:50:38 +01:00
#nicklist {
height: auto;
2014-02-22 12:48:58 +01:00
padding: 35px 7px 35px 10px;
2013-10-11 00:51:18 +02:00
text-align: center;
2014-02-18 14:50:38 +01:00
position: fixed;
margin-top: 10px;
bottom: 0px;
2013-10-11 00:51:18 +02:00
}
2014-02-18 14:50:38 +01:00
2013-10-11 00:51:18 +02:00
.navbar-fixed-bottom {
2013-12-14 20:54:47 +01:00
margin: 0;
}
2014-02-18 14:50:38 +01:00
2013-12-14 20:54:47 +01:00
.navbar {
min-height: 0%;
}
2014-02-18 14:50:38 +01:00
.nav-pills {
font-size: 14px;
}
.nav-pills li a {
padding: 10px 15px;
}
#bufferlines {
height: 100%;
padding-bottom: 0;
}
#bufferlines tr.bufferline {
display: block;
overflow: hidden;
}
2013-12-14 20:54:47 +01:00
#bufferlines td.time {
display: inline-block;
padding-right: 3px;
font-size: 0.8em;
}
#bufferlines td.time span.date {
display: block;
margin-bottom: -1px;
2013-12-14 20:54:47 +01:00
}
2014-02-18 14:50:38 +01:00
2013-12-14 20:54:47 +01:00
#bufferlines td.prefix {
display: inline;
padding-right: 5px;
2013-12-14 20:54:47 +01:00
border: 0;
2014-05-23 16:58:15 +02:00
font-weight: bold;
font-size: 1.06em;
2013-12-14 20:54:47 +01:00
}
2014-02-18 14:50:38 +01:00
2013-12-14 20:54:47 +01:00
#bufferlines td.message {
display: inline;
padding: 0px !important;
2013-12-14 20:54:47 +01:00
}
2014-02-18 14:50:38 +01:00
.gb-modal .modal-dialog {
margin: 20px 2%;
width: 96%;
}
.footer {
padding-left: 0px !important;
padding-right: 0px !important;
width: 100% !important;
}
.footer.withnicklist {
padding-right: 108px !important;
}
::-webkit-scrollbar {
width: 5px;
height: 5px;
}
.col-sm-9 {
padding-right: 0px !important;
}
}
/* ng-cloak hides elements until Angular loads, preventing flickering */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
display: none !important;
}