kitematic/styles/setup.less

222 строки
4.5 KiB
Plaintext
Исходник Обычный вид История

2015-01-12 17:28:29 +03:00
.setup {
2015-02-04 01:45:16 +03:00
display: flex;
height: 100%;
width: 100%;
2015-05-19 21:13:47 +03:00
flex-direction: column;
2015-02-10 02:29:04 +03:00
//-webkit-app-region: drag;
2015-02-04 01:45:16 +03:00
2015-05-19 21:13:47 +03:00
.setup-content {
2015-02-04 01:45:16 +03:00
display: flex;
2015-05-19 21:13:47 +03:00
flex-direction: row;
flex: 1 auto;
.image {
display: flex;
2015-05-23 04:38:23 +03:00
flex: 1 auto;
2015-05-19 21:13:47 +03:00
align-items: center;
justify-content: flex-end;
padding-right: 40px;
img {
width: 399px;
height: 340px;
}
2015-02-18 03:09:43 +03:00
2015-05-19 21:13:47 +03:00
.contents {
position: relative;
.detail {
position: absolute;
right: -20px;
bottom: 0;
}
2015-02-04 01:45:16 +03:00
}
}
2015-05-19 21:13:47 +03:00
.form-section {
display: flex;
flex: 1 auto;
align-items: flex-end;
justify-content: center;
padding-right: 60px;
padding-left: 80px;
flex-direction: column;
img {
width: 323px;
height: 64px;
}
2015-05-18 00:19:20 +03:00
2015-05-19 21:13:47 +03:00
form {
margin-top: 40px;
text-align: right;
input[type="text"], input[type="password"] {
display: block;
border: 0;
border-bottom: 1px solid @gray-lightest;
color: @gray-normal;
font-weight: 300;
padding: 10px 5px;
transition: all 0.25s;
font-size: 18px;
width: 340px;
&.error {
2015-05-18 00:19:20 +03:00
border-bottom: 1px solid @brand-negative;
2015-05-19 21:13:47 +03:00
&:focus {
border-bottom: 1px solid @brand-negative;
}
}
&:focus {
outline: 0;
border-bottom: 1px solid @brand-action;
}
&::-webkit-input-placeholder {
color: @gray-lighter;
font-weight: 400;
2015-05-18 00:19:20 +03:00
}
}
2015-05-19 21:13:47 +03:00
div.checkbox {
text-align: left;
color: @gray-normal;
2015-05-18 00:19:20 +03:00
}
2015-05-19 21:13:47 +03:00
div.submit {
margin-top: 10px;
display: flex;
flex-direction: row;
justify-content: flex-end;
align-items: center;
2015-05-18 00:19:20 +03:00
2015-05-19 21:13:47 +03:00
.spinner {
margin-right: 10px;
flex: 0 auto;
}
2015-05-18 00:19:20 +03:00
2015-05-19 21:13:47 +03:00
button[type="submit"] {
flex: 0 auto;
display: block;
font-size: 18px;
padding: 10px 20px;
color: white;
background-color: @brand-action;
border: 0;
&:hover {
background-color: darken(@brand-action, 5%);
}
}
2015-05-18 00:19:20 +03:00
}
2015-05-19 21:13:47 +03:00
hr {
border-top: 1px solid #D7DFEA;
2015-05-18 00:19:20 +03:00
}
2015-05-19 21:13:47 +03:00
.extra {
text-align: center;
font-size: 14px;
color: @gray-normal;
margin-top: 16px;
.btn {
margin-left: 6px;
position: relative;
top: -3px;
}
2015-05-18 00:19:20 +03:00
2015-05-19 21:13:47 +03:00
a {
color: @brand-primary;
}
}
.link {
display: block;
font-size: 10px;
text-align: left;
2015-05-18 00:19:20 +03:00
position: relative;
2015-05-19 21:13:47 +03:00
top: -15px;
left: 5px;
2015-05-18 00:19:20 +03:00
}
2015-05-19 21:13:47 +03:00
.error-message {
font-size: 12px;
margin-top: 5px;
margin-bottom: 0;
min-height: 17px;
color: @brand-negative;
}
div.error {
font-size: 13px;
color: @gray-normal;
color: @brand-negative;
background-color: lighten(@brand-negative, 32%);
padding: 10px;
border-radius: 4px;
width: 340px;
display: none;
2015-05-18 00:19:20 +03:00
}
}
}
2015-05-19 21:13:47 +03:00
.btn-skip {
position: absolute;
bottom: 20px;
2015-05-26 10:49:01 +03:00
right: 20px;
2015-05-19 21:13:47 +03:00
font-size: 14px;
}
2015-05-18 00:19:20 +03:00
2015-05-21 06:09:14 +03:00
.btn-close {
-webkit-app-region: no-drag;
position: absolute;
top: 16px;
right: 16px;
font-size: 14px;
}
2015-05-19 21:13:47 +03:00
.desc {
flex: 1 auto;
display: flex;
2015-02-04 01:45:16 +03:00
2015-05-19 21:13:47 +03:00
align-items: center;
padding-left: 40px;
2015-02-04 01:45:16 +03:00
2015-05-19 21:13:47 +03:00
.content {
max-width: 320px;
2015-02-04 01:45:16 +03:00
2015-05-19 21:13:47 +03:00
h1 {
color: @gray-darkest;
font-size: 24px;
2015-02-10 02:29:04 +03:00
}
2015-05-19 21:13:47 +03:00
h4 {
color: @gray-lightest;
font-size: 13px;
margin-top: -30px;
}
p {
font-size: 13px;
color: @gray-normal;
&.error {
color: @brand-negative;
background-color: lighten(@brand-negative, 32%);
padding: 10px;
border-radius: 4px;
max-height: 400px;
overflow: auto;
}
}
.setup-actions {
button {
margin-right: 12px;
}
}
}
2015-02-04 01:45:16 +03:00
2015-05-19 21:13:47 +03:00
}
2015-01-12 17:28:29 +03:00
2015-05-19 21:13:47 +03:00
p {
&.error {
color: @brand-danger;
word-wrap: break-word;
}
margin-top: 20px;
}
2015-05-19 21:13:47 +03:00
2015-01-12 17:28:29 +03:00
}
}