From 2e89f4dd42edff9c5624be8bfed2c354dc12003d Mon Sep 17 00:00:00 2001 From: connors Date: Sat, 19 Oct 2013 17:41:22 -0700 Subject: [PATCH] Removing radius from the classic theme search input. Also adding link buttons. --- dist/ratchet.css | 14 +++++++++++++- dist/theme-classic.css | 1 - lib/sass/buttons.scss | 17 ++++++++++++++++- 3 files changed, 29 insertions(+), 3 deletions(-) diff --git a/dist/ratchet.css b/dist/ratchet.css index 4c6eb21..12b65b7 100644 --- a/dist/ratchet.css +++ b/dist/ratchet.css @@ -631,7 +631,7 @@ select { margin: 0; font-size: 12px; font-weight: 400; - line-height: 1; + line-height: 1.15; color: #929292; text-align: center; vertical-align: top; @@ -678,6 +678,18 @@ select { background-color: #dd524d; } +.button-link { + color: #007aff; + border: none; +} +.button-link:active, .button-link.active { + color: #007aff; + opacity: .3; +} +.button-link.button-filled { + background-color: transparent; +} + .button-block { display: block; padding: 15px 0; diff --git a/dist/theme-classic.css b/dist/theme-classic.css index 3ae1ce2..b6cb5c2 100644 --- a/dist/theme-classic.css +++ b/dist/theme-classic.css @@ -122,5 +122,4 @@ input[type=search] { color: #555; background-color: rgba(0, 0, 0, 0.1); - border-radius: 17px; } diff --git a/lib/sass/buttons.scss b/lib/sass/buttons.scss index a13144c..675429c 100644 --- a/lib/sass/buttons.scss +++ b/lib/sass/buttons.scss @@ -9,7 +9,7 @@ margin: 0; font-size: $button-font-size; font-weight: $font-weight-light; - line-height: 1; + line-height: 1.15; // Center button text on the phone. color: $default-color; text-align: center; vertical-align: top; @@ -77,6 +77,21 @@ } } +// Link button (Buttons that look like links) +.button-link { + color: $primary-color; + border: none; + + &:active, + &.active { + color: $primary-color; + opacity: .3; + } + &.button-filled { + background-color: transparent; + } +} + // Block level buttons (full width buttons) .button-block { display: block;