fractal/data/resources/style.css

250 lines
3.8 KiB
CSS
Raw Normal View History

.room-details-group overlay {
2021-07-10 12:20:22 +00:00
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;
}
2021-02-12 23:16:16 +00:00
.title-header {
2021-02-04 19:25:29 +00:00
font-size: 36px;
font-weight: bold;
}
2021-02-12 23:16:16 +00:00
.pill-button {
border-radius: 9999px;
padding: 12px 40px;
}
2021-05-28 13:18:10 +00:00
.pill {
2021-05-20 07:22:47 +00:00
border-radius: 9999px;
background-color: alpha(@theme_text_color, 0.1);
padding-right: 6px;
}
2021-05-28 13:18:10 +00:00
.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;
}
2021-05-09 07:23:32 +00:00
/* Login */
.login {
min-width: 250px;
2021-02-12 23:16:16 +00:00
}
#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;
}
2021-06-14 18:16:07 +00:00
/* 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 */
2021-05-04 19:01:32 +00:00
.sidebar row {
padding-left: 10px;
padding-right: 10px;
}
.sidebar .category {
margin-top: 4px;
font-size: 0.8em;
font-weight: bold;
}
2021-06-03 17:22:59 +00:00
.sidebar .entry {
margin-top: 4px;
font-weight: bold;
}
2021-05-04 19:01:32 +00:00
.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);
}
2021-05-04 19:01:32 +00:00
.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;
}
2021-05-04 19:01:32 +00:00
.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;
}
2021-05-04 19:01:32 +00:00
.sidebar .room .highlight {
background-color: @accent_bg_color;
}
2021-04-27 11:03:58 +00:00
/* Content */
.room-history {
background: @theme_base_color;
}
.room-history row {
2021-05-09 07:23:32 +00:00
min-height: 0;
padding-top: 6px;
padding-bottom: 6px;
}
.room-history row.has-header {
2021-05-09 07:23:32 +00:00
margin-top: 6px;
}
.room-history .event-content {
2021-05-09 07:23:32 +00:00
margin-right: 46px;
}
.room-history row:not(.has-header) .event-content {
2021-05-09 07:23:32 +00:00
margin-left: 46px;
}
.divider-row {
font-size: 0.9em;
font-weight: bold;
}
.timestamp {
min-width: 36px;
font-weight: normal;
2021-05-09 07:23:32 +00:00
}
2021-04-27 11:03:58 +00:00
.codeview {
border-radius: 5px;
padding: 6px;
font-family: monospace;
background-color: @text_view_bg;
color: @theme_text_color;
}
2021-05-03 16:09:05 +00:00
2021-05-09 07:23:32 +00:00
.send-message-area {
margin: 6px;
}
2021-08-24 11:00:16 +00:00
.message-entry .view {
padding: 7px 0;
2021-05-03 16:09:05 +00:00
}
.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;
}
2021-06-10 14:53:09 +00:00
.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;
}