xmpp.chapril.org-conversejs/sass/inverse/_controlbox.scss

104 lines
2.8 KiB
SCSS
Raw Normal View History

2017-06-13 21:07:42 +02:00
#conversejs {
#controlbox {
min-width: $controlbox-width;
width: 200px;
float: left;
margin: 0;
.toggle-register-login {
line-height: $line-height-huge;
}
.brand-heading-container {
text-align: center;
2017-06-13 21:07:42 +02:00
.brand-heading {
text-align: center;
font-size: 600%;
padding: 0.7em 0 0 0;
opacity: 0.8;
color: $blue;
2017-06-13 21:07:42 +02:00
}
.brand-subtitle {
font-size: 90%;
padding: 0.5em;
}
@media screen and (max-width: $mobile-portrait-length) {
.brand-heading {
font-size: 400%;
}
}
2017-06-13 21:07:42 +02:00
}
.controlbox-panes {
background-color: white;
}
.controlbox-pane {
@include calc(height, '100% - #{$controlbox-head-height}');
}
&.logged-out {
@include fade-in;
2017-06-13 21:07:42 +02:00
width: 100%;
.box-flyout {
width: 100%;
.controlbox-head {
background-color: white;
height: 0;
}
.controlbox-pane {
height: auto;
}
2017-06-13 21:07:42 +02:00
}
}
.box-flyout {
border: 0;
min-width: $controlbox-width;
width: 200px;
z-index: 1;
background-color: $controlbox-head-color;
}
.controlbox-head {
height: $controlbox-head-height;
2017-06-13 21:07:42 +02:00
padding: 6px 0 6px 0;
margin-top: 0.5em;
2017-06-13 21:07:42 +02:00
}
#converse-register, #converse-login {
2017-09-24 11:03:00 +02:00
margin: 2em 30% 3em 30%;
.title, .instructions, label {
margin: 1em 0;
}
input[type=submit],
input[type=button] {
2017-06-13 21:07:42 +02:00
width: auto;
}
input {
width: 100%;
margin: 1em 0;
&.pure-button {
margin: 1em 0.5em;
}
}
}
@media screen and (max-width: $mobile-portrait-length) {
#converse-register,
#converse-login {
margin: 3em 10% 3em 10%;
}
2017-06-13 21:07:42 +02:00
}
#controlbox-tabs {
/* single tab */
li {
width: 50%;
a {
height: $controlbox-head-height - 1px;
line-height: $controlbox-head-height - 1px;
&.current,
&.current:hover {
height: $controlbox-head-height;
}
font-size: $font-size-large;
}
}
}
}
}