egroupware/resources/templates/pixelegg/app.less
Hadi Nategh 216aaeac17 Mobile theme W.I.P.:
- Implement listview template for resources
2015-12-15 14:34:58 +00:00

95 lines
2.1 KiB
Plaintext
Executable File

/**
* EGroupware: CSS with less preprocessor
*
* Ressources
*
* Please do NOT change app.css directly, instead change app.less and compile it!
*
* @link http://www.egroupware.org
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @author Stefan Reinhardt <stefan.reinhardt@pixelegg.de>
* @package tracker
* @version $Id$
*/
@import (reference) "../../../pixelegg/less/def_buttons.less";
@import (reference) "../../../pixelegg/less/def_mobile.less";
@import (reference) "../../../pixelegg/less/def_design_pattern_color_font_shadow.less";
//******************************************************************
// sidebar
#egw_fw_sidebar #egw_fw_sidemenu .egw_fw_ui_scrollarea_outerdiv .egw_fw_ui_sidemenu_entry_header_active h1 {font-size: 1.15em !important;}
//**********************************
// main
#resources-show_favorite_wrapper {
top: -4px;
margin-right: 10px;
}
// hinzufügen
button#resources-show_add{
.Complete_Button_add_only_plus;
background-color: @egw_color_2_a;
&:hover {.Complete_Button_add_only_plus_hover;}
&:active {background-color: @color_positive_action_active !important;}
}
// main
// Dialog Resources bearbeiten und alle weiteren
//
#resources-edit_res_id:before {content:"#"}
div.resources_pictureFile div.progress{
position: absolute;
width:226px;
}
#resources-edit{
.et2_container {
width:848px;
}
margin: 0.5em;
}
/* tablets and smartphones */
@media only screen and (max-device-width:1024px) {
#resources-show {
table.egwGridView_outer tbody {
img[id^="resources-show_"][id$="picture_thumb]"]{
border: 1px solid silver;
border-radius: 50%;
}
div.resourcesCol2 {
.mob-fontsize-s;
}
span[id^="resources-show_"][id$="name]"]{
font-weight: bold;
}
span[id^="resources-show_"][id$="name]"],
span[id^="resources-show_"][id$="short_description]"],
span[id^="resources-show_"][id$="accessory_of_label]"],
span[id^="resources-show_"][id$="accessories]"]{
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
}
}
}