egroupware_official/pixelegg/less/layout_table.less

259 lines
6.2 KiB
Plaintext
Raw Normal View History

2013-11-11 19:45:33 +01:00
/**
* EGroupware: Stylite Pixelegg template
*
* et2 table
*
* 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 Stefan Reinhard <stefan.reinhard@pixelegg.de>
* @package pixelegg
* @version $Id$
*/
2013-11-14 20:11:29 +01:00
@import "def_buttons.less";
2013-11-11 19:45:33 +01:00
/** #####################################################################################
* et2
* Tabellen
* ######################################################################################
*/
2013-11-25 04:16:41 +01:00
/* TABLE STYLE */
2013-11-11 19:45:33 +01:00
// Header der APP Tabellen
table.et2_grid {
2013-11-25 04:16:41 +01:00
/* border-top: 3px solid;
border-color: @gray-10;*/
// border-collapse: collapse;
// .background-color-0-gray;
// width: 100% !important;
// display: block;
2013-11-11 19:45:33 +01:00
}
2013-11-15 18:05:59 +01:00
.innerContainer{
2013-11-25 04:16:41 +01:00
overflow:hidden;
padding: 0.2em;
2013-11-15 18:05:59 +01:00
}
2013-11-11 19:45:33 +01:00
// Table Head in Listen
.egwGridView_grid tr.th > td, /*legacy*/
.nextmatch_header {
2013-11-25 04:16:41 +01:00
.background-color-15-gray;
font-weight: normal;
padding: 2px;
border-width: 0;
border-style: solid;
border-color: @gray-30;
border-left: 0px solid transparent;
border-top: 0px solid transparent;
border-right: 0px solid transparent;
border-bottom: 0px solid transparent;
background-image: none;
background-position: center;
background-repeat: repeat-x;
vertical-align: top;
2013-11-11 19:45:33 +01:00
}
.egwResizeOverlay{}
// Tabellenkopf
// Spalten mit Border
table.egwGridView_outer{
2013-11-25 04:16:41 +01:00
.background-color-5-gray;
// max-width: 100%;
border-spacing: 0px;
font-size: 0.9em;
thead {
.background-color-5-gray;
tr {
// .background-color-5-gray;
th {
.background-color-15-gray;
font-weight: normal;
padding: 2px;
border-width: 1px;
border-style: solid;
border-color: @gray-30;
border-left: 0px solid transparent;
border-top: 0px solid transparent;
border-right: 0px solid transparent;
border-bottom: 0px solid transparent;
background-image: none;
background-position: center;
background-repeat: repeat-x;
vertical-align: top;
&:hover {
.background-color-25-gray;
.color-0-gray;
// border-right: 5px solid white;
background-image: url(../images/hint-arrow-right.png);
background-position: right bottom;
background-repeat: no-repeat;
background-size: 15px 15px;
}
&:active {
.background-color-15-gray;
.box_shadow_standard_light_inset;
// border-left: 1px solid gray;
// border-top: 1px solid gray;
// border-right: 1px solid silver;
// border-bottom: 1px solid silver;
}
}
th.optcol {
padding: 0;
text-align: center;
background-image: none;
// width: 32px;
&:hover{
background-color: #d9d9d9;
}
.selectcols {
position: fixed;
// .Complete_Button_normal;
.Complete_Button_Icon_normal;
right: 5px;
border: 1px solid;
// background-color: yellow;
background-image: url(../images/selectcols_small.png);
background-position: center center;
background-repeat: no-repeat;
background-size: 9px 9px;
display: inline-block;
width: 10px;
height: 10px;
margin: 0;
padding: 0;
// vertical-align: middle;
&:hover{
.Complete_Button_Icon_hover;
background-image: url(../images/selectcols.png);
background-position: center center;
background-repeat: no-repeat;
background-size: 19px 19px;
display: inline-block;
width: 20px;
height: 20px;
}
}
}
}
}
tbody {
td.frame {
/*BUG*/
2013-11-27 08:20:56 +01:00
// div.egwGridView_scrollarea {min-height: 500px !important;}
2013-11-25 04:16:41 +01:00
}
2013-11-11 19:45:33 +01:00
}
2013-11-25 04:16:41 +01:00
}
2013-11-11 19:45:33 +01:00
// Tabelle der APP Ausgabe
table.egwGridView_grid{
2013-11-25 04:16:41 +01:00
// border-collapse:collapse;
font-size: 0.95em;
.background-color-0-gray;
border-spacing: 0px 1px;
width: 100%;
img{ width: 16px;}
tbody {
border-bottom: 1px solid @lightgray;
padding: 2px 3px 2px 4px;
margin: 0;
vertical-align: top;
// Listendarstellung
// Reihen ohne Border left und right
tr.selected{
.background_linear_gradient;
background: @color_selected_row !important;
}
// is active
tr.focused{
.background_linear_gradient;
background: @color_active_row !important;
}
}
tr {
border-bottom: 1px solid;
border-color: @gray-50;
2013-11-11 19:45:33 +01:00
2013-11-25 04:16:41 +01:00
// Hover State
&:hover {background: @color_hover_row !important;}
2013-11-11 19:45:33 +01:00
2013-11-25 04:16:41 +01:00
td {
border-left: 0px;
border-right: 0px;
2013-11-11 19:45:33 +01:00
2013-11-25 04:16:41 +01:00
padding: 0.3em 0 1em 0.3em;
2013-11-27 08:20:56 +01:00
border-bottom: 1px solid;
color: #bfbfbf;
2013-11-25 04:16:41 +01:00
/*&:hover {background-color: @egw_color_2_e;} legacy*/
2013-11-11 19:45:33 +01:00
2013-11-25 04:16:41 +01:00
&:active {
/*background-color: @egw_color_2_a;*/
.box_shadow_standard_light_inset;
.color-0-gray;
}
2013-11-11 19:45:33 +01:00
2013-11-25 04:16:41 +01:00
}
}
2013-11-11 19:45:33 +01:00
} // table
.nextmatch_header .selectcols {
2013-11-25 04:16:41 +01:00
background: none;
// height: auto;
2013-11-11 19:45:33 +01:00
}
//Reihen
.nextmatch_header tr {
2013-11-25 04:16:41 +01:00
background: none;
2013-11-11 19:45:33 +01:00
}
2013-11-25 04:16:41 +01:00
//
//