view sat_templates/templates/bulma/static/styles.css @ 235:f5f428a50c10

chat, ticket: use `pre-wrap` instead of `pre` for whitespaces
author Goffi <goffi@goffi.org>
date Fri, 29 May 2020 21:58:19 +0200
parents 0e69b5843c2f
children bb5193cef770
line wrap: on
line source

:root {
  --photo-height: 280px;
  --photo-height--poster: 500px;
}

.has-whitespace-pre-wrap {
    white-space: pre-wrap;
}

.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;
}