/* * Extension plugin styles * * @author Christopher Smith * @author Piyush Mishra * @author HÃ¥kan Sandell * @author Anika Henke */ /** * very simple lightbox * @link http://webdesign.tutsplus.com/tutorials/htmlcss-tutorials/super-simple-lightbox-with-css-and-jquery/ */ #plugin__extensionlightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: url(images/overlay.png) repeat; text-align: center; cursor: pointer; z-index: 9999; p { text-align: right; color: #fff; margin-right: 20px; font-size: 12px; } img { box-shadow: 0 0 25px #111; max-width: 90%; max-height: 90%; } } /** * general styles */ #extension__manager { // tab layout - most of it is in the main template ul.tabs li.active a { background-color: @ini_background_alt; border-bottom: solid 1px @ini_background_alt; z-index: 2; } .panelHeader { background-color: @ini_background_alt; margin: 0 0 10px 0; padding: 10px 10px 8px; overflow: hidden; } // message spacing div.msg { margin: 0.4em 0 0 0; } } #extension__list { @thumbwidth: 120px; section.extension { display: grid; grid-template-columns: @thumbwidth auto 15em; grid-template-rows: repeat(4, auto); margin-bottom: 1em; border-bottom: 1px solid @ini_border; > .screenshot { grid-column: 1; grid-row: 1; padding: 0.5em 0.5em 0.5em 0; img { border: 1px solid @ini_border; border-radius: 2px; } .id { font-size: 80%; color: @ini_text_alt; } } > .main { grid-column: 2; grid-row: 1; padding: 0.5em; min-height: 7em; > h2 { font-size: 100%; line-height: 1.2; font-weight: normal; display: flex; gap: 1em; justify-content: space-between; strong { font-size: 120%; font-weight: bold; } .version { } } } > .actions { grid-column: 3; grid-row: 1; padding: 0.5em 0 0.5em 0.5em; border-left: 1px solid @ini_border; .version { line-height: 1.2; margin-bottom: 1em; } } > .notices { grid-column: 2 / span 2; grid-row: 2; padding: 0 0.5em; ul, li { list-style: none; margin: 0.5em 0 0 0; padding: 0; } } > .details { grid-column: 1 / span 3; grid-row: 3; details { font-size: 90%; border: 1px solid transparent; // fixes jumping summary summary { cursor: pointer; float: left; margin-top: -1.5em; color: @ini_text_alt; } &[open] { dl { margin: 0.5em 0 0.5em 0; } } dl { margin: 0; display: grid; grid-template-columns: @thumbwidth auto; dt { } dd { grid-column: 2; margin: 0 0 0 0.5em; } } } } } section.extension.update .actions .version { background-color: @ini_highlight; } } /** * Search form */ #extension__manager form.search { display: block; margin-bottom: 2em; span { font-weight: bold; } input.edit { width: 25em; } } /** * Install form */ #extension__manager form.install { text-align: center; display: block; width: 60%; } #extension__viewoptions label { margin-left: 1em; vertical-align: baseline; }