From 21e00f67372b81bb8bf95cb29a4db18680a1c827 Mon Sep 17 00:00:00 2001 From: Daniel Box Date: Tue, 23 Feb 2016 20:05:46 -0600 Subject: [PATCH 1/3] newer clearfix per #255 --- axis/layout.styl | 2 +- test/fixtures/additive/framework.css | 2 +- test/fixtures/layout/group.css | 4 ++-- test/fixtures/typography/blockquo.css | 2 +- test/fixtures/typography/lists.css | 2 +- test/fixtures/ui/breadcrumb.css | 2 +- test/fixtures/ui/bubble.css | 26 +++++++++++++------------- test/fixtures/ui/flash.css | 8 ++++---- test/fixtures/ui/navigation.css | 2 +- test/fixtures/ui/notice.css | 2 +- 10 files changed, 26 insertions(+), 26 deletions(-) diff --git a/axis/layout.styl b/axis/layout.styl index 79b11b2..f306f12 100644 --- a/axis/layout.styl +++ b/axis/layout.styl @@ -6,7 +6,7 @@ group() &:after content: "" - display: table + display: block clear: both // Alias: clearfix diff --git a/test/fixtures/additive/framework.css b/test/fixtures/additive/framework.css index 528326b..caf559b 100644 --- a/test/fixtures/additive/framework.css +++ b/test/fixtures/additive/framework.css @@ -132,7 +132,7 @@ blockquote { } blockquote:after { content: ""; - display: table; + display: block; clear: both; } blockquote > p { diff --git a/test/fixtures/layout/group.css b/test/fixtures/layout/group.css index a69f495..f4228b9 100644 --- a/test/fixtures/layout/group.css +++ b/test/fixtures/layout/group.css @@ -1,10 +1,10 @@ .group:after { content: ""; - display: table; + display: block; clear: both; } .clearfix:after { content: ""; - display: table; + display: block; clear: both; } diff --git a/test/fixtures/typography/blockquo.css b/test/fixtures/typography/blockquo.css index d4a756e..50d4051 100644 --- a/test/fixtures/typography/blockquo.css +++ b/test/fixtures/typography/blockquo.css @@ -5,7 +5,7 @@ } .blockquote:after { content: ""; - display: table; + display: block; clear: both; } .blockquote > p { diff --git a/test/fixtures/typography/lists.css b/test/fixtures/typography/lists.css index b45bb52..2133238 100644 --- a/test/fixtures/typography/lists.css +++ b/test/fixtures/typography/lists.css @@ -24,7 +24,7 @@ } .inline-list:after { content: ""; - display: table; + display: block; clear: both; } .inline-list li { diff --git a/test/fixtures/ui/breadcrumb.css b/test/fixtures/ui/breadcrumb.css index d57f8de..4cddccd 100644 --- a/test/fixtures/ui/breadcrumb.css +++ b/test/fixtures/ui/breadcrumb.css @@ -4,7 +4,7 @@ } .breadcrumb:after { content: ""; - display: table; + display: block; clear: both; } .breadcrumb li { diff --git a/test/fixtures/ui/bubble.css b/test/fixtures/ui/bubble.css index 3f94a8a..504040a 100644 --- a/test/fixtures/ui/bubble.css +++ b/test/fixtures/ui/bubble.css @@ -10,7 +10,7 @@ } .bubble:after { content: ""; - display: table; + display: block; clear: both; } .bubble:before { @@ -51,7 +51,7 @@ } .bubble-tl:after { content: ""; - display: table; + display: block; clear: both; } .bubble-tl:before { @@ -92,7 +92,7 @@ } .bubble-tr:after { content: ""; - display: table; + display: block; clear: both; } .bubble-tr:before { @@ -133,7 +133,7 @@ } .bubble-tc:after { content: ""; - display: table; + display: block; clear: both; } .bubble-tc:before { @@ -174,7 +174,7 @@ } .bubble-bl:after { content: ""; - display: table; + display: block; clear: both; } .bubble-bl:before { @@ -215,7 +215,7 @@ } .bubble-br:after { content: ""; - display: table; + display: block; clear: both; } .bubble-br:before { @@ -256,7 +256,7 @@ } .bubble-bc:after { content: ""; - display: table; + display: block; clear: both; } .bubble-bc:before { @@ -297,7 +297,7 @@ } .bubble-lt:after { content: ""; - display: table; + display: block; clear: both; } .bubble-lt:before { @@ -338,7 +338,7 @@ } .bubble-lb:after { content: ""; - display: table; + display: block; clear: both; } .bubble-lb:before { @@ -379,7 +379,7 @@ } .bubble-lc:after { content: ""; - display: table; + display: block; clear: both; } .bubble-lc:before { @@ -420,7 +420,7 @@ } .bubble-rt:after { content: ""; - display: table; + display: block; clear: both; } .bubble-rt:before { @@ -461,7 +461,7 @@ } .bubble-rb:after { content: ""; - display: table; + display: block; clear: both; } .bubble-rb:before { @@ -502,7 +502,7 @@ } .bubble-rc:after { content: ""; - display: table; + display: block; clear: both; } .bubble-rc:before { diff --git a/test/fixtures/ui/flash.css b/test/fixtures/ui/flash.css index f5135d7..6ba603c 100644 --- a/test/fixtures/ui/flash.css +++ b/test/fixtures/ui/flash.css @@ -13,7 +13,7 @@ } .flash-notice:after { content: ""; - display: table; + display: block; clear: both; } .flash-warning { @@ -30,7 +30,7 @@ } .flash-warning:after { content: ""; - display: table; + display: block; clear: both; } .flash-error { @@ -48,7 +48,7 @@ } .flash-error:after { content: ""; - display: table; + display: block; clear: both; } .flash-success { @@ -66,6 +66,6 @@ } .flash-success:after { content: ""; - display: table; + display: block; clear: both; } diff --git a/test/fixtures/ui/navigation.css b/test/fixtures/ui/navigation.css index 73fc459..fd73bef 100644 --- a/test/fixtures/ui/navigation.css +++ b/test/fixtures/ui/navigation.css @@ -13,7 +13,7 @@ } .navigation:after { content: ""; - display: table; + display: block; clear: both; } .navigation h1 { diff --git a/test/fixtures/ui/notice.css b/test/fixtures/ui/notice.css index 611e4a4..6dd2f32 100644 --- a/test/fixtures/ui/notice.css +++ b/test/fixtures/ui/notice.css @@ -10,6 +10,6 @@ } .notice:after { content: ""; - display: table; + display: block; clear: both; } From e972dc9dcbd6f3a5f617dee6edb9fcdf3b9eeab9 Mon Sep 17 00:00:00 2001 From: Daniel Box Date: Tue, 23 Feb 2016 20:09:25 -0600 Subject: [PATCH 2/3] move range and radio to forms per #243 --- axis/forms.styl | 142 +++++++++++++++++++++++++ axis/ui.styl | 141 ------------------------ test/fixtures/{ui => forms}/radio.css | 0 test/fixtures/{ui => forms}/radio.styl | 0 test/fixtures/{ui => forms}/range.css | 0 test/fixtures/{ui => forms}/range.styl | 0 test/test.coffee | 12 +-- 7 files changed, 148 insertions(+), 147 deletions(-) rename test/fixtures/{ui => forms}/radio.css (100%) rename test/fixtures/{ui => forms}/radio.styl (100%) rename test/fixtures/{ui => forms}/range.css (100%) rename test/fixtures/{ui => forms}/range.styl (100%) diff --git a/axis/forms.styl b/axis/forms.styl index 38dfedf..200f59b 100644 --- a/axis/forms.styl +++ b/axis/forms.styl @@ -179,6 +179,148 @@ field-success($color = $green) input input-success: $color +// Mixin: Radio +// +// A simple reset for radio button styling across browsers. Takes a color. +// Default color is blue. Use on the