/** * 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.loading-content { background: url('../img/loading.gif') no-repeat; background-position: calc(50% - 16px) calc(50% - 16px); } #app-content.loading-content > * { display: none; } #app-content:after { content: ''; display: block; height: 100%; } #app-content-wrapper.autopaging:after { content: ''; background-image: url('../img/loading.gif') no-repeat; background-position: calc(50% - 16px) calc(50% - 16px); } /** * Rules for a single feed item */ #app-content .item { cursor: default; border-bottom: 1px solid #eee; } #app-content .item:last-child .article { border-bottom: 0; } /** * Utils panel */ #app-content .utils { width: 100%; line-height: 52px; box-sizing: border-box; padding: 40px 50px 0 15px; } #app-content .compact .utils { cursor: pointer; padding-top: 0; } #app-content .utils ul { height: 40px; list-style-type: none; display: flex; margin: 0; padding: 0; } #app-content .utils li { line-height: 40px; vertical-align: middle; } #app-content .utils li:last-child { padding-right: 0; } #app-content .utils .util { padding: 9px 12px; } #app-content .utils button, #app-content .utils .external { padding: 0; margin: 0; height: 24px; width: 24px; border: 0; float: left; background-color: transparent; background-size: 100%; background-repeat: no-repeat; } #app-content .utils .external, #app-content .utils .menu button, #app-content .utils .icon-toggle { display: inline-block; opacity: 0.3; } #app-content .utils .external:hover, #app-content .utils .menu button:hover, #app-content .utils .icon-toggle:hover, #app-content .utils .icon-toggle.keep-unread { opacity: 1; } #app-content .utils .star { background-image: url('../img/inactive_star.svg'); } #app-content .utils .starred, #app-content .utils .star:hover { background-image: url('../img/active_star.svg'); } /** * Article title */ #app-content .utils .title { width: 100%; padding-left: 35px; background-position: left center; background-size: 20px 20px; background-repeat: no-repeat; } #app-content .utils .title a { text-overflow: ellipsis; white-space: nowrap; overflow: hidden; width: 100%; line-height: 40px; display: inline-block; color: #222; font-weight: bold; font-size: 19px; } #app-content .utils .title a:hover { text-decoration: underline; } #app-content .read .utils .title a { font-weight: normal; color: #888; } /** * Actual content */ #app-content .article { min-height: 69px; padding: 10px 50px 50px 50px; } #app-content .compact .article { display: none; } #app-content .open .article { display: block; } /** * Timestamp */ #app-content .subtitle { color: #aaa; font-size: 15px; width: 100%; padding-bottom: 25px; } #app-content .subtitle a { color: #aaa; } #app-content .subtitle a:hover { text-decoration: underline; } #app-content .date { color: #aaa; white-space: nowrap; float: right; } /** * Author */ #app-content .author { color: #aaa; font-size: 15px; } #app-content .author a { color: inherit; } #app-content .author a:hover { text-decoration: underline; } /** * Enclosure */ #app-content .enclosure { padding: 20px 0; } /** * Article body */ #app-content .body { max-width: 770px; font-size: 14px; clear: both; overflow-x: auto; } #app-content .body p { line-height: 1.5; margin: 7px 0 14px 0; } #app-content .body img, #app-content .body table { max-width: 100%; height: auto; overflow: auto; word-wrap: break-word; white-space:normal; } #app-content .body > img:first-child, #app-content .body > div:first-child > img:first-child { padding: 0 14px 0 0; float: left; } #app-content .body h1, #app-content .body h2 { font-size: 17px; font-weight: bold; color: #222; margin: 21px 0 0 0; } #app-content .body h3 { font-size: 15px; font-weight: bold; color: #222; margin: 21px 0 0 0; text-decoration: underline; } #app-content .body > div { margin: 7px 0; } #app-content .body a { color: #0000ff; text-decoration: underline; } #app-content .body ul { margin: 7px 0; padding-left: 14px; list-style-type: disc; } #app-content .body ol { margin: 7px 0; padding-left: 21px; } #app-content .body ul li { cursor: default; line-height: 21px; } #app-content .body pre { padding: 7px 7px 7px 14px; background-color: #dadada; border: 1px solid #ccc; margin: 7px 0 14px 0; overflow-y: auto; } #app-content .body pre::-webkit-scrollbar { height: 10px; } #app-content .body pre::-webkit-scrollbar-thumb { background: #333; } #app-content .body pre::-webkit-scrollbar-track-piece { background: #ddd; } #app-content .body code, #app-content .body pre { font-family: monospace; font-size: 16px; } #app-content .body blockquote { border-left: 1px solid rgb(210,210,210); margin: 25px 0; padding: 0 0 0 15px; font-style: italic; }