From 3045ce469234df6c7ba9bd5ac4c566b64d2b1121 Mon Sep 17 00:00:00 2001 From: kriansa Date: Thu, 27 Oct 2011 01:29:34 -0200 Subject: Aligned close buttons to the middle of alert message --- lib/patterns.less | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index 22d2bc014..8ffae79dc 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -520,6 +520,10 @@ footer { &.info:hover { color: @white } + // Sets the close button to the middle of message + .close{ + line-height: 18px; + } // Danger and error appear as red &.danger, &.error { -- cgit v1.2.3 From c9b7118a47c4b8cd6a9ede4ff093d37366586c41 Mon Sep 17 00:00:00 2001 From: Kriansa Date: Thu, 27 Oct 2011 12:36:28 -0200 Subject: Fixed a bug that wasn't working as expected on Linux --- lib/patterns.less | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index 8ffae79dc..c7b7c10b8 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -522,7 +522,8 @@ footer { } // Sets the close button to the middle of message .close{ - line-height: 18px; + font-family: Arial; + line-height: 18px; } // Danger and error appear as red &.danger, -- cgit v1.2.3 From 602919aae83a0f6d12a2c3dcdcdb8c3f1579b647 Mon Sep 17 00:00:00 2001 From: Mark Otto Date: Mon, 31 Oct 2011 23:27:20 -0700 Subject: tweak alignment for IE7 and chrome --- lib/patterns.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/patterns.less') diff --git a/lib/patterns.less b/lib/patterns.less index e7328d343..8f54f1a8f 100644 --- a/lib/patterns.less +++ b/lib/patterns.less @@ -522,7 +522,7 @@ footer { } // Sets the close button to the middle of message .close{ - font-family: Arial; + font-family: Arial, sans-serif; line-height: 18px; } // Danger and error appear as red @@ -636,7 +636,7 @@ input[type=submit].btn { font-weight: bold; line-height: @baseline * .75; text-shadow: 0 1px 0 rgba(255,255,255,1); - .opacity(20); + .opacity(25); &:hover { color: @black; text-decoration: none; @@ -663,7 +663,8 @@ input[type=submit].btn { // Adjust close icon .close { - *margin-top: 3px; /* IE7 spacing */ + margin-top: 1px; + *margin-top: 0; // For IE7 } // Make links same color as text and stand out more -- cgit v1.2.3