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;
290 .ctdl_mail_folder_droppable {
291 background-color: LightGrey;
303 background-color: Gainsboro;
309 text-decoration: none;
315 .ctdl-forum-editor-body {
318 padding-top: 1px black;
319 padding-bottom: 1px black;
323 background-color: #f5f5f5 !important;
324 color: Navy !important;
325 border-left: 2px solid Navy;
332 blockquote blockquote {
333 background-color: #ebebeb !important;
334 color: Maroon !important;
335 border-left: 2px solid Maroon;
338 blockquote blockquote blockquote {
339 background-color: #e1e1e1 !important;
340 color: Green !important;
341 border-left: 2px solid Green;
344 blockquote blockquote blockquote blockquote {
345 background-color: #d7d7d7 !important;
346 color: Purple !important;
347 border-left: 2px solid Purple;
350 blockquote blockquote blockquote blockquote blockquote {
351 background-color: #cdcdcd !important;
352 color: Teal !important;
353 border-left: 2px solid Teal;
361 .ctdl-forum-urlmodal {
365 /* use this class for any small item that needs to be centered on the screen in the main div */
368 flex-direction: column;
369 justify-content: center;
373 background-color: GhostWhite;
379 background-color: GhostWhite;
386 .ctdl-roomlist-floor {
389 .ctdl-roomlist-floor-label {
395 .ctdl-roomlist-floor-rooms {
398 .ctdl-roomlist-room {
402 justify-content: space-around;
406 border-style: outset;
408 background-color: White;
411 margin-bottom: 0.1vw;
416 .ctdl-roomlist-roomicon {
422 .ctdl-roomlist-roomname {
429 .ctdl-roomlist-roomname-hasnewmsgs {
434 .ctdl-roomlist-mtime {
438 .ctdl-mailbox-grid-container {
444 background-color: GhostWhite;
445 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
448 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
451 background-color: #DDDDDD;
452 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
455 .ctdl-mailbox-table {
457 background-color: GhostWhite;
458 border-collapse: collapse;
461 .ctdl-mailbox-table td {
465 .ctdl-mailbox-table tr {
467 border-top: solid 1px LightGrey;
470 .ctdl-mailbox-table tr:hover {
471 border-top: solid 1px Blue;
472 border-bottom: solid 1px Blue;
473 background-color: LightGrey;
476 .ctdl-mailbox-table th {
480 background-color: SlateGrey;
486 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
487 background-color: SlateGrey;
492 .ctdl-mail-selected {
493 background-color: Blue;
497 .ctdl-mail-subject { /* Subject column in mailbox message list */
500 .ctdl-mail-sender { /* Sender column in mailbox message list */
503 .ctdl-mail-date { /* Date column in mailbox message list */
507 .ctdl-mail-msgnum { /* # column in mailbox message list */
511 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
513 background-color: GhostWhite;
519 .ctdl-compose-mail { /* mail composition window */
525 background-color: GhostWhite;
527 grid-template-rows: auto auto auto auto 1fr auto;
528 grid-template-columns: auto 1fr;
530 'ctdl-compose-to-label ctdl-compose-to-line'
531 'ctdl-compose-cc-label ctdl-compose-cc-field'
532 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
533 'ctdl-compose-subject-label ctdl-compose-subject-field'
534 'ctdl-compose-message-box ctdl-compose-message-box'
535 'ctdl-compose-toolbar ctdl-compose-toolbar';
539 .ctdl-compose-to-label {
540 grid-area: ctdl-compose-to-label;
544 .ctdl-compose-to-line {
545 grid-area: ctdl-compose-to-line;
547 padding-right: 0.5vw;
550 border-bottom: 1px solid Grey;
561 .ctdl-compose-to-field {
566 .ctdl-compose-cc-label {
567 grid-area: ctdl-compose-cc-label;
572 .ctdl-compose-cc-field {
573 grid-area: ctdl-compose-cc-field;
574 border-bottom: 1px solid Grey;
578 padding-right: 0.5vw;
583 .ctdl-compose-bcc-label {
584 grid-area: ctdl-compose-bcc-label;
589 .ctdl-compose-bcc-field {
590 grid-area: ctdl-compose-bcc-field;
592 padding-right: 0.5vw;
595 border-bottom: 1px solid Grey;
600 .ctdl-compose-subject-label {
601 grid-area: ctdl-compose-subject-label;
605 .ctdl-compose-subject-field {
606 grid-area: ctdl-compose-subject-field;
608 padding-right: 0.5vw;
611 border-bottom: 1px solid Grey;
615 .ctdl-compose-message-box {
616 grid-area: ctdl-compose-message-box;
620 border-bottom: 1px solid Grey;
625 .ctdl-compose-toolbar {
626 grid-area: ctdl-compose-toolbar;
632 justify-content: space-between;
641 display: none; /* set to 'block' to make it appear when needed */
644 border: 2px dashed #ccc;
647 justify-content: center;
650 background-color: GhostWhite;
653 .ctdl-upload.highlight {
657 .ctdl-compose-attachments-title {
659 background: Gainsboro;
663 justify-content: space-between;
673 .ctdl-login-screen-grid-container {
675 grid-template-columns: auto auto;
678 .ctdl-login-screen-grid-item {
681 vertical-align: middle;
684 .ctdl-login-screen-grid-item input {
691 background-color: DarkRed;