/** * ownCloud - News * * This file is licensed under the Affero General Public License version 3 or * later. See the COPYING file. * * @author Bernhard Posselt * @copyright Bernhard Posselt 2014 */ #first-run { height: 100%; width: 100%; display: table; } #first-run h1 { color: #888888; font-size: 1.5em; font-weight: bold; text-shadow: 0 1px 0 #FFFFFF; display: table-cell; text-align: center; vertical-align: middle; } #app-content:after { content: ''; display: block; height: 100%; } #app-content.autopaging:after { content: ''; background-image: url('../img/loading.gif'); background-position: center; background-repeat: no-repeat; background-size: 18px; display: block; height: 100%; } #app-content.icon-loading > * { display: none; } /** * Rules for a single feed item */ .item { border-top: 1px solid #ccc; min-height: 120px; background-image: linear-gradient(top, #F8F8F8 0, #FFF 84px); padding: 35px 5px 20px 5px; cursor: default; } .item.viewed { border-right: 5px solid #F28627; } .item:first-child { border-top: 0; } /** * Utils panel */ .item .star { height: 25px; width: 25px; margin: 2px 0 0 6px; float: left; border: 0; background-color: #FFF; background-size: 100%; background-repeat: no-repeat; background-image: url('../img/inactive_star.svg'); } .item .starred, .item .star:hover { background-image: url('../img/active_star.svg'); } /** * Heading for compact view */ .compact .item .body, .compact .item .title, .compact .item .author, .compact .item .date, .compact .item .bottom-utils, .item .heading, .item .link { display: none; } .compact .item.open .body, .compact .item.open .author, .compact .item.open .bottom-utils, .compact .item .heading, .item .link { display: block; } .heading { padding: 5px 20px; background-color: #fafafa; } .heading h1 a { font-weight: bold; font-size: 13pt; padding: 0 5px; margin: 0; line-height: 40px; } .read .heading h1 a { color: #888; } .compact .item { padding: 0 !important; min-height: 0; } .compact .item .body { padding-bottom: 40px; } .compact .item.open .heading { margin-bottom: 15px; border-bottom: 1px dashed #ddd; } .heading .star { float: left; margin: 7px 12px 0 0; } .heading .external { float: left; margin: 8px 12px 0 0; } .heading .timeago { display: block; float: right; line-height: 40px; } /** * Feed title */ .item .title { font-size: 19px; margin: 4px 182px 4px 42px; font-weight: bold; word-wrap: break-word; } .item .title a { color: #222; } .item .title a:hover { color: #222; text-decoration: underline; } /** * Feed title when read */ .item.read .title { font-weight: normal; } .item.read .title a { color: #888; } /** * Author of the item */ .item .author { color: #aaa; font-size: 15px; margin: 3px 0 5px 42px; } .item .author a { color: inherit; } .item .author a:hover { text-decoration: underline; } .timestamp { display: none; } /** * Feed timestamp */ .timeago { float: right; color: #aaa; margin: 4px 17px 0 0; font-size: 15px; } /** * Body of the feed item */ .item .enclosure { padding: 14px 42px 0 49px; } .item .body { padding: 10px 42px 0 42px; max-width: 770px; font-size: 14px; clear: both; overflow-x: auto; /*overflow-y: hidden; height: 80px;*/ } .item .body.opened { } .item .body p { line-height: 1.5; margin: 7px 0 14px 0; } .item .body img, .item .body table { max-width: 100%; height: auto; overflow: auto; word-wrap: break-word; white-space:normal; } .item .body > img:first-child, .item .body > div:first-child > img:first-child { padding: 0 14px 0 0; float: left; } .item .body h1, .item .body h2 { font-size: 17px; font-weight: bold; color: #222; margin: 21px 0 0 0; } .item .body h3 { font-size: 15px; font-weight: bold; color: #222; margin: 21px 0 0 0; text-decoration: underline; } .item .body > div { margin: 7px 0; } .item .body a { color: #0000ff; text-decoration: underline; } .item .body ul { margin: 7px 0; padding-left: 14px; list-style-type: disc; } .item .body ol { margin: 7px 0; padding-left: 21px; } .item .body ul li { cursor: default; line-height: 21px; } .item .body pre { padding: 7px 7px 7px 14px; background-color: #dadada; border: 1px solid #ccc; margin: 7px 0 14px 0; overflow-y: auto; } .item .body pre::-webkit-scrollbar { height: 10px; } .item .body pre::-webkit-scrollbar-thumb { background: #333; } .item .body pre::-webkit-scrollbar-track-piece { background: #ddd; } .item .body code, .item .body pre { font-family: monospace; font-size: 16px; } .item .body blockquote { border-left: 1px solid rgb(210,210,210); margin: 25px 0; padding: 0 0 0 15px; font-style: italic; } /** * Line with utils at the bottom */ .item .bottom-utils { width: 100%; height: 35px; margin: 0; padding: 0; box-sizing: border-box; -moz-box-sizing: border-box; } .item .bottom-utils ul { float: right; margin: 0 17px; } .item .bottom-utils, .item .bottom-utils a { color: #000; } .item:hover .bottom-utils li { display: inline-block; } .item .bottom-utils li { padding-left: 25px; } .item .bottom-utils li input[type=checkbox]{ margin-left: 5px; }