2 Copyright (c) 1996-2023 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;
94 .ctdl-banner-buttons li button:hover {
95 background-color: Black;
98 .ctdl-banner-buttons a { /* For example, the Login / Log Off button */
102 .ctdl-banner-buttons span { /* For example, the name of the logged in user */
107 background-color: White;
114 html,body,h1,h2,h3,h4,h5 {
115 font-family: sans-serif
119 display: none; /* set to "block" to make the modal appear */
124 transform: translate(-50%, -50%);
125 border-style: outset;
128 justify-content: center;
131 background-color: GhostWhite;
135 background-color: GhostWhite;
144 background-color: GhostWhite;
148 .ctdl-sidebar-button {
152 border: 1px solid GhostWhite;
153 background-color: GhostWhite;
159 .ctdl-sidebar-button:hover {
163 .ctdl-sidebar-button-selected {
165 background-color: Gainsboro;
168 .ctdl-grid-banner-item button {
169 background-color: #888888;
173 .ctdl-forum-reading-pane {
174 background-color: DarkSlateGrey; /* Background behind the message boxes */
177 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
180 background-color: White;
182 padding: 5px; /* inside the box */
185 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
187 background-color: White;
188 padding: 5px; /* inside the box */
199 background-color: GhostWhite;
200 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
203 .ctdl-msg-header-info {
207 .ctdl-msg-header-buttons {
214 background-color: Blue;
217 background-color: GhostWhite;
224 .ctdl-msg-button:hover {
225 background-color: #123456;
228 border-color: #123456;
234 text-decoration: none;
238 .ctdl-msg-button a:hover {
248 clip-path: circle(50%);
257 text-decoration: none;
269 .ctdl-fmsg-content { /* message text, when in forum view */
273 .ctdl-mmsg-content { /* message text, when in mailbox view */
277 .ctdl_mail_folders li {
278 color: DarkSlateGrey;
281 .ctdl_mail_folders li:hover {
293 background-color: Gainsboro;
299 text-decoration: none;
305 .ctdl-forum-editor-body {
308 padding-top: 1px black;
309 padding-bottom: 1px black;
313 background-color: #f5f5f5 !important;
314 color: Navy !important;
315 border-left: 2px solid Navy;
322 blockquote blockquote {
323 background-color: #ebebeb !important;
324 color: Maroon !important;
325 border-left: 2px solid Maroon;
328 blockquote blockquote blockquote {
329 background-color: #e1e1e1 !important;
330 color: Green !important;
331 border-left: 2px solid Green;
334 blockquote blockquote blockquote blockquote {
335 background-color: #d7d7d7 !important;
336 color: Purple !important;
337 border-left: 2px solid Purple;
340 blockquote blockquote blockquote blockquote blockquote {
341 background-color: #cdcdcd !important;
342 color: Teal !important;
343 border-left: 2px solid Teal;
351 .ctdl-forum-urlmodal {
356 background-color: GhostWhite;
363 .ctdl-roomlist-floor {
366 .ctdl-roomlist-floor-label {
372 .ctdl-roomlist-floor-rooms {
375 .ctdl-roomlist-room {
379 justify-content: space-around;
383 border-style: outset;
384 background-color: White;
387 margin-bottom: 0.25vw;
392 .ctdl-roomlist-roomicon {
398 .ctdl-roomlist-roomname {
405 .ctdl-roomlist-roomname-hasnewmsgs {
410 .ctdl-roomlist-mtime {
414 .ctdl-mailbox-grid-container {
420 background-color: GhostWhite;
421 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
424 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
427 background-color: #DDDDDD;
428 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
431 .ctdl-mailbox-table {
433 background-color: GhostWhite;
434 border-collapse: collapse;
437 .ctdl-mailbox-table td {
441 .ctdl-mailbox-table tr {
443 border-top: solid 1px LightGrey;
446 .ctdl-mailbox-table tr:hover {
447 border-top: solid 1px Blue;
448 border-bottom: solid 1px Blue;
449 background-color: LightGrey;
452 .ctdl-mailbox-table th {
456 background-color: SlateGrey;
462 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
463 background-color: SlateGrey;
468 .ctdl-mail-selected {
469 background-color: Blue;
473 .ctdl-mail-subject { /* Subject column in mailbox message list */
476 .ctdl-mail-sender { /* Sender column in mailbox message list */
479 .ctdl-mail-date { /* Date column in mailbox message list */
483 .ctdl-mail-msgnum { /* # column in mailbox message list */
487 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
489 background-color: GhostWhite;
495 .ctdl-compose-mail { /* mail composition window */
501 background-color: GhostWhite;
503 grid-template-rows: auto auto auto auto 1fr auto;
504 grid-template-columns: auto 1fr;
506 'ctdl-compose-to-label ctdl-compose-to-line'
507 'ctdl-compose-cc-label ctdl-compose-cc-field'
508 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
509 'ctdl-compose-subject-label ctdl-compose-subject-field'
510 'ctdl-compose-message-box ctdl-compose-message-box'
511 'ctdl-compose-toolbar ctdl-compose-toolbar';
515 .ctdl-compose-to-label {
516 grid-area: ctdl-compose-to-label;
520 .ctdl-compose-to-line {
521 grid-area: ctdl-compose-to-line;
523 padding-right: 0.5vw;
526 border-bottom: 1px solid Grey;
537 .ctdl-compose-to-field {
542 .ctdl-compose-cc-label {
543 grid-area: ctdl-compose-cc-label;
548 .ctdl-compose-cc-field {
549 grid-area: ctdl-compose-cc-field;
550 border-bottom: 1px solid Grey;
554 padding-right: 0.5vw;
559 .ctdl-compose-bcc-label {
560 grid-area: ctdl-compose-bcc-label;
565 .ctdl-compose-bcc-field {
566 grid-area: ctdl-compose-bcc-field;
568 padding-right: 0.5vw;
571 border-bottom: 1px solid Grey;
576 .ctdl-compose-subject-label {
577 grid-area: ctdl-compose-subject-label;
581 .ctdl-compose-subject-field {
582 grid-area: ctdl-compose-subject-field;
584 padding-right: 0.5vw;
587 border-bottom: 1px solid Grey;
591 .ctdl-compose-message-box {
592 grid-area: ctdl-compose-message-box;
596 border-bottom: 1px solid Grey;
601 .ctdl-compose-toolbar {
602 grid-area: ctdl-compose-toolbar;
608 justify-content: space-between;
616 .ctdl-login-screen-grid-container {
618 grid-template-columns: auto auto;
621 .ctdl-login-screen-grid-item {
624 vertical-align: middle;
627 .ctdl-login-screen-grid-item input {