Skip to content

Commit

Permalink
Better button styles
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaucau committed Jul 20, 2021
1 parent 2ec3a77 commit e5bd6d9
Showing 1 changed file with 26 additions and 2 deletions.
28 changes: 26 additions & 2 deletions less/forum.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
height: 100%;

margin: 0 auto;
padding: 10px 10px 5px 10px;
padding: 0;
text-align: center;

li {
Expand All @@ -28,8 +28,15 @@
margin: 0 3px;
}

a {
a,
> li > .Button,
> li > .Dropdown {
color: @secondary-color;
display: block;
width: 100%;
-webkit-tap-highlight-color: fade(@control-bg, 30%);
padding: 10px 10px 5px 10px;
text-align: center;
}

> li > a {
Expand All @@ -46,6 +53,7 @@
margin: 0;
color: @secondary-color;
background: transparent;

&-icon {
margin-right: 0;
margin-bottom: 6px;
Expand All @@ -60,6 +68,22 @@
}
}

> li > .ButtonGroup.Dropdown {
padding: 0;
}

> li > .ButtonGroup.Dropdown > .Button {
float: none;
width: 100%;
padding: 10px 10px 5px 10px;

&:focus,
&:active {
background: transparent;
box-shadow: none;
}
}

.item-logIn {
color: @secondary-color;
}
Expand Down

0 comments on commit e5bd6d9

Please sign in to comment.