From b0ec6dc0a2f67af280a9e2683ac62fd17d6f13a4 Mon Sep 17 00:00:00 2001 From: Stefan Reinhardt Date: Mon, 28 Apr 2014 14:45:30 +0000 Subject: [PATCH] filemanager - less et2_file - background image and size --- filemanager/templates/pixelegg/app.css | 11 ++++++++++- filemanager/templates/pixelegg/app.less | 16 +++++++++++----- 2 files changed, 21 insertions(+), 6 deletions(-) diff --git a/filemanager/templates/pixelegg/app.css b/filemanager/templates/pixelegg/app.css index 1fbc7cc93e..0e10903e3e 100755 --- a/filemanager/templates/pixelegg/app.css +++ b/filemanager/templates/pixelegg/app.css @@ -203,7 +203,10 @@ div.filemanager_navigation > label > input { width: 95%; } #filemanager-index .et2_file { - /*background-color: @egw_color_2_a;*/ + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + border-radius: 3px; + border: none; } #filemanager-index .et2_file input#filemanager-index_upload { color: #ffffff; @@ -225,6 +228,12 @@ div.filemanager_navigation > label > input { #filemanager-index .et2_file input#filemanager-index_upload:active { background-color: #1aa200 !important; } +#filemanager-index .et2_file .et2_file_span { + background-size: 20px 20px; + padding: 3px 5px 3px 10px; + height: 16px; + border: 2px solid transparent; +} #filemanager-index .et2_file div.progress { z-index: 1; } diff --git a/filemanager/templates/pixelegg/app.less b/filemanager/templates/pixelegg/app.less index 642779a3a0..2fb715dbf5 100644 --- a/filemanager/templates/pixelegg/app.less +++ b/filemanager/templates/pixelegg/app.less @@ -108,14 +108,20 @@ div.filemanager_navigation > label > input { #filemanager-index{ .et2_file{ - /*background-color: @egw_color_2_a;*/ + .rounded(3px); + border: none; + input#filemanager-index_upload { - color: @gray_0; - background-color: @egw_color_2_a; - &:hover {.Complete_Button_add_only_plus_hover;} - &:active {background-color: @color_positive_action_active !important;} + color: @gray_0; + background-color: @egw_color_2_a; + + &:hover {.Complete_Button_add_only_plus_hover;} + &:active {background-color: @color_positive_action_active !important;} } + + .et2_file_span {background-size: 20px 20px; padding: 3px 5px 3px 10px; height: 16px; border: 2px solid transparent;} + div.progress {z-index: 1;} }