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';
24 gap: 1px; /* This is the thickness of the lines between the boxes */
25 background-color: DarkSlateGrey; /* This is the color of the lines between the boxes */
26 padding: 0; /* This is the border around the edges of the screen (0 for no border) */
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;
45 background-color: GhostWhite;
48 .ctdl-main-grid-container > div {
52 .ctdl-banner-buttons { /* Flexbox container for everything we stick into the banner */
56 justify-content: space-between;
64 .ctdl-banner-left { /* Items which should be grouped to the LEFT side of the banner */
71 .ctdl-banner-center { /* Items which should be grouped to the MIDDLE of the banner */
78 .ctdl-banner-right { /* Items which should be grouped to the RIGHT side of the banner */
85 .ctdl-banner-buttons li, .ctdl-banner-buttons li button {
88 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: White; /* Background behind the message boxes */
178 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
181 background-color: White;
183 padding: 5px; /* inside the box */
185 border-style: outset;
189 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
191 background-color: White;
192 padding: 5px; /* inside the box */
203 background-color: GhostWhite;
204 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
207 .ctdl-msg-header-info {
211 .ctdl-msg-header-buttons {
218 background-color: Blue;
221 background-color: GhostWhite;
228 .ctdl-msg-button:hover {
229 background-color: #123456;
232 border-color: #123456;
238 text-decoration: none;
242 .ctdl-msg-button a:hover {
252 clip-path: circle(50%);
261 text-decoration: none;
273 .ctdl-fmsg-content { /* message text, when in forum view */
277 .ctdl-mmsg-content { /* message text, when in mailbox view */
281 .ctdl_mail_folders li {
286 .ctdl_mail_folders li:hover {
287 color: DarkSlateGrey;
298 background-color: Gainsboro;
304 text-decoration: none;
310 .ctdl-forum-editor-body {
313 padding-top: 1px black;
314 padding-bottom: 1px black;
318 background-color: #f5f5f5 !important;
319 color: Navy !important;
320 border-left: 2px solid Navy;
327 blockquote blockquote {
328 background-color: #ebebeb !important;
329 color: Maroon !important;
330 border-left: 2px solid Maroon;
333 blockquote blockquote blockquote {
334 background-color: #e1e1e1 !important;
335 color: Green !important;
336 border-left: 2px solid Green;
339 blockquote blockquote blockquote blockquote {
340 background-color: #d7d7d7 !important;
341 color: Purple !important;
342 border-left: 2px solid Purple;
345 blockquote blockquote blockquote blockquote blockquote {
346 background-color: #cdcdcd !important;
347 color: Teal !important;
348 border-left: 2px solid Teal;
356 .ctdl-forum-urlmodal {
360 /* use this class for any small item that needs to be centered on the screen in the main div */
363 flex-direction: column;
364 justify-content: center;
368 background-color: GhostWhite;
374 background-color: GhostWhite;
381 .ctdl-roomlist-floor {
384 .ctdl-roomlist-floor-label {
390 .ctdl-roomlist-floor-rooms {
393 .ctdl-roomlist-room {
397 justify-content: space-around;
401 border-style: outset;
403 background-color: White;
406 margin-bottom: 0.1vw;
411 .ctdl-roomlist-roomicon {
417 .ctdl-roomlist-roomname {
424 .ctdl-roomlist-roomname-hasnewmsgs {
429 .ctdl-roomlist-mtime {
433 .ctdl-mailbox-grid-container {
439 background-color: GhostWhite;
440 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
443 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
446 background-color: #DDDDDD;
447 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
450 .ctdl-mailbox-table {
452 background-color: GhostWhite;
453 border-collapse: collapse;
456 .ctdl-mailbox-table td {
460 .ctdl-mailbox-table tr {
462 border-top: solid 1px LightGrey;
465 .ctdl-mailbox-table tr:hover {
466 border-top: solid 1px Blue;
467 border-bottom: solid 1px Blue;
468 background-color: LightGrey;
471 .ctdl-mailbox-table th {
475 background-color: SlateGrey;
481 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
482 background-color: SlateGrey;
487 .ctdl-mail-selected {
488 background-color: Blue;
492 .ctdl-mail-subject { /* Subject column in mailbox message list */
495 .ctdl-mail-sender { /* Sender column in mailbox message list */
498 .ctdl-mail-date { /* Date column in mailbox message list */
502 .ctdl-mail-msgnum { /* # column in mailbox message list */
506 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
508 background-color: GhostWhite;
514 .ctdl-compose-mail { /* mail composition window */
520 background-color: GhostWhite;
522 grid-template-rows: auto auto auto auto 1fr auto;
523 grid-template-columns: auto 1fr;
525 'ctdl-compose-to-label ctdl-compose-to-line'
526 'ctdl-compose-cc-label ctdl-compose-cc-field'
527 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
528 'ctdl-compose-subject-label ctdl-compose-subject-field'
529 'ctdl-compose-message-box ctdl-compose-message-box'
530 'ctdl-compose-toolbar ctdl-compose-toolbar';
534 .ctdl-compose-to-label {
535 grid-area: ctdl-compose-to-label;
539 .ctdl-compose-to-line {
540 grid-area: ctdl-compose-to-line;
542 padding-right: 0.5vw;
545 border-bottom: 1px solid Grey;
556 .ctdl-compose-to-field {
561 .ctdl-compose-cc-label {
562 grid-area: ctdl-compose-cc-label;
567 .ctdl-compose-cc-field {
568 grid-area: ctdl-compose-cc-field;
569 border-bottom: 1px solid Grey;
573 padding-right: 0.5vw;
578 .ctdl-compose-bcc-label {
579 grid-area: ctdl-compose-bcc-label;
584 .ctdl-compose-bcc-field {
585 grid-area: ctdl-compose-bcc-field;
587 padding-right: 0.5vw;
590 border-bottom: 1px solid Grey;
595 .ctdl-compose-subject-label {
596 grid-area: ctdl-compose-subject-label;
600 .ctdl-compose-subject-field {
601 grid-area: ctdl-compose-subject-field;
603 padding-right: 0.5vw;
606 border-bottom: 1px solid Grey;
610 .ctdl-compose-message-box {
611 grid-area: ctdl-compose-message-box;
615 border-bottom: 1px solid Grey;
620 .ctdl-compose-toolbar {
621 grid-area: ctdl-compose-toolbar;
627 justify-content: space-between;
635 .ctdl-login-screen-grid-container {
637 grid-template-columns: auto auto;
640 .ctdl-login-screen-grid-item {
643 vertical-align: middle;
646 .ctdl-login-screen-grid-item input {
653 background-color: DarkRed;