From 9a1742d749378ee0a35a6ec792ff008d0a4239d5 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 4 Jul 2016 11:31:52 +0200 Subject: [PATCH] Fix buttons called addressbook get wrong styling --- pixelegg/css/mobile.css | 6 +++--- pixelegg/css/pixelegg.css | 6 +++--- pixelegg/less/layout_buttons.less | 2 +- pixelegg/mobile/fw_mobile.css | 6 +++--- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/pixelegg/css/mobile.css b/pixelegg/css/mobile.css index 8aad5b1192..481c2efbf7 100644 --- a/pixelegg/css/mobile.css +++ b/pixelegg/css/mobile.css @@ -2254,7 +2254,7 @@ button[id*="edit_button[edit]"]:active, button.et2_button:active { background-color: #1aa200; } -button[id*="add"] img[url*="svg"] { +button[id*="add"]:not([id*='addressbook']) img[url*="svg"] { background-color: #b4b4b4 !important; background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjQjRCNEI0IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjQjRCNEI0IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=) !important; background-image: -moz-linear-gradient(top, #B4B4B4, #B4B4B4) !important; @@ -2266,14 +2266,14 @@ button[id*="add"] img[url*="svg"] { background-repeat: repeat-x !important; fill: red !important; } -button[id*="add"]:hover { +button[id*="add"]:not([id*='addressbook']):hover { background-color: #189800 !important; color: #000000 !important; -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; } -button[id*="add"]:active { +button[id*="add"]:not([id*='addressbook']):active { background-color: #1aa200 !important; } button#filemanager-select_button[ok]:active { diff --git a/pixelegg/css/pixelegg.css b/pixelegg/css/pixelegg.css index 9d22095b44..9975637c13 100644 --- a/pixelegg/css/pixelegg.css +++ b/pixelegg/css/pixelegg.css @@ -2243,7 +2243,7 @@ button[id*="edit_button[edit]"]:active, button.et2_button:active { background-color: #1aa200; } -button[id*="add"] img[url*="svg"] { +button[id*="add"]:not([id*='addressbook']) img[url*="svg"] { background-color: #b4b4b4 !important; background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjQjRCNEI0IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjQjRCNEI0IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=) !important; background-image: -moz-linear-gradient(top, #B4B4B4, #B4B4B4) !important; @@ -2255,14 +2255,14 @@ button[id*="add"] img[url*="svg"] { background-repeat: repeat-x !important; fill: red !important; } -button[id*="add"]:hover { +button[id*="add"]:not([id*='addressbook']):hover { background-color: #189800 !important; color: #000000 !important; -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; } -button[id*="add"]:active { +button[id*="add"]:not([id*='addressbook']):active { background-color: #1aa200 !important; } button#filemanager-select_button[ok]:active { diff --git a/pixelegg/less/layout_buttons.less b/pixelegg/less/layout_buttons.less index 3d783a509f..1787f7e9f7 100644 --- a/pixelegg/less/layout_buttons.less +++ b/pixelegg/less/layout_buttons.less @@ -139,7 +139,7 @@ button.et2_button{ .Complete_Button_save_apply_copy; } -button[id*="add"] { +button[id*="add"]:not([id*='addressbook']) { .Complete_Button_save_apply_copy !important; } button#filemanager-select_button[ok]{ diff --git a/pixelegg/mobile/fw_mobile.css b/pixelegg/mobile/fw_mobile.css index 49399a099f..905bbce7b7 100644 --- a/pixelegg/mobile/fw_mobile.css +++ b/pixelegg/mobile/fw_mobile.css @@ -2265,7 +2265,7 @@ button[id*="edit_button[edit]"]:active, button.et2_button:active { background-color: #1aa200; } -button[id*="add"] img[url*="svg"] { +button[id*="add"]:not([id*='addressbook']) img[url*="svg"] { background-color: #b4b4b4 !important; background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjQjRCNEI0IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjQjRCNEI0IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=) !important; background-image: -moz-linear-gradient(top, #B4B4B4, #B4B4B4) !important; @@ -2277,14 +2277,14 @@ button[id*="add"] img[url*="svg"] { background-repeat: repeat-x !important; fill: red !important; } -button[id*="add"]:hover { +button[id*="add"]:not([id*='addressbook']):hover { background-color: #189800 !important; color: #000000 !important; -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6) !important; } -button[id*="add"]:active { +button[id*="add"]:not([id*='addressbook']):active { background-color: #1aa200 !important; } button#filemanager-select_button[ok]:active {