2013-05-22 22:13:12 +02:00
|
|
|
/**
|
|
|
|
* Home CSS
|
|
|
|
*/
|
|
|
|
|
2014-11-19 00:46:58 +01:00
|
|
|
/**
|
|
|
|
* Basic layout and structural CSS
|
|
|
|
*/
|
2014-11-06 22:40:03 +01:00
|
|
|
#home-index_home-index {
|
|
|
|
height:100%;
|
|
|
|
}
|
|
|
|
#home-index_portlets {
|
|
|
|
background-color: inherit;
|
|
|
|
}
|
2013-05-22 22:13:12 +02:00
|
|
|
#portlets {
|
|
|
|
border: 1px solid silver;
|
|
|
|
width: 100%;
|
|
|
|
min-width: 100px;
|
|
|
|
min-height: 100px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.home .et2_portlet > .ui-widget-header {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2014-11-19 00:46:58 +01:00
|
|
|
.et2_portlet.ui-widget-content > div {
|
|
|
|
|
2013-05-22 22:13:12 +02:00
|
|
|
}
|
2013-05-29 21:25:12 +02:00
|
|
|
.et2_portlet.ui-widget-content > div:last-of-type {
|
2014-11-12 00:07:35 +01:00
|
|
|
/* Allow space for header, as the whole portlet is sized by auto-generated css */
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0px;
|
|
|
|
top: 20px;
|
|
|
|
width: 100%;
|
2014-11-19 00:46:58 +01:00
|
|
|
overflow: hidden;
|
2014-11-12 00:07:35 +01:00
|
|
|
}
|
|
|
|
.et2_portlet .et2_container {
|
2013-05-29 21:25:12 +02:00
|
|
|
height: 100%;
|
|
|
|
}
|
2013-05-22 22:13:12 +02:00
|
|
|
|
|
|
|
/* Gridster */
|
|
|
|
#portlets {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
.home .et2_portlet {
|
|
|
|
position: absolute;
|
|
|
|
}
|
2014-11-12 00:07:35 +01:00
|
|
|
.home .et2_portlet.dragging {
|
|
|
|
z-index: 99;
|
|
|
|
}
|
|
|
|
.preview-holder {
|
2013-05-22 22:13:12 +02:00
|
|
|
margin: 5px;
|
|
|
|
list-style: none;
|
2014-11-12 00:07:35 +01:00
|
|
|
background: rgba(0,0,0,.3);
|
|
|
|
border: 1px solid silver;
|
2013-05-22 22:13:12 +02:00
|
|
|
position: absolute;
|
2014-11-17 19:47:47 +01:00
|
|
|
}
|
2014-11-19 00:46:58 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Portlet styling (cosmetic)
|
|
|
|
*/
|
|
|
|
.et2_portlet.ui-widget-content > div:last-of-type > div {
|
|
|
|
background: linear-gradient(to bottom, rgba(255,255,255,.9) 10%,rgba(255,255,255,.75) 90%) /* W3C */
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Single entry */
|
|
|
|
.et2_portlet.home_link_portlet > .ui-widget-header {
|
|
|
|
display: none;
|
|
|
|
position: relative;
|
|
|
|
top: -20px;
|
|
|
|
}
|
|
|
|
.et2_portlet.home_link_portlet:hover > .ui-widget-header {
|
|
|
|
display: block;
|
|
|
|
z-index: 90;
|
|
|
|
}
|
|
|
|
.et2_portlet.home_link_portlet.ui-widget-content > div:last-of-type {
|
|
|
|
top: 0px
|
|
|
|
}
|
|
|
|
.et2_portlet.home_link_portlet > div:last-of-type > div {
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
/* Thumbnail / icon */
|
|
|
|
.et2_portlet.home_link_portlet > div:last-of-type img:first-of-type {
|
|
|
|
float: left;
|
|
|
|
margin-right: 8px;
|
|
|
|
margin-bottom: 8px;
|
2014-11-25 01:45:14 +01:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
.et2_portlet.home_link_portlet > div:last-of-type img:first-of-type:not([src*="thumbnail.php"]) {
|
|
|
|
max-width: 32px;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
|
|
|
|
2014-11-25 01:45:14 +01:00
|
|
|
/* Favorite / nextmatch
|
|
|
|
* NB: No favorite sub-class added here, as they have an app-specific prefix
|
|
|
|
*/
|
2014-11-19 00:46:58 +01:00
|
|
|
.et2_portlet .et2_container > div > .et2_button {
|
2014-11-25 01:45:14 +01:00
|
|
|
position:absolute;
|
|
|
|
top: 0px;
|
|
|
|
left: 100%;
|
|
|
|
margin-left: -16px;
|
2014-11-19 00:46:58 +01:00
|
|
|
margin-bottom: -16px;
|
2014-11-25 01:45:14 +01:00
|
|
|
padding: 0px !important;
|
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
z-index: 50;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 01:45:14 +01:00
|
|
|
.et2_portlet .et2_container > div > button.et2_button_with_image.closed {
|
|
|
|
background-position: 0 0 !important;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 01:45:14 +01:00
|
|
|
.et2_portlet .et2_container > div > button.et2_button_with_image.opened {
|
|
|
|
background-position: -10px 0 !important;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 01:45:14 +01:00
|
|
|
.et2_portlet .et2_nextmatch.header_hidden {
|
|
|
|
padding-top: 16px;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 01:45:14 +01:00
|
|
|
.et2_portlet .et2_nextmatch.header_hidden .egwGridView_outer thead:first-of-type {
|
|
|
|
display: none;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|