2 Copyright (c) 1996-2022 by Art Cancro and the citadel.org team.
3 This program is open source software. Use, duplication, or disclosure
4 are subject to the terms of the GNU General Public License, version 3.
7 * { /* This makes grids consume exactly 100% of their parent containers */
8 box-sizing: border-box;
13 [contenteditable]:focus {
14 outline: 0px solid transparent;
17 .ctdl-main-grid-container { /* This grid implements the "holy grail layout" of the screen */
19 grid-template-rows: 5vh auto;
20 grid-template-columns: 12vw auto;
22 'ctdl-mg-banner ctdl-mg-banner'
23 'ctdl-mg-menu ctdl-mg-main';
25 background-color: DarkSlateGrey; /* This is the color of the lines between the boxes, and also the boxes themselves if not overridden */
26 padding: 0; /* This is the border around the edges of the screen */
31 .ctdl-grid-banner-item { /* Top banner, referenced by the grid container */
32 grid-area: ctdl-mg-banner;
33 background-color: DarkSlateGrey;
36 .ctdl-grid-sidebar-item { /* Side bar, referenced by the grid container */
37 grid-area: ctdl-mg-menu;
38 background-color: GhostWhite;
41 .ctdl-grid-main-item { /* Main content area of the screen, referenced by the grid container */
42 grid-area: ctdl-mg-main;
47 .ctdl-main-grid-container > div {
51 .ctdl-banner-buttons { /* Flexbox container for everything we stick into the banner */
55 justify-content: space-between;
63 .ctdl-banner-left { /* Items which should be grouped to the LEFT side of the banner */
70 .ctdl-banner-center { /* Items which should be grouped to the MIDDLE of the banner */
77 .ctdl-banner-right { /* Items which should be grouped to the RIGHT side of the banner */
84 .ctdl-banner-buttons li, .ctdl-banner-buttons li button {
87 background-color: DarkSlateGrey;
95 .ctdl-banner-buttons li button:hover {
96 background-color: Black;
99 .ctdl-banner-buttons a { /* For example, the Login / Log Off button */
103 .ctdl-banner-buttons span { /* For example, the name of the logged in user */
108 background-color: White;
115 html,body,h1,h2,h3,h4,h5 {
116 font-family: sans-serif
120 display: none; /* set to "block" to make the modal appear */
125 transform: translate(-50%, -50%);
126 border-style: outset;
129 justify-content: center;
132 background-color: GhostWhite;
136 background-color: GhostWhite;
145 background-color: GhostWhite;
149 .ctdl-sidebar-button {
153 border: 1px solid GhostWhite;
154 background-color: GhostWhite;
160 .ctdl-sidebar-button:hover {
164 .ctdl-sidebar-button-selected {
166 background-color: Gainsboro;
169 .ctdl-grid-banner-item button {
170 background-color: #888888;
174 .ctdl-forum-reading-pane {
175 background-color: DarkSlateGrey; /* Background behind the message boxes */
178 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
181 background-color: White;
183 padding: 5px; /* inside the box */
186 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
188 background-color: White;
189 padding: 5px; /* inside the box */
200 background-color: GhostWhite;
201 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
204 .ctdl-msg-header-info {
208 .ctdl-msg-header-buttons {
215 background-color: Blue;
218 background-color: GhostWhite;
225 .ctdl-msg-button:hover {
226 background-color: #123456;
229 border-color: #123456;
235 text-decoration: none;
239 .ctdl-msg-button a:hover {
250 clip-path: circle(50%);
259 text-decoration: none;
271 .ctdl-fmsg-content { /* message text, when in forum view */
275 .ctdl-mmsg-content { /* message text, when in mailbox view */
287 background-color: Gainsboro;
293 text-decoration: none;
297 background-color: #f5f5f5 !important;
298 color: Navy !important;
304 blockquote blockquote {
305 background-color: #ebebeb !important;
306 color: Maroon !important;
309 blockquote blockquote blockquote {
310 background-color: #e1e1e1 !important;
311 color: Green !important;
314 blockquote blockquote blockquote blockquote {
315 background-color: #d7d7d7 !important;
316 color: Purple !important;
319 blockquote blockquote blockquote blockquote blockquote {
320 background-color: #cdcdcd !important;
321 color: Teal !important;
329 .ctdl-forum-urlmodal {
334 background-color: GhostWhite;
341 .ctdl-roomlist-floor {
344 .ctdl-roomlist-floor-label {
350 .ctdl-roomlist-floor-rooms {
353 .ctdl-roomlist-room {
357 justify-content: space-around;
361 border-style: outset;
362 background-color: White;
365 margin-bottom: 0.25vw;
370 .ctdl-roomlist-roomicon {
376 .ctdl-roomlist-roomname {
383 .ctdl-roomlist-roomname-hasnewmsgs {
388 .ctdl-roomlist-mtime {
392 .ctdl-mailbox-grid-container {
398 background-color: GhostWhite;
399 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
402 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
405 background-color: #DDDDDD;
406 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
409 .ctdl-mailbox-table {
411 background-color: GhostWhite;
412 border-collapse: collapse;
415 .ctdl-mailbox-table td {
419 .ctdl-mailbox-table tr {
421 border-top: solid 1px LightGrey;
424 .ctdl-mailbox-table tr:hover {
425 border-top: solid 1px Blue;
426 border-bottom: solid 1px Blue;
427 background-color: LightGrey;
430 .ctdl-mailbox-table th {
434 background-color: SlateGrey;
440 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
441 background-color: SlateGrey;
446 .ctdl-mail-selected {
447 background-color: Blue;
451 .ctdl-mail-subject { /* Subject column in mailbox message list */
454 .ctdl-mail-sender { /* Sender column in mailbox message list */
457 .ctdl-mail-date { /* Date column in mailbox message list */
461 .ctdl-mail-msgnum { /* # column in mailbox message list */
465 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
467 background-color: GhostWhite;
473 .ctdl-compose-mail { /* mail composition window */
479 background-color: GhostWhite;
481 grid-template-rows: auto auto auto auto 1fr auto;
482 grid-template-columns: auto 1fr;
484 'ctdl-compose-to-label ctdl-compose-to-line'
485 'ctdl-compose-cc-label ctdl-compose-cc-field'
486 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
487 'ctdl-compose-subject-label ctdl-compose-subject-field'
488 'ctdl-compose-message-box ctdl-compose-message-box'
489 'ctdl-compose-toolbar ctdl-compose-toolbar';
493 .ctdl-compose-to-label {
494 grid-area: ctdl-compose-to-label;
498 .ctdl-compose-to-line {
499 grid-area: ctdl-compose-to-line;
501 border-bottom: 1px solid Grey;
512 .ctdl-compose-to-field {
517 .ctdl-compose-cc-label {
518 grid-area: ctdl-compose-cc-label;
523 .ctdl-compose-cc-field {
524 grid-area: ctdl-compose-cc-field;
526 border-bottom: 1px solid Grey;
531 .ctdl-compose-bcc-label {
532 grid-area: ctdl-compose-bcc-label;
537 .ctdl-compose-bcc-field {
538 grid-area: ctdl-compose-bcc-field;
540 border-bottom: 1px solid Grey;
545 .ctdl-compose-subject-label {
546 grid-area: ctdl-compose-subject-label;
550 .ctdl-compose-subject-field {
551 grid-area: ctdl-compose-subject-field;
553 border-bottom: 1px solid Grey;
557 .ctdl-compose-message-box {
558 grid-area: ctdl-compose-message-box;
562 border-bottom: 1px solid Grey;
567 .ctdl-compose-toolbar {
568 grid-area: ctdl-compose-toolbar;
574 justify-content: space-between;
582 .ctdl-login-screen-grid-container {
584 grid-template-columns: auto auto;
587 .ctdl-login-screen-grid-item {
590 vertical-align: middle;
593 .ctdl-login-screen-grid-item input {