fixed buttons with just an image from html::submit_button() were shown like a button after changing tag from <input type="submit" to <button

This commit is contained in:
Ralf Becker 2014-02-11 16:52:54 +00:00
parent f2051a9f05
commit 11ea479feb
4 changed files with 22 additions and 17 deletions

View File

@ -5146,6 +5146,10 @@ div#calendar-container div.calendar table tbody tr.rowhilite td {
width: 16px; width: 16px;
height: 16px; height: 16px;
} }
button.image_button {
background: none;
border: none;
}
/*@import "../less/layout_nextmatch.less";*/ /*@import "../less/layout_nextmatch.less";*/
/** /**
* Less-file for egroupware * Less-file for egroupware

View File

@ -26,8 +26,8 @@
/*.box_shadow_standard_light;*/ /*.box_shadow_standard_light;*/
.rounded (3px); .rounded (3px);
color: @gray_100; color: @gray_100;
-webkit-transition-property: background-color; -webkit-transition-property: background-color;
-moz-transition-property: background-color; -moz-transition-property: background-color;
-o-transition-property: background-color; -o-transition-property: background-color;
@ -41,7 +41,7 @@
-o-transition-timing-function: linear; -o-transition-timing-function: linear;
transition-timing-function: linear; transition-timing-function: linear;
background-color: @gray_30; background-color: @gray_30;
} }
.Complete_Button_hover{ .Complete_Button_hover{
@ -90,12 +90,12 @@
padding: -0.5em; padding: -0.5em;
background-color: @egw_color_2_e !important; background-color: @egw_color_2_e !important;
&:before { &:before {
content: ""; content: "";
font-size: 2em; font-size: 2em;
color: @egw_color_1_a; color: @egw_color_1_a;
line-height: 0.6em; line-height: 0.6em;
padding-left: 0.1em; padding-left: 0.1em;
padding-right: 4em; padding-right: 4em;
} }
@ -201,7 +201,7 @@
padding: 0px; padding: 0px;
margin: 7px; margin: 7px;
margin-left: 0px; margin-left: 0px;
background-image: url("../images/search.png"); background-image: url("../images/search.png");
background-position: center 0; background-position: center 0;
background-size: contain; background-size: contain;
@ -268,7 +268,7 @@
/*.background_color_10_gray;*/ /*.background_color_10_gray;*/
.box_shadow_standard_light; .box_shadow_standard_light;
.border_normal; .border_normal;
.border_radius_button_normal; .border_radius_button_normal;
} }
@ -284,7 +284,7 @@
.border_active; .border_active;
.border_radius_button_normal; .border_radius_button_normal;
.box_shadow_standard_light_inset; .box_shadow_standard_light_inset;
background-color: @color_positive_action_active; background-color: @color_positive_action_active;
} }
@ -340,4 +340,4 @@ Images svg
/*delete*/ /*delete*/
img[url*="delete"]{.gradient_vertical (@gray_30, @gray_30);} img[url*="delete"]{.gradient_vertical (@gray_30, @gray_30);}
// //

View File

@ -93,7 +93,7 @@
#loginMainDiv div#centerBox #loginCdMessage span { #loginMainDiv div#centerBox #loginCdMessage span {
padding: 0.5em; padding: 0.5em;
font-size: 1.2em; font-size: 1.2em;
color: rgba(103, 159, 210, 0.1); color: #679fd2;
text-shadow: -1px -1px 0px #101010, 1px 1px 0px #505050; text-shadow: -1px -1px 0px #101010, 1px 1px 0px #505050;
width: 100%; width: 100%;
} }

View File

@ -1331,7 +1331,8 @@ div#calendar-container {
.dimension_width_height_s; .dimension_width_height_s;
} }
// old image (only) buttons, which should only display an image, no button
button.image_button {
// background: none;
// border: none;
}