egroupware/preferences/templates/pixelegg/app.css
Hadi Nategh b379dffd51 WIP of new hint presentation for preferences:
- Fix misalignment of middle field
- Fix some of the tabs getting horizental scrollbar
2016-10-04 18:06:21 +02:00

227 lines
5.0 KiB
CSS
Executable File

/**
* EGroupware: CSS with less preprocessor
*
* PREFERENCES
*
* 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 preferences
* @version $Id$
*/
/**
* EGroupware - CSS Styles used by preferences app
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package preferences
* @link http://www.egroupware.org
* @author Ralf Becker <RalfBecker@outdoor-training.de>
* @version $Id$
*/
table.prefTable {
width: 100%;
position: relative;
}
table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn {
background-image: url(../../../api/templates/default/images/hint.png);
background-repeat: no-repeat;
background-position: center;
position: absolute;
height: 99%;
}
tr.prefRow {
position: relative;
}
tr.prefRow:hover {
background-color: #f0f0ff;
}
td.prefName {
width: 50%;
}
tr.prefRow > td {
vertical-align: bottom;
/* otherwise help will cover bigger prefValue */
}
/*.prefValueColumn {border-right:none !important;}*/
.prefHelpColumn {
border: none !important;
padding: 0 !important;
}
.prefHelp {
position: absolute;
display: none;
width: 255px;
max-height: 99%;
height: 98%;
background-color: #f0f0ff;
padding: 5px;
margin-top: -4px;
top: 0;
overflow-y: auto;
z-index: 1;
}
tr.prefRow:hover .prefHelp {
display: block;
z-index: 10;
/* FF: displays it under next prefName without */
}
.prefDefault,
.prefValue {
float: left;
display: inline-block;
}
.prefValue {
margin-right: 5px;
width: 49%;
}
.prefDefault {
float: right;
width: 48%;
}
.prefValue textarea,
textarea.prefValue {
width: 99%;
height: 5em;
}
.prefType,
.prefApp {
font-size: 150%;
margin-top: 10px;
margin-right: 5px;
}
.prefType {
width: 49%;
}
.prefApp {
width: 49.50%;
}
#preferences-password .dialogHeader td {
text-align: center;
}
/* arrange readonly selectbox background icon*/
.et2_selectbox.readonly.prefType {
padding-right: 50px;
}
/* #############################################################################
// iframe
// Rahmen + padding**/
/*############################################
# # #
# # #
# # #
# # #
# # #
# # #
# # #
# # iframge #
# # #
# # #
# # #
# # #
# # #
# # #
##############################################*/
/*app.css Stylite*/
table.prefTable {
width: 100%;
}
table.prefTable tbody tr.prefRow:first-child > .prefHelpColumn {
background-image: url(../../../pixelegg/images/dialog_info.png);
}
tr.prefRow {
position: relative;
}
td.prefName {
width: 50%;
}
tr.prefRow > td {
vertical-align: bottom;
/* otherwise help will cover bigger prefValue */
}
.prefHelp {
position: absolute;
display: none;
width: 250px;
max-height: 99%;
height: 97%;
padding: 5px;
margin-top: -4px;
top: 0;
z-index: 1;
border: 2px solid dimgrey;
border-radius: 5px;
}
.prefHelpColumn {
border-left: 1px solid #e6e6e6 !important;
}
tr.prefRow:hover .prefHelp {
display: block;
z-index: 10;
/* FF: displays it under next prefName without */
}
.prefDefault,
.prefValue {
float: left;
}
.prefValue {
margin-right: 5px;
}
.prefValue textarea,
textarea.prefValue {
width: 99%;
height: 5em;
}
.prefType,
.prefApp {
font-size: 150%;
display: inline-block;
padding-bottom: 5px;
}
.prefType,
.prefApp {
/*margin: 0.3em;*/
-webkit-appearance: button;
/*padding:10px;*/
}
/*Preferences APP / left */
.prefApp {
background-image: url(../pixelegg/images/setup.png);
background-repeat: no-repeat;
background-position: 90% 50%;
background-size: 16px 16px;
margin-right: 1em;
}
/*Preferences APP Settings / right*/
.prefType {
background-image: url(../pixelegg/images/setup.png);
background-repeat: no-repeat;
background-position: 90% 50%;
background-size: 16px 16px;
}
/*###############################*/
/*ADMIN DIALOG*/
#preferences-settings {
margin: -8px;
}
#preferences-settings .et2_tabs,
#preferences-settings table.egwGridView_grid tbody {
border-bottom: none !important;
}
#preferences-settings div.dialogHeader {
height: 50px;
}
#preferences-settings div.dialogHeader select#preferences-settings_appname {
min-width: 47%;
margin: 5px;
-webkit-appearance: button;
padding: 5px;
}
#preferences-settings div.dialogHeader select#preferences-settings_type {
margin: 5px;
min-width: 48%;
-webkit-appearance: button;
padding: 5px;
}