Mercurial > libervia-templates
diff sat_templates/templates/default/static/photo.css @ 166:178f55b825b7
small refactoring/redesign, better BEM integration:
- blog has been redesigned, and almost all blog CSS has been made generic and moved to main styles.css file.
- better noscript handling, dynamic elements are created using "magic" classes (dom_update.js)
- using better icons for older/newer messages
- better state handling, classes now use "state_XXX"
- more classes now use BEM convention
- menu labels have been moved to a separate template (components/menu_labels.html), so it can be overriden easily by other sites
- better styles.css organisation
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 03 Oct 2018 21:00:24 +0200 |
parents | e9f0a4215e46 |
children | f1188ce8dd17 |
line wrap: on
line diff
--- a/sat_templates/templates/default/static/photo.css Fri Sep 14 19:49:15 2018 +0200 +++ b/sat_templates/templates/default/static/photo.css Wed Oct 03 21:00:24 2018 +0200 @@ -1,5 +1,3 @@ -@import 'blog.css'; /* needed for comments */ - .album { display: flex; flex-wrap: wrap; @@ -38,14 +36,3 @@ .comments__count { font-weight: bold; } - -.panel-drawer { - max-height: 0; - opacity: 0; - transition: max-height 1s, opacity 2s; - overflow: hidden; -} - -.panel-drawer.clicked { - opacity: 1; -}