mirror of
https://github.com/flarum/core.git
synced 2025-08-11 19:04:29 +02:00
Update for beta 8
This commit is contained in:
110
extensions/embed/less/forum.less
Normal file
110
extensions/embed/less/forum.less
Normal file
@@ -0,0 +1,110 @@
|
||||
.container {
|
||||
width: auto;
|
||||
padding: 0 20px;
|
||||
|
||||
@media @phone {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
.App {
|
||||
padding-top: 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
|
||||
&:before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
.App-content {
|
||||
border-top: 0;
|
||||
min-height: 0;
|
||||
}
|
||||
.Composer {
|
||||
margin-left: 0 !important;
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
.DiscussionHero {
|
||||
display: none;
|
||||
}
|
||||
.DiscussionPage-nav {
|
||||
width: auto;
|
||||
float: none;
|
||||
|
||||
@media @tablet-up {
|
||||
height: 70px;
|
||||
}
|
||||
|
||||
> ul {
|
||||
.header-background();
|
||||
border-bottom: 0;
|
||||
height: auto !important;
|
||||
list-style: none;
|
||||
padding: 15px 0;
|
||||
margin: 0;
|
||||
width: auto;
|
||||
|
||||
@media @phone {
|
||||
position: static;
|
||||
}
|
||||
@media @tablet-up {
|
||||
padding: 15px 15px;
|
||||
|
||||
.scrolled & {
|
||||
.box-shadow(0 2px 6px @shadow-color);
|
||||
}
|
||||
}
|
||||
|
||||
> li {
|
||||
margin: 0 15px 0 0;
|
||||
display: inline-block;
|
||||
}
|
||||
.item-replies {
|
||||
@media @phone {
|
||||
display: block;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
|
||||
&, a {
|
||||
color: @muted-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.ButtonGroup {
|
||||
&, .Button {
|
||||
width: auto !important;
|
||||
}
|
||||
.Dropdown-toggle {
|
||||
width: 36px !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.DiscussionPage-stream {
|
||||
margin-right: 0;
|
||||
}
|
||||
.Post-stream {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
@media @phone {
|
||||
.Dropdown .Dropdown-menu {
|
||||
position: absolute;
|
||||
bottom: auto;
|
||||
top: auto;
|
||||
right: auto !important;
|
||||
padding-bottom: 0 !important;
|
||||
.transition(none);
|
||||
|
||||
&.Dropdown-menu--right {
|
||||
left: auto !important;
|
||||
right: 0 !important;
|
||||
}
|
||||
}
|
||||
.Composer:not(.minimized) {
|
||||
height: 400px !important;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user