egroupware_official/filemanager/templates/mobile/app.css
nathan d8119802ed Fix filemanager tile view
- Button callback was skipping bits due to webcomponent change.
- Timing differences mean we really do need to set size in CSS now.
2022-05-09 10:04:00 -06:00

547 lines
14 KiB
CSS

/**
*
* Filemanager - Mobile
*
* Please do NOT change app.css directly, instead change app.less and compile it!
* Pixleegg Template app.css
* @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 Filemanager
* @version $Id: app.less 55033 2016-02-16 18:49:17Z hnategh $
*/
/**
* EGroupware: CSS with less preprocessor
*
* FILEMANAGER
*
* 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 filemanager
*/
/**
* EGroupware - CSS Styles used by filemanager app
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package etemplate
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker@outdoor-training.de>
* @version $Id$
*/
/**
* CSS for new eTemplate filemanager UI
*/
select#filemanager-index_filter {
width: 160px;
}
input#filemanager-index_path {
width: 300px;
font-size: 150%;
padding: 1px 5px 3px 2px;
}
#filemanager-index_filemanager-index-header_right .et2_hbox > *,
#filemanager-index_filemanager-index-header_row > *,
#filemanager-index_filemanager-index-header_left .et2_hbox > * {
float: left;
}
#filemanager-index_filemanager-index-header_left .et2_file,
#filemanager-index_filemanager-index-header_left .et2_file input {
width: 24px;
}
#filemanager-index_filemanager-index-header_left .et2_file span {
width: 22px;
height: 22px;
padding: 0;
background-position-x: 3px;
background-image: url(../../../pixelegg/images/add.svg);
overflow: hidden;
text-indent: 100px;
}
/**
* Tile view
*/
table.egwGridView_grid .tile .file_tile {
height: 100px;
width: 135px;
}
.egwGridView_grid .tile span.iconOverlayContainer {
display: block;
max-width: 140px;
}
.tile .file_tile img.vfsMimeIcon,
.tile .file_tile et2-vfs-mime > img {
height: auto;
width: auto;
max-height: 48px;
display: block;
margin: 0 auto;
}
.tile .file_tile .et2_label {
word-wrap: break-word;
}
.tile .file_tile {
position: relative;
}
.tile .file_tile[data-mime^="image"] .et2_label {
display: none;
}
.tile .file_tile[data-mime^="image"]:hover .et2_label {
display: block;
position: absolute;
top: 10px;
color: white;
text-shadow: 2px 2px 8px black;
width: 100%;
}
.tile .file_tile[data-mime^="image"]:hover .et2_label[id*=comment] {
top: 30px;
}
#filemanager-index_nm .file_tile[data-mime^="image"] img.vfsMimeIcon,
#filemanager-index_nm .file_tile[data-mime^="image"] et2-vfs-mime > img {
height: auto;
max-height: 100px;
}
/**
* Select file dialog
*/
.selectPath {
font-weight: bold;
width: 98%;
}
.selectName input {
width: 100%;
}
.selectMime select {
width: 100%;
}
.displayNone input,
input.displayNone {
display: none;
}
.selectFiles div {
overflow-y: auto;
}
#filemanager-select_dir {
height: 400px;
overflow-y: scroll;
display: inline-block;
}
/**
* VFS mounts and versioning
*/
.filemanager_smallButton {
font-size: 90%;
margin: 0;
}
.filemanager_password > input {
min-width: 0 !important;
}
div.filemanager_protocols > *:before {
content: "• ";
}
.filemanager_header {
font-size: 120%;
font-weight: bold;
}
.filemanager_config > * {
margin-top: 20px;
}
.error {
color: red;
font-style: italic;
}
.createDir img {
padding-right: 30px;
}
#filemanager-select_apps {
width: 61px;
height: 400px;
margin-top: 44px;
display: inline-block;
overflow-y: scroll;
}
.mimeIcon {
width: 65px;
}
.previewImage {
width: 100%;
}
#filemanager-editor_file_path {
font-size: 11pt;
display: inline-block;
margin-top: 5px;
margin-left: 10px;
}
#filemanager-editor_odfEditor {
position: absolute;
height: calc(100% - 50px) !important;
width: 100% !important;
top: 50px;
left: 0px;
bottom: 0px;
right: 0px;
padding: 0px !important;
}
#filemanager-editor_odfEditor .webodfeditor-editor.dijitContentPane {
box-shadow: none;
left: 0px !important;
top: 0px !important;
}
#filemanager-editor {
overflow: hidden;
}
/* collab editor styling*/
div.webodfeditor-members {
background-color: white !important;
}
div.webodfeditor-memberList .webodfeditor-memberListButton {
border: none !important;
background-color: transparent !important;
box-shadow: none !important;
}
div.webodfeditor-memberList .webodfeditor-memberListButton img {
border-radius: 50%;
box-shadow: none;
}
div.webodfeditor-memberList .webodfeditor-memberListLabel {
color: #1E1E1E;
}
div.webodf-caretOverlay div.handle {
width: 68px;
border-radius: 50%;
}
div.webodf-caretOverlay div.handle > img {
border-radius: 50%;
}
div.editInfoMarker {
width: 5px;
border-radius: none;
}
#filemanager-index_nm .et2_file div.progress {
position: absolute;
}
#filemanager-index_new_wrapper {
float: left;
margin-right: 6px;
}
#filemanager-index_new_wrapper .ui-icon-triangle-1-s {
background-position: 0px -192px;
}
button#filemanager-index_new img {
display: none;
}
/*/*****************************************************************
// sidebar
*/
/*//******************************************************************
// iframe*/
table.egwGridView_grid img {
/*filter grey*/
filter: none;
-webkit-filter: initial;
-moz-filter: initial;
-ms-filter: initial;
-o-filter: initial;
/*filter: url(grayscale.svg); Firefox 4+ */
filter: initial;
/* IE 6-9 */
}
/*// #####################################################*/
/*Dialog filemanager*/
#filemanager-select .dialogHeader .et2_button_icon {
margin: 4px 4px 0 4px;
border-top: solid 1px #FFFFFF;
border-left: solid 1px #FFFFFF;
border-right: solid 1px #FFFFFF;
border-bottom: solid 1px #FFFFFF;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
background-color: #FFFFFF;
height: auto;
width: 24px;
}
#filemanager-select #filemanager-select_apps {
background-color: #d9d9d9;
}
#filemanager-select #filemanager-select_apps .et2_button_icon {
height: auto;
width: 24px;
padding: 10px;
}
#filemanager-select table#filemanager-select_dir {
border: 1px solid rgba(0, 0, 0, 0.15);
}
#filemanager-select table#filemanager-select_dir tr:nth-child(even) {
background: #FFFFFF;
}
#filemanager-select table#filemanager-select_dir tr:nth-child(odd) {
background: #f2f2f2;
}
/*// #####################################################*/
/*Dialog filemanager edit POPUP WINDOW*/
div#filemanager-file_tabs {
/*eacl*/
/*Abonements*/
}
div#filemanager-file_tabs span.ui-icon-search {
/*.background_color_10_gray;*/
-webkit-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
-moz-box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.5);
border: 1px solid rgba(0, 0, 0, 0.15);
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
position: relative;
top: 3px;
margin-left: 3px;
background-position: 3px;
}
div#filemanager-file_tabs #filemanager-file_filemanager-file-eacl {
/*Owner*/
}
div#filemanager-file_tabs #filemanager-file_filemanager-file-eacl td.filemanager-file_filemanager-file-eaclowner span {
display: flex;
margin-right: 1px;
}
div#filemanager-file_tabs #filemanager-file_filemanager-file-eacl td.filemanager-file_filemanager-file-eaclowner span.ui-icon-search {
position: relative;
top: 15px;
margin-left: -3px;
margin-right: 3px;
}
div#filemanager-file_tabs td.eaclAccount {
width: 200px;
}
/*// #####################################################*/
/*Dialog filemanager upload POPUP WINDOW*/
div#stylite-filemanager-upload {
margin: 0.5em;
}
div#stylite-filemanager-upload .et2_file {
height: 24px;
}
div#stylite-filemanager-upload .et2_file input {
color: #FFFFFF;
width: 250px;
background-color: #0C5DA5;
}
div#stylite-filemanager-upload .et2_file input:hover {
background-color: #ace29e !important;
color: #ffc200;
-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);
-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;
}
div#stylite-filemanager-upload .et2_file input:active {
background-color: #b3e4a6 !important;
}
div#stylite-filemanager-upload .et2_file div.progress {
width: 0px;
}
div#stylite-filemanager-upload .th {
background: none;
}
div#stylite-filemanager-upload .dialogFooterToolbar button {
/*.border_normal;*/
/*.box_shadow_standard_light;*/
/*.rounded (3px);*/
color: #000000;
-webkit-appearance: none;
-webkit-transition-property: background-color;
-moz-transition-property: background-color;
-o-transition-property: background-color;
transition-property: background-color;
-webkit-transition-duration: 0.5s;
-moz-transition-duration: 0.5s;
-o-transition-duration: 0.5s;
transition-duration: 0.5s;
-webkit-transition-timing-function: linear;
-moz-transition-timing-function: linear;
-o-transition-timing-function: linear;
transition-timing-function: linear;
background-color: #E6E6E6;
padding-left: 30px;
background-position: 6px center;
background-repeat: no-repeat;
background-size: 20px auto;
/*.Button_size_h32_auto;*/
height: 24px;
}
div#stylite-filemanager-upload .dialogFooterToolbar button:hover {
background-color: #ffdb7a !important;
color: #000000;
-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);
}
div#stylite-filemanager-upload .dialogFooterToolbar button:active {
background-color: #fff0c7 !important;
color: #000000;
-webkit-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
-moz-box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
box-shadow: inset 1px 2px 1px rgba(0, 0, 0, 0.5);
}
#filemanager-index_new_wrapper .ui-icon-triangle-1-s {
background-image: url(../../../pixelegg/images/add.svg);
background-size: 12px;
background-repeat: no-repeat;
background-position: center;
}
/* tablets and smartphones */
@media all {
#filemanager-index_nm table.egwGridView_outer tbody span[id^='filemanager-index'][id$='size]'] {
font-size: 10pt;
text-align: right;
}
#filemanager-index_nm table.egwGridView_outer tbody label[id^='filemanager-index'][id$='name]'] {
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
}
#filemanager-index_nm table.egwGridView_outer tbody label[id^='filemanager-index'][id$='name]'] span {
font-size: 12pt;
white-space: nowrap;
}
#filemanager-index_nm table.egwGridView_outer tbody span[id^='filemanager-index'][id$='comment]'] {
font-size: 10pt;
}
#filemanager-index_nm table.egwGridView_outer tbody label[id^='filemanager-index'][id$='mtime]'] time {
font-size: 10pt;
}
#filemanager-index_nm .buttons {
position: relative;
display: inline-block;
overflow: auto;
width: 100%;
padding-top: 5px;
height: auto;
}
#filemanager-index_nm .buttons img {
width: 24px;
height: 24px;
padding-left: 15px;
}
#filemanager-index_nm #filemanager-index_filemanager-index-header_right {
width: 100%;
}
#filemanager-index_nm #filemanager-index_tarp {
display: none !important;
}
#filemanager-index_nm #filemanager-index_filemanager-index-header_left {
height: auto;
}
#filemanager-index_nm .nextmatch_header.nm_header_hide {
display: inline-block !important;
}
#filemanager-index_nm .nextmatch_header.nm_header_hide .header_row_right,
#filemanager-index_nm .nextmatch_header.nm_header_hide .filtersContainer {
display: none;
}
#filemanager-index_nm .nextmatch_header .nextmatch_header_row {
padding-bottom: 0px;
}
#filemanager-index_nm .nextmatch_header .filemanager_navigation {
height: auto;
}
#filemanager-index_nm .nextmatch_header .filemanager_navigation #filemanager-index_path {
height: 50px;
width: calc(100% - 90px);
display: inline-block;
border: none;
background: white;
}
#filemanager-index_nm .nextmatch_header .filemanager_navigation #filemanager-index_path:focus {
outline: none;
}
#filemanager-index_nm .nextmatch_header .filemanager_navigation #filemanager-index_up {
width: 24px;
height: 100%;
margin-left: 22px;
margin-right: 22px;
}
#filemanager-index_nm .nextmatch_header div.filtersContainer {
margin-top: 0px;
border-bottom: 1px solid silver;
}
#filemanager-index_nm .nextmatch_header #filemanager-index_new_wrapper {
float: none;
width: 100%;
margin: 0;
padding-top: 5px;
}
#filemanager-index_nm .nextmatch_header #filemanager-index_new_wrapper .et2_dropdown {
float: none;
width: 100%;
}
#filemanager-index_nm .nextmatch_header #filemanager-index_new_wrapper .et2_dropdown button {
width: 50px;
margin: 0;
border-radius: 0;
}
#filemanager-index_nm .nextmatch_header #filemanager-index_new_wrapper .et2_dropdown button div {
float: none;
}
#filemanager-index_nm .nextmatch_header #filemanager-index_new_wrapper .et2_dropdown #filemanager-index_new {
width: calc(100% - 50px);
}
#filemanager-index_nm select#filemanager-index_filter {
width: 100%;
}
#filemanager-index_nm .nextmatch_header_row div.header_row_right {
height: auto;
position: relative !important;
}
#filemanager-index_filemanager-index-header_left .et2_file.plus_button {
position: fixed !important;
right: 15px;
bottom: 15px;
border-radius: 50%;
width: 60px !important;
height: 60px !important;
background-position: center;
z-index: 100;
background-image: url(../../../pixelegg/images/topmenu_items/mobile/plus_white.svg) !important;
background-repeat: no-repeat;
background-size: 24px 24px;
margin: 0;
padding: 0;
border: none;
}
#filemanager-index_filemanager-index-header_left .et2_file.plus_button .et2_file_span {
width: 50px;
height: 50px;
border: none;
background: none;
}
#filemanager-index_filemanager-index-header_left .et2_file.plus_button .et2_file_upload {
width: 60px;
height: 60px;
top: 0;
}
#filemanager-index_filemanager-index-header_left .et2_file.plus_button div.progress {
position: fixed;
left: 0;
top: 0px;
width: 93%;
}
.previewImage img {
max-width: 100%;
}
div#filemanager-file_tabs td.eaclAccount,
td.eaclRights {
display: block;
}
}