From d275e10f654a0580387148dc38e866714d5cfe44 Mon Sep 17 00:00:00 2001 From: alenoosh Date: Thu, 20 Aug 2015 11:46:44 +0430 Subject: [PATCH] The css problem of Logout and Settings buttons in firefox is resolved. --- public/css/global.less | 17 +++++++++++++++-- public/css/styles.css | 16 ++++++++++++++-- src/lang/en/fields.php | 2 +- src/views/dashboard.blade.php | 4 ++-- src/views/mainTemplate.blade.php | 4 ++-- 5 files changed, 34 insertions(+), 9 deletions(-) diff --git a/public/css/global.less b/public/css/global.less index c166d05..74d1d1a 100644 --- a/public/css/global.less +++ b/public/css/global.less @@ -139,8 +139,9 @@ body{ } .caret { - top: 8px; + top: 1px; position: relative; + margin-left: 25px; } &:hover{ span.fl-right{ @@ -155,7 +156,7 @@ body{ } .icon{ color:#555; - font-size: 18px; + font-size: 14px; cursor: pointer; transition: all ease 250ms; &:hover{ @@ -296,3 +297,15 @@ li:hover{ } } +/** Logout Button **/ +a.btn.btn-default.main-link { + height: 32px; + span.icon { + padding-left: 20px; + } +} + +/** Settings Button **/ +a.btn.btn-default.dropdown-toggle.main-link { + padding-top : 7px; +} diff --git a/public/css/styles.css b/public/css/styles.css index d6aa7ab..777c8bc 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -7705,8 +7705,9 @@ body { float: right; } .top-icon-bar a.main-link .caret { - top: 8px; + top: 1px; position: relative; + margin-left: 25px; } .top-icon-bar a.main-link:hover { color: #fff; @@ -7720,7 +7721,7 @@ body { } .top-icon-bar .icon { color: #555; - font-size: 18px; + font-size: 14px; cursor: pointer; transition: all ease 250ms; } @@ -7834,6 +7835,17 @@ body { left: 8px; } } +/** Logout Button **/ +a.btn.btn-default.main-link { + height: 32px; +} +a.btn.btn-default.main-link span.icon { + padding-left: 20px; +} +/** Settings Button **/ +a.btn.btn-default.dropdown-toggle.main-link { + padding-top: 7px; +} /* To change this license header, choose License Headers in Project Properties. To change this template file, choose Tools | Templates diff --git a/src/lang/en/fields.php b/src/lang/en/fields.php index ee8d10c..25b1006 100644 --- a/src/lang/en/fields.php +++ b/src/lang/en/fields.php @@ -1,7 +1,7 @@ 'Setting', + 'settings' => 'Settings', 'logout' => 'Log out', 'ProfileEdit' => 'Profile Edit', 'ResetPassword' => 'Reset Password', diff --git a/src/views/dashboard.blade.php b/src/views/dashboard.blade.php index c66300e..e45fa8e 100644 --- a/src/views/dashboard.blade.php +++ b/src/views/dashboard.blade.php @@ -18,10 +18,10 @@
-
+
{{$box['title']}}
-
+
{{$box['count']}}
diff --git a/src/views/mainTemplate.blade.php b/src/views/mainTemplate.blade.php index 624f5dc..7706c83 100644 --- a/src/views/mainTemplate.blade.php +++ b/src/views/mainTemplate.blade.php @@ -89,14 +89,14 @@ - {{ Lang::get('panel::fields.logout') }} + {{ Lang::get('panel::fields.logout') }}