Mercurial > libervia-templates
view sat_templates/templates/bulma/static/styles.css @ 230:0e69b5843c2f
theme: bulma theme first draft:
This theme uses the Bulma CSS framework, Brython to handle the menu on touch devices, and
Sass to customize Bulma. CSS default fallbacks are disabled as Bulma uses its own naming
conventions, and default fallbacks would lead to hard to debug conflicts.
`common.js` has been slightly improved to handle custom classed in `tab_select`
The theme is not complete yet, but it is functional.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 19 May 2020 00:02:34 +0200 |
parents | |
children | f5f428a50c10 |
line wrap: on
line source
:root { --photo-height: 280px; --photo-height--poster: 500px; } .has-whitespace-pre { white-space: pre; } .is-avatar { height: 64px; width: 64px; border-radius: 50%; border: 1px solid #bbb; background-color: #eee; overflow: hidden; } .is-photo-thumbnail { max-height: var(--photo-height); max-width: 100%; } .is-photo-thumbnail-container { height: var(--photo-height); } .has-items-centered { align-items: center; justify-content: center; } .is-poster { height: var(--photo-height--poster) !important; } .is-poster>.is-photo-thumbnail { max-height: var(--photo-height--poster) !important; } .has-items-vcentered { align-items: center; } .x-is-hoverable:hover { background-color: #eee !important; } .is-chat-message { margin: 0.5rem 0 0 !important; padding: 0 !important; border: 0 !important; } a.is-wrapping { line-height: 0; } .has-margin-top-1 { margin-top: 1rem; } .has-vmargin-1 { margin: 0.5rem 0; } .has-padding-1 { padding: 0.25rem; } .has-vpadding-1 { padding: 0 0.25rem; } .has-vpadding-6 { padding: 0 1.5rem; } .has-no-background { box-shadow: none !important; background-color: initial !important; } .pagination-disabled { background-color: white; border-color: #dbdbdb; color: #b5b5b5; cursor: auto; } .pagination-disabled:hover { background-color: white; border-color: #dbdbdb; color: #b5b5b5; } .has-text-shortenable { overflow: hidden; text-overflow: ellipsis; } .panel-drawer { /* A panel which is hidden by default but can be opened when it's clicked */ max-height: 0; opacity: 0; overflow: hidden; transition: max-height 0.5s, opacity 0.5s; } .panel-drawer.state_clicked { opacity: 1; } /******** * code * ********/ .highlight { overflow: auto; } /********** * blocks * **********/ .block_separator { font-size: 1.4em; display: flex; margin: 1rem 0; } .block_separator__label { display: inline-block; margin: 0 0.2em; } .block_separator__line { height: 1px; background: #ccc; flex: 1; margin-top: 0.7em; } /******** * tabs * *******/ #tab_guests { overflow: auto; } .tab__page { display: None; } .tab__page.state_clicked { display: block; }