mirror of
https://github.com/discourse/discourse.git
synced 2024-12-21 10:15:47 +08:00
3ad2fd032b
* UX: More additions * UX: more * DEV: Add admin/config/themes route * UX: Use admin config card * syntax merge fixes * cleanup * cleanup * checkbox * more * error * save on click * more * fix setter * DEV: Implement vanilla checkbox * cleanup * UX: save themes as default * DEV: Add component list to card * DEV: Add placeholder for no screenshots * DEV: Fix default theme reactivity Also add content/optionalAction yields to config area card and put the theme user selectable checkbox there, along with adding styles. * DEV: Change to generic "look and feel" config area * DEV: Auto redirect to themes on base look and feel route * UX: Remove computed from sorted themes * linting * UX: Turn update icon into button that routes to settings * DEV: remove unused function * UX: center icons with title * DEV: Lint * UX: Hook up theme preview button * DEV: Minor fixes --------- Co-authored-by: Martin Brennan <martin@discourse.org> Co-authored-by: Joffrey JAFFEUX <j.jaffeux@gmail.com>
44 lines
760 B
SCSS
44 lines
760 B
SCSS
// Unified styles for badge and customize pages
|
|
.admin-intro {
|
|
display: inline-block;
|
|
width: 51%;
|
|
vertical-align: top;
|
|
margin-left: 20%;
|
|
|
|
img {
|
|
display: inline-block;
|
|
width: 50px;
|
|
height: 50px;
|
|
margin-right: 10px;
|
|
vertical-align: top;
|
|
margin-top: 5px;
|
|
}
|
|
.create-actions {
|
|
margin-bottom: 1em;
|
|
}
|
|
.content-wrapper {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
width: 65%;
|
|
h1 {
|
|
display: inline-block;
|
|
line-height: var(--line-height-medium);
|
|
}
|
|
}
|
|
.external-link {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
@include breakpoint(mobile-extra-large) {
|
|
width: 100%;
|
|
margin: 2em 0;
|
|
.content-wrapper {
|
|
width: 100%;
|
|
}
|
|
img {
|
|
display: none;
|
|
}
|
|
}
|
|
}
|