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 {
282 color: DarkSlateGrey;
285 .ctdl_mail_folders li:hover {
297 background-color: Gainsboro;
303 text-decoration: none;
309 .ctdl-forum-editor-body {
312 padding-top: 1px black;
313 padding-bottom: 1px black;
317 background-color: #f5f5f5 !important;
318 color: Navy !important;
319 border-left: 2px solid Navy;
326 blockquote blockquote {
327 background-color: #ebebeb !important;
328 color: Maroon !important;
329 border-left: 2px solid Maroon;
332 blockquote blockquote blockquote {
333 background-color: #e1e1e1 !important;
334 color: Green !important;
335 border-left: 2px solid Green;
338 blockquote blockquote blockquote blockquote {
339 background-color: #d7d7d7 !important;
340 color: Purple !important;
341 border-left: 2px solid Purple;
344 blockquote blockquote blockquote blockquote blockquote {
345 background-color: #cdcdcd !important;
346 color: Teal !important;
347 border-left: 2px solid Teal;
355 .ctdl-forum-urlmodal {
359 /* use this class for any small item that needs to be centered on the screen in the main div */
362 flex-direction: column;
363 justify-content: center;
367 background-color: GhostWhite;
373 background-color: GhostWhite;
380 .ctdl-roomlist-floor {
383 .ctdl-roomlist-floor-label {
389 .ctdl-roomlist-floor-rooms {
392 .ctdl-roomlist-room {
396 justify-content: space-around;
400 border-style: outset;
402 background-color: White;
405 margin-bottom: 0.1vw;
410 .ctdl-roomlist-roomicon {
416 .ctdl-roomlist-roomname {
423 .ctdl-roomlist-roomname-hasnewmsgs {
428 .ctdl-roomlist-mtime {
432 .ctdl-mailbox-grid-container {
438 background-color: GhostWhite;
439 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
442 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
445 background-color: #DDDDDD;
446 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
449 .ctdl-mailbox-table {
451 background-color: GhostWhite;
452 border-collapse: collapse;
455 .ctdl-mailbox-table td {
459 .ctdl-mailbox-table tr {
461 border-top: solid 1px LightGrey;
464 .ctdl-mailbox-table tr:hover {
465 border-top: solid 1px Blue;
466 border-bottom: solid 1px Blue;
467 background-color: LightGrey;
470 .ctdl-mailbox-table th {
474 background-color: SlateGrey;
480 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
481 background-color: SlateGrey;
486 .ctdl-mail-selected {
487 background-color: Blue;
491 .ctdl-mail-subject { /* Subject column in mailbox message list */
494 .ctdl-mail-sender { /* Sender column in mailbox message list */
497 .ctdl-mail-date { /* Date column in mailbox message list */
501 .ctdl-mail-msgnum { /* # column in mailbox message list */
505 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
507 background-color: GhostWhite;
513 .ctdl-compose-mail { /* mail composition window */
519 background-color: GhostWhite;
521 grid-template-rows: auto auto auto auto 1fr auto;
522 grid-template-columns: auto 1fr;
524 'ctdl-compose-to-label ctdl-compose-to-line'
525 'ctdl-compose-cc-label ctdl-compose-cc-field'
526 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
527 'ctdl-compose-subject-label ctdl-compose-subject-field'
528 'ctdl-compose-message-box ctdl-compose-message-box'
529 'ctdl-compose-toolbar ctdl-compose-toolbar';
533 .ctdl-compose-to-label {
534 grid-area: ctdl-compose-to-label;
538 .ctdl-compose-to-line {
539 grid-area: ctdl-compose-to-line;
541 padding-right: 0.5vw;
544 border-bottom: 1px solid Grey;
555 .ctdl-compose-to-field {
560 .ctdl-compose-cc-label {
561 grid-area: ctdl-compose-cc-label;
566 .ctdl-compose-cc-field {
567 grid-area: ctdl-compose-cc-field;
568 border-bottom: 1px solid Grey;
572 padding-right: 0.5vw;
577 .ctdl-compose-bcc-label {
578 grid-area: ctdl-compose-bcc-label;
583 .ctdl-compose-bcc-field {
584 grid-area: ctdl-compose-bcc-field;
586 padding-right: 0.5vw;
589 border-bottom: 1px solid Grey;
594 .ctdl-compose-subject-label {
595 grid-area: ctdl-compose-subject-label;
599 .ctdl-compose-subject-field {
600 grid-area: ctdl-compose-subject-field;
602 padding-right: 0.5vw;
605 border-bottom: 1px solid Grey;
609 .ctdl-compose-message-box {
610 grid-area: ctdl-compose-message-box;
614 border-bottom: 1px solid Grey;
619 .ctdl-compose-toolbar {
620 grid-area: ctdl-compose-toolbar;
626 justify-content: space-between;
634 .ctdl-login-screen-grid-container {
636 grid-template-columns: auto auto;
639 .ctdl-login-screen-grid-item {
642 vertical-align: middle;
645 .ctdl-login-screen-grid-item input {
652 background-color: DarkRed;