Skip to content
Snippets Groups Projects
Commit 3f0c8b22 authored by Ron Lucke's avatar Ron Lucke
Browse files

Buttons

Closes #4732

Merge request !3529
parent 509f623b
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
@mixin button() { @mixin button() {
background: var(--color--button-background); background: var(--color--button-background);
border: 1px solid var(--color--button-border); border: 1px solid var(--color--button-border);
border-radius: 0; border-radius: 4px;
box-sizing: border-box; box-sizing: border-box;
color: var(--color--button-border); color: var(--color--button-border);
cursor: pointer; cursor: pointer;
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
margin: 0.8em 0.6em 0.8em 0; margin: 0.8em 0.6em 0.8em 0;
min-width: 100px; min-width: 100px;
overflow: visible; overflow: visible;
padding: 10px 20px; padding: 7px 14px;
position: relative; position: relative;
text-align: center; text-align: center;
text-decoration: none; text-decoration: none;
...@@ -54,7 +54,7 @@ button.button { ...@@ -54,7 +54,7 @@ button.button {
content: " "; content: " ";
float: left; float: left;
height: 16px; height: 16px;
margin: 1px 10px 0 -5px; margin: 1px 10px 0 0;
width: 16px; width: 16px;
} }
} }
...@@ -95,6 +95,7 @@ $button-icons: ( ...@@ -95,6 +95,7 @@ $button-icons: (
@each $class, $icon in $button-icons { @each $class, $icon in $button-icons {
.button { .button {
&.#{'' + $class} { &.#{'' + $class} {
padding-right: 20px;
@include button-with-icon($icon, clickable, info_alt); @include button-with-icon($icon, clickable, info_alt);
&.disabled, &[disabled] { &.disabled, &[disabled] {
@include button-with-icon($icon, inactive, inactive); @include button-with-icon($icon, inactive, inactive);
......
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
&.accept, &.accept,
&.cancel { &.cancel {
padding-right: 23px; padding-right: 20px;
} }
&:last-child { &:last-child {
margin-right: 0; margin-right: 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment