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;
90 /* font-size: 1.7vh; */
91 font-size: calc(50% + 0.6vw);
96 .ctdl-banner-buttons li button:hover {
97 background-color: Black;
100 .ctdl-banner-buttons a { /* For example, the Login / Log Off button */
104 .ctdl-banner-buttons span { /* For example, the name of the logged in user */
109 background-color: White;
116 html,body,h1,h2,h3,h4,h5 {
117 font-family: sans-serif
121 display: none; /* set to "block" to make the modal appear */
126 transform: translate(-50%, -50%);
127 border-style: outset;
130 justify-content: center;
133 background-color: GhostWhite;
137 background-color: GhostWhite;
146 background-color: GhostWhite;
150 .ctdl-sidebar-button {
154 border: 1px solid GhostWhite;
155 background-color: GhostWhite;
157 font-size: calc(50% + 0.7vh);
161 .ctdl-sidebar-button:hover {
165 .ctdl-sidebar-button-selected {
167 background-color: Gainsboro;
170 .ctdl-grid-banner-item button {
171 background-color: #888888;
175 .ctdl-forum-reading-pane {
176 background-color: White; /* Background behind the message boxes */
179 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
182 background-color: White;
184 padding: 5px; /* inside the box */
186 border-style: outset;
190 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
192 background-color: White;
193 padding: 5px; /* inside the box */
204 background-color: GhostWhite;
205 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
208 .ctdl-msg-header-info {
212 .ctdl-msg-header-buttons {
219 background-color: Blue;
222 background-color: GhostWhite;
229 .ctdl-msg-button:hover {
230 background-color: #123456;
233 border-color: #123456;
239 text-decoration: none;
243 .ctdl-msg-button a:hover {
253 clip-path: circle(50%);
262 text-decoration: none;
274 .ctdl-fmsg-content { /* message text, when in forum view */
278 .ctdl-mmsg-content { /* message text, when in mailbox view */
282 .ctdl_mail_folders li {
287 .ctdl_mail_folders li:hover {
288 color: DarkSlateGrey;
291 .ctdl_mail_folder_droppable {
292 background-color: LightGrey;
304 background-color: Gainsboro;
310 text-decoration: none;
316 .ctdl-forum-editor-body {
319 padding-top: 1px black;
320 padding-bottom: 1px black;
324 background-color: #f5f5f5 !important;
325 color: Navy !important;
326 border-left: 2px solid Navy;
333 blockquote blockquote {
334 background-color: #ebebeb !important;
335 color: Maroon !important;
336 border-left: 2px solid Maroon;
339 blockquote blockquote blockquote {
340 background-color: #e1e1e1 !important;
341 color: Green !important;
342 border-left: 2px solid Green;
345 blockquote blockquote blockquote blockquote {
346 background-color: #d7d7d7 !important;
347 color: Purple !important;
348 border-left: 2px solid Purple;
351 blockquote blockquote blockquote blockquote blockquote {
352 background-color: #cdcdcd !important;
353 color: Teal !important;
354 border-left: 2px solid Teal;
362 .ctdl-forum-urlmodal {
366 /* use this class for any small item that needs to be centered on the screen in the main div */
369 flex-direction: column;
370 justify-content: center;
374 background-color: GhostWhite;
380 background-color: GhostWhite;
387 .ctdl-roomlist-floor {
390 .ctdl-roomlist-floor-label {
396 .ctdl-roomlist-floor-rooms {
399 .ctdl-roomlist-room {
403 justify-content: space-around;
407 border-style: outset;
409 background-color: White;
412 margin-bottom: 0.1vw;
417 .ctdl-roomlist-roomicon {
423 .ctdl-roomlist-roomname {
430 .ctdl-roomlist-roomname-hasnewmsgs {
435 .ctdl-roomlist-mtime {
439 .ctdl-mailbox-grid-container {
445 background-color: GhostWhite;
446 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
449 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
452 background-color: #DDDDDD;
453 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
456 .ctdl-mailbox-table {
458 background-color: GhostWhite;
459 border-collapse: collapse;
462 .ctdl-mailbox-table td {
466 .ctdl-mailbox-table tr {
468 border-top: solid 1px LightGrey;
471 .ctdl-mailbox-table tr:hover {
472 border-top: solid 1px Blue;
473 border-bottom: solid 1px Blue;
474 background-color: LightGrey;
477 .ctdl-mailbox-table th {
481 background-color: SlateGrey;
487 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
488 background-color: SlateGrey;
493 .ctdl-mail-selected {
494 background-color: Blue;
498 .ctdl-mail-subject { /* Subject column in mailbox message list */
501 .ctdl-mail-sender { /* Sender column in mailbox message list */
504 .ctdl-mail-date { /* Date column in mailbox message list */
508 .ctdl-mail-msgnum { /* # column in mailbox message list */
512 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
514 background-color: GhostWhite;
520 .ctdl-compose-mail { /* mail composition window */
526 background-color: GhostWhite;
528 grid-template-rows: auto auto auto auto 1fr auto;
529 grid-template-columns: auto 1fr;
531 'ctdl-compose-to-label ctdl-compose-to-line'
532 'ctdl-compose-cc-label ctdl-compose-cc-field'
533 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
534 'ctdl-compose-subject-label ctdl-compose-subject-field'
535 'ctdl-compose-message-box ctdl-compose-message-box'
536 'ctdl-compose-toolbar ctdl-compose-toolbar';
540 .ctdl-compose-to-label {
541 grid-area: ctdl-compose-to-label;
545 .ctdl-compose-to-line {
546 grid-area: ctdl-compose-to-line;
548 padding-right: 0.5vw;
551 border-bottom: 1px solid Grey;
562 .ctdl-compose-to-field {
567 .ctdl-compose-cc-label {
568 grid-area: ctdl-compose-cc-label;
573 .ctdl-compose-cc-field {
574 grid-area: ctdl-compose-cc-field;
575 border-bottom: 1px solid Grey;
579 padding-right: 0.5vw;
584 .ctdl-compose-bcc-label {
585 grid-area: ctdl-compose-bcc-label;
590 .ctdl-compose-bcc-field {
591 grid-area: ctdl-compose-bcc-field;
593 padding-right: 0.5vw;
596 border-bottom: 1px solid Grey;
601 .ctdl-compose-subject-label {
602 grid-area: ctdl-compose-subject-label;
606 .ctdl-compose-subject-field {
607 grid-area: ctdl-compose-subject-field;
609 padding-right: 0.5vw;
612 border-bottom: 1px solid Grey;
616 .ctdl-compose-message-box {
617 grid-area: ctdl-compose-message-box;
621 border-bottom: 1px solid Grey;
626 .ctdl-compose-toolbar {
627 grid-area: ctdl-compose-toolbar;
633 justify-content: space-between;
642 display: none; /* set to 'block' to make it appear when needed */
645 border: 2px dashed #ccc;
648 justify-content: center;
651 background-color: GhostWhite;
654 .ctdl-upload.highlight {
658 .ctdl-compose-attachments-title {
660 background: Gainsboro;
664 justify-content: space-between;
674 .ctdl-login-screen-grid-container {
676 grid-template-columns: auto auto;
679 .ctdl-login-screen-grid-item {
682 vertical-align: middle;
685 .ctdl-login-screen-grid-item input {
692 background-color: DarkRed;