mirror of
https://github.com/flarum/core.git
synced 2025-07-26 03:01:22 +02:00
Tweak some styles
- Rename btn-blend to btn-naked - Tweak input focus style - Other stuff
This commit is contained in:
@@ -13,7 +13,7 @@
|
|||||||
@btn-default-color: @fl-body-control-color;
|
@btn-default-color: @fl-body-control-color;
|
||||||
|
|
||||||
@input-bg: @fl-body-control-bg;
|
@input-bg: @fl-body-control-bg;
|
||||||
@input-border-focus: darken(@fl-body-control-bg, 5%);
|
|
||||||
@input-border: @fl-body-control-bg;
|
@input-border: @fl-body-control-bg;
|
||||||
|
@input-border-focus: @fl-body-control-bg;
|
||||||
@input-color: @fl-body-control-color;
|
@input-color: @fl-body-control-color;
|
||||||
@input-color-placeholder: @fl-body-control-color;
|
@input-color-placeholder: @fl-body-control-color;
|
@@ -65,13 +65,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Buttons that blend into the background
|
// Buttons that blend into the background
|
||||||
.btn-blend {
|
.btn-naked {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
&:hover {
|
&:hover {
|
||||||
background: @fl-body-control-bg;
|
background: @fl-body-control-bg;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.btn-rounded {
|
||||||
|
border-radius: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
// ------------------------------------
|
// ------------------------------------
|
||||||
// Form Controls
|
// Form Controls
|
||||||
|
|
||||||
@@ -79,7 +83,8 @@
|
|||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
&:focus,
|
&:focus,
|
||||||
&.focus {
|
&.focus {
|
||||||
background-color: @input-border-focus;
|
background-color: #fff;
|
||||||
|
color: @fl-body-color;
|
||||||
.box-shadow(none);
|
.box-shadow(none);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -108,10 +108,10 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.item.highlight .post {
|
.item.highlight .post {
|
||||||
border: 10px solid rgba(255, 255, 0, 0.2);
|
border: 8px solid rgba(255, 255, 0, 0.2);
|
||||||
border-radius: 10px;
|
border-radius: 8px;
|
||||||
padding: 15px 15px 0 105px;
|
padding: 15px 15px 0 105px;
|
||||||
margin: -25px -25px -10px -25px;
|
margin: -23px -23px -8px -23px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.post-header {
|
.post-header {
|
||||||
@@ -140,7 +140,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
.post-body {
|
.post-body {
|
||||||
font-size: 15px;
|
font-size: 14px;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
padding-bottom: 1px;
|
padding-bottom: 1px;
|
||||||
}
|
}
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{{ui/controls/dropdown-button
|
{{ui/controls/dropdown-button
|
||||||
items=controls
|
items=controls
|
||||||
class="contextual-controls"
|
class="contextual-controls"
|
||||||
buttonClass="btn btn-default btn-icon btn-sm btn-blend"
|
buttonClass="btn btn-default btn-icon btn-sm btn-naked"
|
||||||
buttonClick="populateControls"
|
buttonClick="populateControls"
|
||||||
menuClass="pull-right"}}
|
menuClass="pull-right"}}
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{{ui/controls/dropdown-button
|
{{ui/controls/dropdown-button
|
||||||
items=controls
|
items=controls
|
||||||
class="contextual-controls"
|
class="contextual-controls"
|
||||||
buttonClass="btn btn-default btn-icon btn-sm btn-blend"
|
buttonClass="btn btn-default btn-icon btn-sm btn-naked"
|
||||||
buttonClick="populateControls"
|
buttonClick="populateControls"
|
||||||
menuClass="pull-right"}}
|
menuClass="pull-right"}}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user