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;
|
2023-03-02 21:27:35 +01:00
|
|
|
display: grid;
|
2023-03-03 23:41:56 +01:00
|
|
|
grid-auto-columns: 25ex;
|
|
|
|
grid-auto-rows: 25ex;
|
|
|
|
grid-auto-flow: dense;
|
2023-03-02 21:27:35 +01:00
|
|
|
|
|
|
|
gap: 2ex;
|
|
|
|
|
|
|
|
justify-content: stretch;
|
|
|
|
align-content: stretch;
|
|
|
|
justify-items: stretch;
|
|
|
|
align-items: stretch;
|
2014-11-06 22:40:03 +01:00
|
|
|
}
|
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 {
|
2015-01-12 16:57:28 +01:00
|
|
|
|
2013-05-22 22:13:12 +02:00
|
|
|
}
|
2023-03-02 21:27:35 +01:00
|
|
|
|
|
|
|
|
2014-11-12 00:07:35 +01:00
|
|
|
.et2_portlet .et2_container {
|
2013-05-29 21:25:12 +02:00
|
|
|
height: 100%;
|
|
|
|
}
|
2015-01-12 16:57:28 +01:00
|
|
|
/* give not automatic sizing old calendar views a scrollbar, if necessary */
|
|
|
|
div.calendar_favorite_portlet.et2_portlet.ui-widget-content > div:last-of-type {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
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)
|
|
|
|
*/
|
2015-02-10 19:50:43 +01:00
|
|
|
.et2_portlet.ui-widget-content > div:last-of-type > .et2_container {
|
2014-11-19 00:46:58 +01:00
|
|
|
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.ui-widget-content > div:last-of-type {
|
2015-02-24 23:23:17 +01:00
|
|
|
position: relative;
|
|
|
|
margin-top: -20px;
|
|
|
|
height: 100%;
|
|
|
|
min-height: 45px;
|
|
|
|
transition: none;
|
|
|
|
-webkit-transition: none;
|
|
|
|
-moz-transition: none;
|
|
|
|
-o-transition: none;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
|
|
|
.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%;
|
2015-01-12 20:19:16 +01:00
|
|
|
max-height: 64px;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2015-02-24 23:23:17 +01:00
|
|
|
/* Single entry hover */
|
|
|
|
.et2_portlet.home_link_portlet:hover > .ui-widget-header {
|
|
|
|
display: block;
|
|
|
|
z-index: 90;
|
|
|
|
}
|
|
|
|
.et2_portlet.home_link_portlet:hover > div:last-of-type {
|
|
|
|
top: 1px;
|
|
|
|
}
|
2014-11-19 00:46:58 +01:00
|
|
|
|
2014-11-25 01:45:14 +01:00
|
|
|
/* Favorite / nextmatch
|
2014-11-25 22:50:42 +01:00
|
|
|
* NB: using class attribute contains as favorites have an app-specific prefix
|
2014-11-25 01:45:14 +01:00
|
|
|
*/
|
2014-11-25 22:50:42 +01:00
|
|
|
[class*="favorite_portlet"].et2_portlet .ui-widget-header > .et2_button {
|
|
|
|
float: left;
|
2014-11-25 01:45:14 +01:00
|
|
|
padding: 0px !important;
|
2014-11-25 22:50:42 +01:00
|
|
|
margin-top: 3px;
|
2014-11-25 01:45:14 +01:00
|
|
|
height: 12px;
|
|
|
|
width: 12px;
|
|
|
|
z-index: 50;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 22:50:42 +01:00
|
|
|
[class*="favorite_portlet"].et2_portlet .ui-widget-header > button.et2_button_with_image.closed {
|
2014-11-25 01:45:14 +01:00
|
|
|
background-position: 0 0 !important;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 22:50:42 +01:00
|
|
|
[class*="favorite_portlet"].et2_portlet .ui-widget-header > button.et2_button_with_image.opened {
|
2014-11-25 01:45:14 +01:00
|
|
|
background-position: -10px 0 !important;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|
2014-11-25 22:50:42 +01:00
|
|
|
|
|
|
|
/* We can't just set display:none for the header as that changes the column spacing */
|
|
|
|
[class*="favorite_portlet"].et2_portlet .et2_nextmatch.header_hidden {
|
|
|
|
padding-top: 0px;
|
|
|
|
}
|
|
|
|
[class*="favorite_portlet"].et2_portlet .et2_nextmatch.header_hidden .egwGridView_outer thead:first-of-type th,
|
|
|
|
[class*="favorite_portlet"].et2_portlet .et2_nextmatch.header_hidden .egwGridView_outer thead:first-of-type div.innerContainer,
|
|
|
|
[class*="favorite_portlet"].et2_portlet .et2_nextmatch.header_hidden .egwGridView_outer thead:first-of-type th.optcol span.selectcols {
|
|
|
|
height: 0px;
|
|
|
|
padding-top: 0px;
|
|
|
|
padding-bottom: 0px;
|
|
|
|
margin-top: 0px;
|
|
|
|
margin-bottom: 0px;
|
|
|
|
line-height: 0px;
|
|
|
|
}
|
|
|
|
[class*="favorite_portlet"].et2_portlet .et2_nextmatch.header_hidden .egwGridView_outer thead:first-of-type th {
|
|
|
|
visibility:hidden;
|
2015-01-12 21:39:25 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Weather
|
|
|
|
*/
|
|
|
|
.home_weather_portlet table[id$="current"] {
|
|
|
|
max-width: 250px;
|
|
|
|
}
|
|
|
|
.home_weather_portlet .temperature:after {
|
|
|
|
content: "\00B0";
|
|
|
|
}
|
|
|
|
.home_weather_portlet .current {
|
|
|
|
font-size: large;
|
|
|
|
}
|
|
|
|
.home_weather_portlet .forecast [id$="day"] {
|
|
|
|
font-size: smaller;
|
|
|
|
}
|
|
|
|
.home_weather_portlet .forecast > div {
|
|
|
|
display: inline-block;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
width: 52px;
|
|
|
|
}
|
|
|
|
.home_weather_portlet .forecast img {
|
|
|
|
margin: -10px -6px;
|
|
|
|
width: 40px;
|
|
|
|
height: auto;
|
|
|
|
}
|
|
|
|
.home_weather_portlet .high_low {
|
|
|
|
padding: 3px;
|
|
|
|
}
|
|
|
|
.home_weather_portlet .high_low[id$="min"] {
|
|
|
|
background-color: rgba(200,200,255,.3);
|
|
|
|
}
|
|
|
|
.home_weather_portlet .attribution {
|
|
|
|
position: relative;
|
|
|
|
bottom: 0.5em;
|
|
|
|
font-size: smaller;
|
2014-11-19 00:46:58 +01:00
|
|
|
}
|