mirror of
https://github.com/discourse/discourse.git
synced 2024-12-16 07:33:45 +08:00
174d392e5a
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn` It's recommended to configure your editor to run prettier on file save.
38 lines
652 B
SCSS
38 lines
652 B
SCSS
.upload-selector {
|
|
input[type="text"] {
|
|
width: calc(100% - 20px);
|
|
}
|
|
input[type="file"] {
|
|
font-size: $font-0;
|
|
line-height: $line-height-medium;
|
|
}
|
|
.description {
|
|
color: dark-light-choose($primary-medium, $secondary-medium);
|
|
}
|
|
.radios {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
align-items: center;
|
|
&:first-of-type {
|
|
margin-bottom: 1em;
|
|
}
|
|
input,
|
|
label {
|
|
min-height: 20px;
|
|
line-height: $line-height-medium;
|
|
margin: 0;
|
|
}
|
|
.radio {
|
|
padding-left: 5px;
|
|
}
|
|
.inputs {
|
|
margin-top: 10px;
|
|
width: 100%;
|
|
}
|
|
}
|
|
}
|
|
|
|
.uploaded-image-preview {
|
|
height: 150px;
|
|
}
|