/* * 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 { section.extension { display: grid; grid-template-columns: auto 1fr 15em; grid-template-rows: repeat(3); gap: 1em; margin-bottom: 1em; border-bottom: 1px solid @ini_border; > h2 { grid-column: 1 / span 2; grid-row: 1; margin: 0; // is added by grid gap position: relative; .version { font-size: 80%; font-weight: normal; } .popularity { font-size: 1rem; background-color: @ini_background; border: 1px solid @ini_border; height: .4em; margin: 0 auto; padding: 1px; width: 5.5em; position: absolute; right: 0; top: 0.25em; div { background-color: @ini_border; height: 100%; } } } > .screenshot { grid-column: 1; grid-row: 2; } > .main { grid-column: 2; grid-row: 2; } > .details { grid-column: 1 / span 2; grid-row: 3; .linkbar { line-height: 1.2em; font-size: 90%; } details { font-size: 90%; border: 1px solid transparent; // fixes jumping summary summary { cursor: pointer; float: right; margin-top: -1.2em; line-height: 1.2em; } dl { margin-top: 1em; dt { float: left; clear: left; width: 30%; text-align: right; margin-right: 1em; } dd { float: left; width: 60%; margin-left: 1em; } } } } > .version { grid-column: 3; grid-row: 1; align-self: end; } > .actions { grid-column: 3; grid-row: 2 / span 2; } } } /** * 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; }