1
0
mirror of https://github.com/flarum/core.git synced 2025-07-20 00:01:17 +02:00

Style tweaks

This commit is contained in:
Toby Zerner
2015-06-03 18:11:43 +09:30
parent 920ad4f04f
commit e73c21779e
4 changed files with 14 additions and 10 deletions

View File

@@ -29,7 +29,7 @@
font-weight: normal; font-weight: normal;
} }
& input { & input {
&, &[disabled] { &, &[disabled], &:focus {
background: none; background: none;
border: 0; border: 0;
padding: 0 20px 0 0; padding: 0 20px 0 0;
@@ -147,6 +147,9 @@
.minimized & { .minimized & {
pointer-events: none; pointer-events: none;
} }
.full-screen & {
margin-bottom: 20px;
}
} }
.composer-content { .composer-content {
padding: 20px 20px 0; padding: 20px 20px 0;
@@ -231,6 +234,7 @@
&, &:focus, &[disabled] { &, &:focus, &[disabled] {
background: none; background: none;
border: 0;
} }
} }
} }

View File

@@ -233,7 +233,7 @@
& pre { & pre {
border: 0; border: 0;
padding: 15px; padding: 15px;
background: #fafafa; background: #f3f3f3;
color: #666; color: #666;
font-size: 90%; font-size: 90%;
} }
@@ -464,11 +464,11 @@
cursor: text; cursor: text;
overflow: hidden; overflow: hidden;
margin: 50px -20px 0; margin: 50px -20px 0;
border: 2px dashed @fl-body-secondary-color; border: 2px dashed transparent;
color: @fl-body-muted-color; color: @fl-body-muted-color;
border-radius: 10px; border-radius: 10px;
padding: 20px 20px 20px 110px; padding: 20px 20px 20px 110px;
transition: color 0.2s, border-color 0.2s; transition: border-color 0.2s;
& .post-header { & .post-header {
padding-top: 18px; padding-top: 18px;
@@ -478,8 +478,7 @@
margin-top: -18px; margin-top: -18px;
} }
&:hover { &:hover {
color: @fl-secondary-color; border-color: @fl-body-secondary-color;
border-color: @fl-body-muted-color;
} }
} }

View File

@@ -3,14 +3,15 @@
background: @fl-body-hero-bg; background: @fl-body-hero-bg;
text-align: center; text-align: center;
padding: 20px 0; padding: 20px 0;
color: @fl-body-hero-color;
&, & a { & a {
color: @fl-body-hero-color; color: inherit;
} }
& .close { & .close {
float: right; float: right;
margin-top: -10px; margin-top: -10px;
color: @fl-body-hero-muted-color; color: inherit;
} }
& h2 { & h2 {
margin: 0; margin: 0;
@@ -21,7 +22,6 @@
& .subtitle { & .subtitle {
margin: 8px 0 0; margin: 8px 0 0;
line-height: 1.5em; line-height: 1.5em;
color: @fl-body-hero-muted-color;
} }
} }
@media @phone { @media @phone {

View File

@@ -10,6 +10,7 @@
.loading-indicator { .loading-indicator {
position: relative; position: relative;
color: @fl-body-muted-color;
} }
.loading-indicator-inline { .loading-indicator-inline {
display: inline-block; display: inline-block;