|
| 1 | +/** |
| 2 | + * Snippet Title: Visual depth |
| 3 | + * Domain: theme_boost_union |
| 4 | + * Scope: global |
| 5 | + * Goal: eyecandy |
| 6 | + * Description: A less flat design than is intended in the Boost theme. Realised by box-shadows on a number of page elements and a colour gradient on the page background. |
| 7 | + * |
| 8 | + * @package theme_boost_union |
| 9 | + * @copyright 2024 University of Applied Science Hamburg |
| 10 | + * @author Nils Promer <[email protected]> |
| 11 | + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
| 12 | + */ |
| 13 | + |
| 14 | + |
| 15 | + body { |
| 16 | + background: radial-gradient(circle, rgba(0, 26, 36, 0.4) 0%, rgba(208, 226, 242, 1) 51%, rgba(240, 241, 242, 1) 100%); |
| 17 | + } |
| 18 | + |
| 19 | + .navbar.fixed-top { |
| 20 | + box-shadow: rgba(62, 64, 72, 0.4) 0 4px 6px; |
| 21 | + } |
| 22 | + |
| 23 | + .main-inner { |
| 24 | + box-shadow: rgba(149, 157, 165, 0.6) 0 4px 6px; |
| 25 | + } |
| 26 | + |
| 27 | +section.block { |
| 28 | + box-shadow: rgba(149, 157, 165, 0.15) 0 4px 6px; |
| 29 | + } |
| 30 | + |
| 31 | +.add_block_button a { |
| 32 | + box-shadow: rgba(149, 157, 165, 0.15) 0 4px 6px; |
| 33 | + } |
| 34 | + |
| 35 | +.pagelayout-frontpage .coursebox { |
| 36 | + box-shadow: rgba(149, 157, 165, 0.15) 0 4px 6px; |
| 37 | + } |
| 38 | + |
| 39 | +.pagelayout-mycourses .course-card { |
| 40 | + box-shadow: rgba(149, 157, 165, 0.15) 0 4px 6px; |
| 41 | + } |
| 42 | + |
| 43 | +#page-course-view-topics .section-item { |
| 44 | + box-shadow: rgba(149, 157, 165, 0.15) 0 4px 6px; |
| 45 | +} |
| 46 | + |
| 47 | +.drawer-toggles .drawer-toggler .btn { |
| 48 | + box-shadow: rgba(62, 64, 72, 0.4) 0 4px 6px; |
| 49 | + } |
| 50 | + |
| 51 | +.btn-footer-popover { |
| 52 | + box-shadow: rgba(62, 64, 72, 0.4) 0 4px 6px; |
| 53 | + } |
0 commit comments