mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
0795511fca
- Replace pixelegg theme with modern and make it default
811 lines
17 KiB
Plaintext
811 lines
17 KiB
Plaintext
/**
|
|
* EGroupware: Stylite Pixelegg template - mobile theme
|
|
*
|
|
* Please do NOT change css-files directly, instead change less-files and compile them!
|
|
*
|
|
* @link http://www.egroupware.org
|
|
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
|
|
* @author Hadi Nategh <hn@stylite.de>
|
|
* @package pixelegg
|
|
* @version $Id$
|
|
*/
|
|
|
|
@import "monochrome.less";
|
|
@import (reference) "../less/def_mobile.less";
|
|
|
|
@keyframes fw-firstload {
|
|
0%, 20%, 50%, 80%, 100% {
|
|
transform:translateY(0);
|
|
-webkit-transform: translateY(0);
|
|
-moz-transform:translateY(0);
|
|
}
|
|
40% {
|
|
transform: translateY(-30px);
|
|
-webkit-transform: translateY(-30px);
|
|
-moz-transform: translateY(-30px);
|
|
}
|
|
60% {
|
|
transform: translateY(-15px);
|
|
-webkit-transform: translateY(-15px);
|
|
-moz-transform: translateY(-15px);
|
|
}
|
|
}
|
|
|
|
@media all {
|
|
body{
|
|
|
|
background-color: transparent;
|
|
// iOS appHeader class
|
|
div.egw_fw_mobile_iOS_popup_appHeader{
|
|
padding-top:15px;
|
|
}
|
|
div.egw_fw_mobile_popup_appHeader {
|
|
display: block !important;
|
|
height: 32px !important;
|
|
background-size : 2px;
|
|
font-size: 150% !important;
|
|
border-bottom: 3px solid #679fd2 !important;
|
|
border-top: none !important;
|
|
width: 100%;
|
|
line-height: 32px !important;
|
|
|
|
}
|
|
|
|
#egw_fw_firstload {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
.background_color_egw_dark;
|
|
height: 100%;
|
|
width: 100%;
|
|
&:before{
|
|
content:"";
|
|
display: inline-block;
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url(../../api/templates/default/images/logo64x64.png);
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: 64px;
|
|
-webkit-animation: fw-firstload 2s infinite;
|
|
animation: fw-firstload 2s infinite;
|
|
-moz-animation: fw-firstload 2s infinite;
|
|
}
|
|
}
|
|
|
|
//###################
|
|
//# #
|
|
//# Grid & NM #
|
|
//# #
|
|
//###################
|
|
table.egwGridView_outer{
|
|
thead{
|
|
tr{
|
|
th{
|
|
font-size: small !important;
|
|
}
|
|
}
|
|
}
|
|
tbody{
|
|
tr{
|
|
touch-action:initial;
|
|
td time, td.et2_date , td.et2_date_ro{
|
|
float: right;
|
|
.mob-fontsize-s;
|
|
}
|
|
td {
|
|
position: relative;
|
|
.mobile_cat_col {
|
|
position: absolute;
|
|
min-height: 100%;
|
|
bottom:0;
|
|
top:0;
|
|
width:10px;
|
|
display: block;
|
|
|
|
}
|
|
span.cat_.mobile_cat_col {
|
|
background: #F5F5F5;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
/*BOF close/back button styling*/
|
|
span.egw_fw_mobile_popup_close {
|
|
width: 50px;
|
|
height: 50px;
|
|
float:left;
|
|
background-image: url('../images/cancelled.png');/*url(../images/topmenu_items/mobile/menu_active.png);*/
|
|
-webkit-filter: contrast(2);
|
|
background-repeat: no-repeat;
|
|
z-index: 1000;
|
|
padding-right: 5px;
|
|
top:1px;
|
|
left: 15px;
|
|
background-position: 3px 7px;
|
|
position: fixed;
|
|
}
|
|
|
|
/*EOF close/back button styling*/
|
|
|
|
#egw_fw_basecontainer{
|
|
background:white;
|
|
|
|
#egw_fw_main {
|
|
margin-top:15px;
|
|
#egw_fw_tabs {
|
|
margin-top:-3px;
|
|
}
|
|
}
|
|
//###################
|
|
//# #
|
|
//# TOOLBAR #
|
|
//# #
|
|
//###################
|
|
#egw_fw_top_toolbar{
|
|
width:300px;
|
|
position:absolute;
|
|
.egw_fw_logout {
|
|
display:inline-block;
|
|
margin-left:60px;
|
|
a#topmenu_logout{
|
|
background-image: url(../images/logout.png);
|
|
background-repeat: no-repeat;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-size: 24px 24px;
|
|
display: inline-block;
|
|
background-position: center;
|
|
}
|
|
}
|
|
#egwpopup_fw_notifications {
|
|
|
|
}
|
|
#egw_fw_appsToggle {display: none;}
|
|
div.egw_fw_ui_tabs_header{
|
|
max-height: 60px;
|
|
width: 60%;
|
|
margin-left: 0;
|
|
overflow-x: scroll;
|
|
position: initial;
|
|
white-space: nowrap;
|
|
position: absolute;
|
|
left: 83%;
|
|
top: 15px;
|
|
height: 50px;
|
|
span{
|
|
margin:0;
|
|
overflow: visible;
|
|
height:38px;
|
|
width:50px;
|
|
border-width: 1px 1px 1px 1px;
|
|
border:none;
|
|
border-radius: 10px;
|
|
|
|
img{
|
|
height:32px !important;
|
|
width:32px !important;
|
|
}
|
|
h1{
|
|
display:none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
.egw_fw_top_toolbar>div:hover{
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
|
|
|
|
//FW Menu
|
|
div#egw_fw_menu{
|
|
background-image: url(../images/topmenu_items/mobile/menu_active.png);
|
|
cursor: pointer;
|
|
position: fixed;
|
|
width: 50px;
|
|
height: 50px;
|
|
background-size: 24px 24px;
|
|
background-repeat: no-repeat;
|
|
z-index: 999;
|
|
background-position:center;
|
|
margin-left:10px;
|
|
&:hover {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
&:focus {
|
|
outline: none;
|
|
}
|
|
}
|
|
div#egw_fw_menu:active {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
div#egw_fw_topmenu_items{
|
|
width: 100%;
|
|
display: block;
|
|
padding-top:10px;
|
|
ul{
|
|
|
|
display:inline-block;
|
|
padding:0;
|
|
margin:0;
|
|
list-style-type: none;
|
|
width:100%;
|
|
backgroud-color:white;
|
|
li{
|
|
display: -webkit-inline-box;
|
|
display: -moz-inline-box;
|
|
display: block;
|
|
padding:2px;
|
|
margin-left:20px;
|
|
width:90%;
|
|
&:hover {
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
box-shadow: none;
|
|
}
|
|
a {
|
|
background-position: left;
|
|
padding-left: 3em;
|
|
color: #636363;;
|
|
font-size: 14px;
|
|
line-height: 30px;
|
|
text-decoration: none;
|
|
width:100%;
|
|
background-repeat: no-repeat;
|
|
background-size: 24px 24px;
|
|
display: inline-block;
|
|
}
|
|
}
|
|
a#topmenu_home, a#topmenu_logout {display: none;}
|
|
a#topmenu_home {
|
|
background-image: url(../images/topmenu_items/mobile/home.png);
|
|
display: none;
|
|
}
|
|
a#topmenu_prefs {
|
|
background-image: url(../images/topmenu_items/mobile/setup.png);
|
|
}
|
|
a#topmenu_acl {
|
|
background-image: url(../images/topmenu_items/mobile/access.png);
|
|
}
|
|
a#topmenu_cats {
|
|
background-image: url(../images/topmenu_items/mobile/category.png);
|
|
}
|
|
a#topmenu_password {
|
|
background-image: url(../images/topmenu_items/mobile/password.png);
|
|
}
|
|
a#topmenu_search{
|
|
background-image: url(../images/topmenu_items/mobile/search.png);
|
|
}
|
|
}
|
|
}
|
|
#egw_fw_userinfo {
|
|
height:50px;
|
|
z-index:1000;
|
|
display: inline-block;
|
|
float:right;
|
|
span.avatar {
|
|
display: inline-block;
|
|
float:left;
|
|
height: 35px;
|
|
width: 35px;
|
|
margin: 7px;
|
|
cursor: pointer;
|
|
img {width:35px}
|
|
}
|
|
span.user {
|
|
display: inline-block;
|
|
height: 50px;
|
|
margin-left: 8px;
|
|
font-size: 12pt;
|
|
overflow: hidden;
|
|
max-width: 225px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
margin-top:17px;
|
|
}
|
|
}
|
|
|
|
}//End of toolbar
|
|
|
|
// ######################tabs header ##########################
|
|
// # # # # # # # # # ####
|
|
// # # # # # # # # # ####
|
|
// # tab header # # # # # # # ####
|
|
// # # # # # # # # # ####
|
|
// ############################################################
|
|
// Div Tabs
|
|
|
|
.egw_fw_ui_tabs_header {
|
|
margin: 0px 0 0 0;
|
|
padding: 1px 1px 0px 0px;
|
|
background-position: bottom;
|
|
background-repeat: repeat-x;
|
|
background-color: transparent;
|
|
height: 34px;
|
|
|
|
h1 {
|
|
display: inline;
|
|
width: 100%;
|
|
text-align: center;
|
|
-webkit-margin-before: 0;
|
|
-webkit-margin-after: 0;
|
|
}
|
|
|
|
img{
|
|
text-align:center;
|
|
float: none;
|
|
margin: 0 auto;
|
|
.dimension_width_height_l;
|
|
}
|
|
|
|
// Tab
|
|
// ##########
|
|
// # #
|
|
// # #
|
|
// ##########
|
|
// Inactive
|
|
|
|
|
|
|
|
.egw_fw_ui_tab_header {
|
|
padding-left: 0;
|
|
position: relative;
|
|
background: transparent;
|
|
display: inline-block;
|
|
overflow: hidden;
|
|
white-space: nowrap;
|
|
text-overflow: ellipsis;
|
|
margin: 0px 5px 0px 0px;
|
|
padding: 2px 5px 7px 2px;
|
|
cursor: pointer;
|
|
background-repeat:repeat-x;
|
|
height: 38px;
|
|
width: 97%;
|
|
&:hover {
|
|
background-color: none !important;
|
|
}
|
|
&:active {
|
|
-webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
|
|
-moz-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
|
|
box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.6);
|
|
}
|
|
// APP Name
|
|
h1 {
|
|
.fontsize_xl;
|
|
line-height: 1em;
|
|
margin:0 15px 2px 2px;
|
|
vertical-align: super;
|
|
padding-left: 25px;
|
|
}
|
|
|
|
// Images
|
|
img.egw_fw_ui_tab_icon {
|
|
display: inline-block;
|
|
.dimension_width_height_l;
|
|
margin: 5px 1px 0 1em;
|
|
|
|
.img_filter_gray;
|
|
}
|
|
|
|
// FOR SVG IMG
|
|
object {
|
|
.dimension_width_height_l;
|
|
margin: 8px 1px 0 5px;
|
|
.border_radius(5px,0, 0, 5px);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
// ##########
|
|
// # #
|
|
// # #
|
|
// ##########
|
|
/*Active Tabs*/
|
|
.egw_fw_ui_tab_header_active {
|
|
border-width: 1px 1px 0px 1px !important;
|
|
.background_color_egw_light;
|
|
&:hover {.background_color_egw_light ;}
|
|
|
|
|
|
// Active image
|
|
img.egw_fw_ui_tab_icon {
|
|
display: inline-block;
|
|
.dimension_width_height_l;
|
|
-webkit-filter: contrast(2);
|
|
-ms-filter:contrast(2);
|
|
-moz-filter:contrast(2);
|
|
-o-filter:contrast(2);
|
|
}
|
|
/*Active object*/
|
|
object {
|
|
.dimension_width_height_l;
|
|
margin: 0px 1px 0 5px;
|
|
.border_radius(2px,0, 0, 2px);
|
|
|
|
background-color: @gray_30;
|
|
}
|
|
}
|
|
}
|
|
//###################
|
|
//# #
|
|
//# SIDEBAR #
|
|
//# #
|
|
//###################
|
|
#egw_fw_sidebar.avatarSubmenu {top:203px;}
|
|
#egw_fw_sidebar{
|
|
top: 55px;
|
|
bottom: 5px;
|
|
//SIDE AREA
|
|
#egw_fw_sidemenu {
|
|
position: absolute;
|
|
top: 0px;
|
|
bottom: 4px;
|
|
left: 0;
|
|
right: 0;
|
|
overflow-y: auto;
|
|
-webkit-overflow-scrolling:touch;
|
|
z-index: 0;
|
|
padding-top: 0.6em;
|
|
font-size: 0.9em;
|
|
background-color:white;
|
|
.egw_fw_ui_sidemenu_entry_apps {
|
|
.egw_fw_ui_sidemenu_entry_header
|
|
{
|
|
margin:0px 5px 0px 2px;
|
|
padding: 4px 10px 0 16px;
|
|
overflow: visible;
|
|
height:38px;
|
|
border:none;
|
|
img{
|
|
height:32px !important;
|
|
width:32px !important;
|
|
}
|
|
display: block;
|
|
|
|
&:hover {
|
|
.background_color_15_gray;
|
|
.rounded(0px);
|
|
}
|
|
|
|
&:active {.box_shadow_standard_light_inset;}
|
|
|
|
h1 {
|
|
margin: 0 0 10px 0;
|
|
padding-top: 0.31em;
|
|
padding-left: 3em;
|
|
.color_40_gray;
|
|
.fontsize_xl;
|
|
line-height: 17px;
|
|
}
|
|
|
|
object {background-color: @gray_0; .dimension_width_height_m;}
|
|
}
|
|
}
|
|
|
|
.egw_fw_ui_sidemenu_entry_header_active {
|
|
//
|
|
cursor: pointer;
|
|
background-image: url("../images/clear.png");
|
|
background-position: 95% -3000px;
|
|
background-repeat: no-repeat;
|
|
|
|
.background_color_10_gray;
|
|
.bordered (@gray_30, @gray_30, @gray_30, @gray_30);
|
|
|
|
margin: 0 0 0 0;
|
|
border-bottom: none;
|
|
height: 33px;
|
|
|
|
|
|
img {padding-left: 9px; padding-top: 6px; height: 18px;}
|
|
|
|
h1 {text-transform: uppercase; font-size: 12px; .color_100_gray; padding-top: 4px;padding-left:32px;}
|
|
|
|
&:hover {.box_shadow_standard_light_hover; border-radius: 0;}
|
|
&:active {.box_shadow_standard_light_active; border-radius: 0;}
|
|
|
|
&:focus {
|
|
background-image: url("../images/ajax-loader.gif");
|
|
background-repeat: no-repeat;
|
|
background-position: 90% 50%;
|
|
.Complete_Button_active;
|
|
|
|
.background_color_25_gray;
|
|
}
|
|
|
|
object {
|
|
margin-left: 14px;
|
|
margin-top: 8px;
|
|
.rounded (3px);
|
|
.dimension_width_height_s;
|
|
}
|
|
|
|
.egw_fw_ui_ajaxloader {margin-top: -26px;}
|
|
|
|
}
|
|
|
|
.egw_fw_ui_sidemenu_entry_content {
|
|
display: block;
|
|
background-image: none;
|
|
.border_radius (0, 0, 0px, 0);
|
|
border-color: @gray_30;
|
|
border-style: solid;
|
|
border-width: 0px;
|
|
margin: 0 0 2em 0;
|
|
background-color:white;
|
|
|
|
// rounded Corner on bottom
|
|
&:nth-last-of-type(-n+3) {
|
|
border-bottom: 1px solid @gray_30;
|
|
}
|
|
|
|
& > div {background: none !important;}
|
|
|
|
//###################################################
|
|
// has round corners
|
|
div.egw_fw_ui_category:nth-last-of-type(-n+3) {
|
|
border-bottom: 1px solid @gray_30;
|
|
}
|
|
|
|
//###################################################
|
|
// Normal
|
|
.egw_fw_ui_category {
|
|
margin: 4px 5px 5px 5px;
|
|
padding: 0.5em 1em 0.5em 0;
|
|
cursor: pointer;
|
|
// border-top: 7px solid;
|
|
border-color: @gray_30;
|
|
background-color: @gray_10;
|
|
|
|
.border_radius(3px,3px,3px,3px);
|
|
|
|
h1 {
|
|
margin: 5px 0px 3px 5px;
|
|
padding: 0px 0px 0px 15px;
|
|
line-height: 1em;
|
|
.fontsize_l;
|
|
background-image:url(../images/arrow_left.png);
|
|
background-repeat:no-repeat;
|
|
background-position:left center;
|
|
}
|
|
|
|
div.egw_fw_ui_category:nth-last-of-type(-n+3) {
|
|
img.egw_fw_ui_sidemenu_listitem_icon {
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
|
|
div.egw_fw_ui_category_content {
|
|
border-radius: 0;
|
|
font-size: 12px;
|
|
.sidebox-favorites {
|
|
ul.favorites {
|
|
li.ui-menu-item {
|
|
min-height: 18px;
|
|
padding-top:9px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
max-width: 100%;
|
|
overflow-x: hidden;
|
|
a{
|
|
div.sideboxstar{padding-right: 13px;}
|
|
div.ui-icon-heart{padding-right:10px;}
|
|
img{padding-right:5px;}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
//#################################
|
|
// Hover
|
|
// on Mouse over change color
|
|
.egw_fw_ui_category:hover {
|
|
.background_color_40_gray;
|
|
padding: 0.5em 1em 0.5em 0;
|
|
}
|
|
|
|
|
|
|
|
/*######################*/
|
|
// Active State
|
|
// change Background color in Blue
|
|
// See all Elements
|
|
.egw_fw_ui_category_active {
|
|
border-bottom-width: 0px;
|
|
margin-top: 4px;
|
|
|
|
background-color: @egw_color_2_a;
|
|
|
|
.color_5_gray;
|
|
.border_radius(3px,3px,3px,3px) !important;
|
|
|
|
h1 {
|
|
background-image:url(../images/arrow_down.png);
|
|
line-height: 1em;
|
|
font-size: 12px;
|
|
|
|
a {
|
|
color: #FFF;
|
|
|
|
|
|
img {.dimension_width_height_s;}
|
|
|
|
&:hover {
|
|
padding: 5px 30px 5px 0px;
|
|
width: 200px;
|
|
.background_color_10_gray;
|
|
.color_50_gray;
|
|
.Complete_Button_hover;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
&:hover {background-color: @egw_color_2_d; .transition (0.2s, ease-out);}
|
|
}
|
|
}
|
|
|
|
.egw_fw_ui_sidemenu_entry_content_bottom {
|
|
border-width: 0px 1px 1px 1px;
|
|
}
|
|
.egw_fw_ui_sidemenu_entry_header_bottom {
|
|
|
|
}
|
|
|
|
.egw_fw_ui_sidemenu_entry_icon {
|
|
display: inline-block;
|
|
.dimension_height_m;
|
|
|
|
padding-left: 0;
|
|
padding-right: 0px;
|
|
float: left;
|
|
|
|
/*filter grey*/
|
|
.img_filter_gray;
|
|
}
|
|
} // SIDEMENU End
|
|
}//End of Sidebar
|
|
//ToggleClass
|
|
|
|
.sidebar-toggle{
|
|
#egw_fw_top_toolbar {
|
|
div#egw_fw_menu {background-image: url(../images/topmenu_items/mobile/menu.png);}
|
|
#egw_fw_userinfo, .egw_fw_logout, #egw_fw_appsToggle {display: none !important;}
|
|
}
|
|
#egw_fw_sidebar{
|
|
top: 70px;
|
|
#egw_fw_sidemenu{
|
|
width:82px !important;
|
|
.egw_fw_ui_sidemenu_entry_content{
|
|
display:none !important;
|
|
}
|
|
.egw_fw_ui_sidemenu_entry_header_active {
|
|
&:hover {
|
|
border-radius:0;
|
|
background-image: url("../images/ajax-loader.gif");
|
|
}
|
|
img{
|
|
padding:0;
|
|
}
|
|
}
|
|
.egw_fw_ui_sidemenu_entry_header{
|
|
margin:0px 5px 0px 2px;
|
|
padding: 4px 10px 0 16px;
|
|
overflow: visible;
|
|
height:38px;
|
|
width:50px;
|
|
border:none;
|
|
img{
|
|
height:32px !important;
|
|
width:32px !important;
|
|
}
|
|
h1{
|
|
display:none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
#egw_fw_topmenu_items {
|
|
display:none !important;
|
|
}
|
|
}
|
|
|
|
//###################################
|
|
//# #
|
|
//# FOOTER #
|
|
//# #
|
|
//###################################
|
|
#egw_fw_footer {
|
|
display:none;
|
|
}
|
|
|
|
//###################################
|
|
//# #
|
|
//# APP HEADER NAVIGATOR #
|
|
//# #
|
|
//###################################
|
|
.egw_fw_ui_app_header_container {
|
|
display:none;
|
|
}
|
|
|
|
.egw_fw_content_browser_div {
|
|
padding: 0;
|
|
background-color: white;
|
|
}
|
|
|
|
//###################################
|
|
//# #
|
|
//# POPUP FRAME #
|
|
//# #
|
|
//###################################
|
|
.egw_fw_mobile_popup_container{
|
|
width:100%;
|
|
height:100%;
|
|
position:absolute;
|
|
display: none;
|
|
z-index: 999;
|
|
background: rgba(192, 192, 192, 0.47);
|
|
.egw_fw_mobile_popupFrame {
|
|
width: 70%;
|
|
height: 70%;
|
|
visibility: hidden;
|
|
display: block;
|
|
background: #fff;
|
|
margin: 8% auto;
|
|
border: 1px solid silver;
|
|
}
|
|
|
|
}
|
|
//###################################
|
|
//# #
|
|
//# popup dialog headbar #
|
|
//# #
|
|
//###################################
|
|
.dialogHeadbar {
|
|
height: 50px;
|
|
box-shadow: 0px 4px 5px 2px silver;
|
|
position: fixed;
|
|
width: 100%;
|
|
background: #0c5da5;
|
|
top:0;
|
|
right:0;
|
|
z-index:1;
|
|
.et2_button_with_image, .et2_button_text {
|
|
height: 46px;
|
|
margin: 1px;
|
|
margin-left: 3px;
|
|
}
|
|
td {
|
|
margin-left:70px;
|
|
display: block;
|
|
}
|
|
}
|
|
|
|
//###################################
|
|
//# #
|
|
//# Mail App specific style #
|
|
//# #
|
|
//###################################
|
|
#mail-display {
|
|
min-height: initial !important;
|
|
.mailDisplayContainer {
|
|
top:140px;
|
|
}
|
|
}
|
|
}
|
|
}
|