Signal-Desktop/stylesheets/options.scss

217 lines
3.3 KiB
SCSS
Raw Normal View History

@import 'variables';
@import 'bootstrap';
html,body {
height: 100%;
}
body {
font-family: $roboto;
position: relative;
}
header {
background: $blue;
color: white;
padding-bottom: 2em;
margin-bottom: 2em;
}
.container {
min-width: 650px;
}
h1 {
font-size: 30pt;
font-weight: normal;
padding-bottom: 10px;
}
.tagline {
font-style: italic;
}
#textsecure-icon {
float: left;
margin-top: 20px;
max-width: 100%;
}
#step1, #step2 {
color: $blue;
font-weight: bold;
font-size: small;
text-transform: uppercase;
}
h3.step {
margin-top: 0;
font-weight: bold;
}
.cta {
text-align: center;
border: 2px solid $grey_l;
border-radius: 10px;
padding: 1em 0;
min-height: 293px;
}
.help {
border-top: 2px solid $grey_l;
padding: 1.5em 0.1em;
}
.install {
display: inline-block;
margin-top: 90px;
}
#qr {
display: inline-block;
canvas {
display: none;
}
}
#verifyCode,
#code,
#number {
box-sizing: border-box;
width: 100%;
display: block;
margin-bottom: 0.5em;
}
#request-voice,
#request-sms {
box-sizing: border-box;
}
#request-sms {
width: 57%;
float: right;
}
#request-voice {
width: 40%;
float: left;
}
.number-container {
position: relative;
margin-bottom: 0.5em;
}
.number-container .intl-tel-input,
.number-container .number {
width: 100%;
}
.number-container::after {
visibility: hidden;
content: ' ';
display: inline-block;
border-radius: 1.5em;
width: 1.5em;
height: 1.5em;
line-height: 1.5em;
color: #ffffff;
position: absolute;
top: 0;
left: 100%;
margin: 3px 8px;
text-align: center;
}
.number-container.valid::after {
visibility: visible;
content: '';
background-color: #0f9d58;
color: #ffffff;
}
.number-container.invalid::after {
visibility: visible;
content: '!';
background-color: #f44336;
color: #ffffff;
}
#error {
color: white;
font-weight: bold;
padding: 0.5em;
text-align: center;
}
#error { background-color: #f44336; }
#error:before {
content: '\26a0';
padding-right: 0.5em;
}
.narrow {
box-sizing: border-box;
width: 275px;
max-width: 100%;
}
ul.country-list {
min-width: 197px !important;
}
.modal-container {
display: none;
position: absolute;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.1);
top: 0;
padding-top: 10em;
text-align: center;
.modal-main {
display: inline-block;
width: 80%;
max-width: 500px;
border: solid 2px $blue;
background: white;
margin: 10% auto;
box-shadow: 0 0 5px 3px rgba(darken($blue, 30%), 0.2);
h4 {
background-color: $blue;
color: white;
padding: 1em;
margin: 0;
text-align: left;
}
.confirmation-dialog, .progress-dialog, .error-dialog {
padding: 1em;
text-align: left;
}
.confirmation-dialog .number { text-align: center; }
.confirmation-dialog, .error-dialog {
button {
float: right;
margin-left: 10px;
}
}
.progress-dialog {
display: none;
text-align: center;
padding: 1em;
.status { padding: 1em; }
.bar-container {
height: 1em;
background-color: $grey_l;
}
.bar {
width: 0;
height: 100%;
background-color: $blue;
transition: width 0.25s;
}
}
2015-06-19 23:40:33 +00:00
.error-dialog {
display: none;
}
}
}