fractal/data/resources/style.css

249 lines
3.8 KiB
CSS

.room-details-group overlay {
margin-bottom: 6px;
}
.room-details-group avatar * {
/* Undo non-sensitive style. */
filter: none;
}
.room-details-group entry:disabled {
border-color: transparent;
/* Undo non-sensitive style. */
color: @theme_text_color;
background: none;
}
.room-details-group entry textview {
/* Undo non-sensitive style. */
color: @theme_text_color;
background: none;
}
.room-details-group entry text {
/* Undo non-sensitive style. */
color: @theme_text_color;
background: none;
}
.room-details-name {
font-size: 2em;
margin-bottom: 6px;
}
.room-details-topic {
margin-bottom: 6px;
}
.title-header {
font-size: 36px;
font-weight: bold;
}
.pill-button {
border-radius: 9999px;
padding: 12px 40px;
}
.pill {
border-radius: 9999px;
background-color: alpha(@theme_text_color, 0.1);
padding-right: 6px;
}
.app-notification .pill {
background-color: alpha(@theme_bg_color, 0.2);
}
.selected-avatar avatar {
border: 2px solid @accent_bg_color;
}
.blue-checkmark {
color: @accent_bg_color;
border-radius: 9999px;
background-color: white;
}
/* Login */
.login {
min-width: 250px;
}
#devnotice {
background-color: lighter(alpha(@warning_color, 0.3));
color: shade(@warning_color, 0.5);
padding: 12px 24px;
border-radius: 9px;
}
/* Session */
.session-loading-spinner {
min-width: 32px;
min-height: 32px;
}
headerbar.flat {
background: none;
border: none;
}
/* Account switcher */
#account-switcher row {
border-radius: 10px;
margin-top: 2px;
margin-bottom: 2px;
padding-top: 7px;
padding-bottom: 7px;
}
#account-switcher .user-id {
font-size: 12px;
}
#new-login-icon {
/*
* 2 * padding + pixel-size = size (of avatar)
*/
padding: 10px;
background-color: lightgrey;
border-radius: 9999px;
}
/* Sidebar */
.sidebar row {
padding-left: 10px;
padding-right: 10px;
}
.sidebar .category {
margin-top: 4px;
font-size: 0.8em;
font-weight: bold;
}
.sidebar .entry {
margin-top: 4px;
font-weight: bold;
}
.sidebar .category image.arrow {
transition: 200ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.sidebar .category .category-row:not(:checked) image.arrow:dir(ltr) {
transform: rotate(-0.25turn);
}
.sidebar .category .category-row:not(:checked) image.arrow:dir(rtl) {
transform: rotate(0.25turn);
}
.sidebar .room {
padding-top: 4px;
padding-bottom: 4px;
}
.sidebar .room .bold {
font-weight: bold;
}
.sidebar .room .notification_count {
/* TODO: use correct color variable */
background-color: #555;
color: white;
font-weight: bold;
font-size: 0.8em;
border-radius: 10px;
min-width: 0.7em;
padding: 2px 5px;
}
.sidebar .room .highlight {
background-color: @accent_bg_color;
}
/* Content */
.room-history {
background: @theme_base_color;
}
.room-history row {
min-height: 0;
padding-top: 6px;
padding-bottom: 6px;
}
.room-history row.has-header {
margin-top: 6px;
}
.room-history .event-content {
margin-right: 46px;
}
.room-history row:not(.has-header) .event-content {
margin-left: 46px;
}
.divider-row {
font-size: 0.9em;
font-weight: bold;
}
.timestamp {
min-width: 36px;
font-weight: normal;
}
.codeview {
border-radius: 5px;
padding: 6px;
font-family: monospace;
background-color: @text_view_bg;
color: @theme_text_color;
}
.send-message-area {
margin: 6px;
}
.message-entry .view {
padding: 7px 0;
}
.invite-room-name {
font-size: 24px;
}
.app-notification {
border-radius: 9999px;
padding-left: 24px;
}
/* Event Source Dialog */
.event-source-dialog .sourceview {
background-color: @theme_base_color;
padding: 6px;
}
.explore listview {
padding: 12px;
}
.bold {
font-weight: bold;
}
button.cutout {
box-shadow: 0 0 0 2px @theme_bg_color;
background-color: #e2e2e1;
}
button.cutout:hover {
background-color: #d8d8d7;
}
button.cutout:active {
background-color: #c4c5c4;
}