Browse Source

More button adjustments

pull/231/head
connors 11 years ago
parent
commit
c266e1c456
  1. 6
      dist/ratchet.css
  2. 2
      lib/sass/buttons.scss
  3. 2
      lib/sass/table-views.scss
  4. 2
      lib/sass/variables.scss

6
dist/ratchet.css vendored

@ -466,7 +466,7 @@ strong {
} }
.table-view [class*="button"] { .table-view [class*="button"] {
left: auto; left: auto;
margin-top: -14px; margin-top: -12px;
} }
.table-view .toggle { .table-view .toggle {
margin-top: -15px; margin-top: -15px;
@ -603,9 +603,9 @@ select {
[class*="button"] { [class*="button"] {
position: relative; position: relative;
display: inline-block; display: inline-block;
padding: 5px 10px 7px; padding: 5px 8px;
margin: 0; margin: 0;
font-size: 14px; font-size: 12px;
font-weight: 400; font-weight: 400;
line-height: 1; line-height: 1;
color: #929292; color: #929292;

2
lib/sass/buttons.scss

@ -5,7 +5,7 @@
[class*="button"] { [class*="button"] {
position: relative; position: relative;
display: inline-block; display: inline-block;
padding: 5px 10px 7px; padding: 5px 8px;
margin: 0; margin: 0;
font-size: $button-font-size; font-size: $button-font-size;
font-weight: $font-weight-light; font-weight: $font-weight-light;

2
lib/sass/table-views.scss

@ -110,7 +110,7 @@
// Position buttons vertically centered on the right in table view items // Position buttons vertically centered on the right in table view items
[class*="button"] { [class*="button"] {
left: auto; left: auto;
margin-top: -14px; // Half height of button margin-top: -12px; // Half height of button
} }
.toggle { .toggle {

2
lib/sass/variables.scss

@ -36,7 +36,7 @@ $bar-side-spacing: 10px;
// -------------------------------------------------- // --------------------------------------------------
$button-directional-padding: 20px; $button-directional-padding: 20px;
$button-directional-margin: -($bar-side-spacing/2); $button-directional-margin: -($bar-side-spacing/2);
$button-font-size: 14px; $button-font-size: 12px;
// Transitions // Transitions

Loading…
Cancel
Save