From 013062aa00c05be899848d62c37a8807d2368773 Mon Sep 17 00:00:00 2001 From: Stefan Reinhardt Date: Tue, 6 May 2014 16:44:32 +0000 Subject: [PATCH] infolog - less add - delete + positioning icons --- infolog/templates/pixelegg/app.css | 59 ++++++++++++----------------- infolog/templates/pixelegg/app.less | 18 ++++----- 2 files changed, 33 insertions(+), 44 deletions(-) diff --git a/infolog/templates/pixelegg/app.css b/infolog/templates/pixelegg/app.css index 5f8528180a..01cc9bea33 100755 --- a/infolog/templates/pixelegg/app.css +++ b/infolog/templates/pixelegg/app.css @@ -221,19 +221,31 @@ tr.dialogOperators td, transition: all 0.5s linear; -webkit-transition: all 0.5s linear; /* Safari */ - /*Text ""hinzufügen" "*/ - /*MouseOver*/ -} -#infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget:before { - content: "+"; - font-size: 20px; - color: #ffc200; - line-height: 1px; - position: relative; - top: 2px; - text-shadow: 1px 1px 2px #000; + /* &:before { + content: "+"; + font-size: 20px; + color: @egw_color_1_a; + line-height: 1px; + position: relative; + top: 2px; + text-shadow: 1px 1px 2px #000;*/ /*.Complete_Button_Icon_normal;*/ /*.dimension_width_height_sm;*/ + /*}*/ + /*Text ""hinzufügen" "*/ + /*MouseOver*/ + /* &:hover { + .box_shadow_standard_light_hover; + background-color: fade(@egw_color_2_a, 80%) !important; + .border_radius_button_lefttop; + .dimension_height_sm; + + &:before {content: ""; font-size: 1em;padding-left: 5px;} + + Text + span {visibility: hidden; display: none;}; + img {.scale; margin: 0 5px; background: @gray_0;} + }*/ } #infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget span { display: none; @@ -264,6 +276,7 @@ tr.dialogOperators td, -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; + background-color: #189800; } #infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget img:active { /*.background_color_30_gray;*/ @@ -279,30 +292,6 @@ tr.dialogOperators td, #infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget img:last-child { margin-right: 5px; } -#infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget:hover { - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.6); - background-color: rgba(12, 93, 165, 0.8) !important; - -webkit-border-radius: 3px; - -webkit-border-top-left-radius: 10px; - -moz-border-radius: 3px; - -moz-border-radius-topleft: 10px; - border-radius: 3px; - border-top-left-radius: 10px; - height: 20px; - /*Text*/ - /*img {.scale; margin: 0 5px; background: @gray_0;}*/ -} -#infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget:hover:before { - content: ""; - font-size: 1em; - padding-left: 5px; -} -#infolog-index #infolog-index_nm #infolog-index_infolog-index-header_right div.et2_box_widget:hover span { - visibility: hidden; - display: none; -} #infolog-index #infolog-index_nm table.egwGridView_outer thead tr th.optcol .selectcols { margin-top: 1.5%; } diff --git a/infolog/templates/pixelegg/app.less b/infolog/templates/pixelegg/app.less index ec903f5908..9d7c80e2a2 100755 --- a/infolog/templates/pixelegg/app.less +++ b/infolog/templates/pixelegg/app.less @@ -150,17 +150,17 @@ div.et2_box_widget{ transition: all 0.5s linear; -webkit-transition: all 0.5s linear; /* Safari */ - &:before { +/* &:before { content: "+"; font-size: 20px; color: @egw_color_1_a; line-height: 1px; position: relative; top: 2px; - text-shadow: 1px 1px 2px #000; + text-shadow: 1px 1px 2px #000;*/ /*.Complete_Button_Icon_normal;*/ /*.dimension_width_height_sm;*/ - } + /*}*/ /*Text ""hinzufügen" "*/ span {display: none;} @@ -177,9 +177,9 @@ div.et2_box_widget{ vertical-align: middle; - &:hover{.Complete_Button_Icon_hover ;} + &:hover{.Complete_Button_Icon_hover ; background-color: @color_positive_action;} - &:active { .Complete_Button_Icon_active ;} + &:active { .Complete_Button_Icon_active ; background-color: @color_positive_action_active;} } img:last-child {margin-right: 5px;}; @@ -187,7 +187,7 @@ div.et2_box_widget{ /*MouseOver*/ - &:hover { +/* &:hover { .box_shadow_standard_light_hover; background-color: fade(@egw_color_2_a, 80%) !important; .border_radius_button_lefttop; @@ -195,10 +195,10 @@ div.et2_box_widget{ &:before {content: ""; font-size: 1em;padding-left: 5px;} - /*Text*/ + Text span {visibility: hidden; display: none;}; - /*img {.scale; margin: 0 5px; background: @gray_0;}*/ - } + img {.scale; margin: 0 5px; background: @gray_0;} + }*/ } }// END BOX WIDGET