Always turn add buttons background into green

This commit is contained in:
Hadi Nategh 2016-04-15 13:04:25 +00:00
parent 9c9383f21d
commit cb605e635c
4 changed files with 70 additions and 2 deletions

View File

@ -2230,6 +2230,28 @@ button[id*="edit_button[edit]"]:active,
button.et2_button:active { button.et2_button:active {
background-color: #1aa200; background-color: #1aa200;
} }
button[id*="add"] img[url*="svg"] {
background-color: #b4b4b4 !important;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjYjRiNGI0IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjYjRiNGI0IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=) !important;
background-image: -moz-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -ms-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b4b4b4), to(#b4b4b4)) !important;
background-image: -webkit-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -o-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-repeat: repeat-x !important;
fill: red !important;
}
button[id*="add"]: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 {
background-color: #1aa200 !important;
}
button#filemanager-select_button[ok]:active { button#filemanager-select_button[ok]:active {
background-color: #1aa200; background-color: #1aa200;
} }

View File

@ -2219,6 +2219,28 @@ button[id*="edit_button[edit]"]:active,
button.et2_button:active { button.et2_button:active {
background-color: #1aa200; background-color: #1aa200;
} }
button[id*="add"] img[url*="svg"] {
background-color: #b4b4b4 !important;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjYjRiNGI0IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjYjRiNGI0IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=) !important;
background-image: -moz-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -ms-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b4b4b4), to(#b4b4b4)) !important;
background-image: -webkit-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -o-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-repeat: repeat-x !important;
fill: red !important;
}
button[id*="add"]: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 {
background-color: #1aa200 !important;
}
button#filemanager-select_button[ok]:active { button#filemanager-select_button[ok]:active {
background-color: #1aa200; background-color: #1aa200;
} }

View File

@ -136,10 +136,12 @@ button[id*="copy"],
button[id*="edit_button[edit]"], button[id*="edit_button[edit]"],
button.et2_button{ button.et2_button{
.Complete_Button_save_apply_copy; .Complete_Button_save_apply_copy;
} }
button[id*="add"] {
.Complete_Button_save_apply_copy !important;
}
button#filemanager-select_button[ok]{ button#filemanager-select_button[ok]{
&:active {background-color: @color_positive_action_active;} &:active {background-color: @color_positive_action_active;}
} }

View File

@ -2241,6 +2241,28 @@ button[id*="edit_button[edit]"]:active,
button.et2_button:active { button.et2_button:active {
background-color: #1aa200; background-color: #1aa200;
} }
button[id*="add"] img[url*="svg"] {
background-color: #b4b4b4 !important;
background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPjxsaW5lYXJHcmFkaWVudCBpZD0iZzc0MyIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiIHgxPSIwJSIgeTE9IjAlIiB4Mj0iMCUiIHkyPSIxMDAlIj48c3RvcCBzdG9wLWNvbG9yPSIjYjRiNGI0IiBvZmZzZXQ9IjAiLz48c3RvcCBzdG9wLWNvbG9yPSIjYjRiNGI0IiBvZmZzZXQ9IjEiLz48L2xpbmVhckdyYWRpZW50PjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc0MykiLz48L3N2Zz4=) !important;
background-image: -moz-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -ms-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b4b4b4), to(#b4b4b4)) !important;
background-image: -webkit-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: -o-linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-image: linear-gradient(top, #b4b4b4, #b4b4b4) !important;
background-repeat: repeat-x !important;
fill: red !important;
}
button[id*="add"]: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 {
background-color: #1aa200 !important;
}
button#filemanager-select_button[ok]:active { button#filemanager-select_button[ok]:active {
background-color: #1aa200; background-color: #1aa200;
} }