discourse/app/assets/stylesheets/desktop/upload.scss

58 lines
1.0 KiB
SCSS
Raw Normal View History

2013-09-06 03:37:07 +08:00
.upload-selector {
2013-10-09 00:55:20 +08:00
label {
display: inline-block;
padding-left: 10px;
2013-09-06 03:37:07 +08:00
}
.radios {
2018-05-31 11:24:43 +08:00
min-height: 60px;
display: flex;
align-items: flex-start;
label {
flex: 1 0 auto;
margin-right: 1em;
margin-top: 1px;
}
.inputs {
width: 100%;
input {
width: 90%;
margin: 0 0 5px 0;
}
input[type="file"] {
2018-01-13 06:27:38 +08:00
font-size: $font-0;
line-height: $line-height-medium;
}
.description,
.hint {
2017-10-11 04:07:46 +08:00
color: dark-light-choose($primary-medium, $secondary-medium);
2016-07-31 02:39:11 +08:00
display: block;
}
.hint {
font-style: italic;
margin: 5px 0 0 0;
}
.label {
margin: 0 0 5px 0;
}
2013-10-09 00:55:20 +08:00
}
2013-09-06 03:37:07 +08:00
}
.radios:last-child:not(:nth-child(2)) {
// last child for composer modal, but not theme import modal
2018-05-31 11:24:43 +08:00
min-height: 20px;
}
2013-09-06 03:37:07 +08:00
}
.uploaded-image-preview {
height: 270px;
width: 400px;
max-height: 150px;
margin-bottom: 10px;
}
.image-upload-controls {
padding: 10px;
label.btn {
padding: 7px 10px;
}
}