2 Copyright (c) 1996-2022 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 {
249 clip-path: circle(50%);
258 text-decoration: none;
270 .ctdl-fmsg-content { /* message text, when in forum view */
274 .ctdl-mmsg-content { /* message text, when in mailbox view */
286 background-color: Gainsboro;
292 text-decoration: none;
296 background-color: #f5f5f5 !important;
297 color: Navy !important;
298 border-left: 2px solid Navy;
305 blockquote blockquote {
306 background-color: #ebebeb !important;
307 color: Maroon !important;
308 border-left: 2px solid Maroon;
311 blockquote blockquote blockquote {
312 background-color: #e1e1e1 !important;
313 color: Green !important;
314 border-left: 2px solid Green;
317 blockquote blockquote blockquote blockquote {
318 background-color: #d7d7d7 !important;
319 color: Purple !important;
320 border-left: 2px solid Purple;
323 blockquote blockquote blockquote blockquote blockquote {
324 background-color: #cdcdcd !important;
325 color: Teal !important;
326 border-left: 2px solid Teal;
334 .ctdl-forum-urlmodal {
339 background-color: GhostWhite;
346 .ctdl-roomlist-floor {
349 .ctdl-roomlist-floor-label {
355 .ctdl-roomlist-floor-rooms {
358 .ctdl-roomlist-room {
362 justify-content: space-around;
366 border-style: outset;
367 background-color: White;
370 margin-bottom: 0.25vw;
375 .ctdl-roomlist-roomicon {
381 .ctdl-roomlist-roomname {
388 .ctdl-roomlist-roomname-hasnewmsgs {
393 .ctdl-roomlist-mtime {
397 .ctdl-mailbox-grid-container {
403 background-color: GhostWhite;
404 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
407 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
410 background-color: #DDDDDD;
411 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
414 .ctdl-mailbox-table {
416 background-color: GhostWhite;
417 border-collapse: collapse;
420 .ctdl-mailbox-table td {
424 .ctdl-mailbox-table tr {
426 border-top: solid 1px LightGrey;
429 .ctdl-mailbox-table tr:hover {
430 border-top: solid 1px Blue;
431 border-bottom: solid 1px Blue;
432 background-color: LightGrey;
435 .ctdl-mailbox-table th {
439 background-color: SlateGrey;
445 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
446 background-color: SlateGrey;
451 .ctdl-mail-selected {
452 background-color: Blue;
456 .ctdl-mail-subject { /* Subject column in mailbox message list */
459 .ctdl-mail-sender { /* Sender column in mailbox message list */
462 .ctdl-mail-date { /* Date column in mailbox message list */
466 .ctdl-mail-msgnum { /* # column in mailbox message list */
470 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
472 background-color: GhostWhite;
478 .ctdl-compose-mail { /* mail composition window */
484 background-color: GhostWhite;
486 grid-template-rows: auto auto auto auto 1fr auto;
487 grid-template-columns: auto 1fr;
489 'ctdl-compose-to-label ctdl-compose-to-line'
490 'ctdl-compose-cc-label ctdl-compose-cc-field'
491 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
492 'ctdl-compose-subject-label ctdl-compose-subject-field'
493 'ctdl-compose-message-box ctdl-compose-message-box'
494 'ctdl-compose-toolbar ctdl-compose-toolbar';
498 .ctdl-compose-to-label {
499 grid-area: ctdl-compose-to-label;
503 .ctdl-compose-to-line {
504 grid-area: ctdl-compose-to-line;
506 padding-right: 0.5vw;
509 border-bottom: 1px solid Grey;
520 .ctdl-compose-to-field {
525 .ctdl-compose-cc-label {
526 grid-area: ctdl-compose-cc-label;
531 .ctdl-compose-cc-field {
532 grid-area: ctdl-compose-cc-field;
533 border-bottom: 1px solid Grey;
537 padding-right: 0.5vw;
542 .ctdl-compose-bcc-label {
543 grid-area: ctdl-compose-bcc-label;
548 .ctdl-compose-bcc-field {
549 grid-area: ctdl-compose-bcc-field;
551 padding-right: 0.5vw;
554 border-bottom: 1px solid Grey;
559 .ctdl-compose-subject-label {
560 grid-area: ctdl-compose-subject-label;
564 .ctdl-compose-subject-field {
565 grid-area: ctdl-compose-subject-field;
567 padding-right: 0.5vw;
570 border-bottom: 1px solid Grey;
574 .ctdl-compose-message-box {
575 grid-area: ctdl-compose-message-box;
579 border-bottom: 1px solid Grey;
584 .ctdl-compose-toolbar {
585 grid-area: ctdl-compose-toolbar;
591 justify-content: space-between;
599 .ctdl-login-screen-grid-container {
601 grid-template-columns: auto auto;
604 .ctdl-login-screen-grid-item {
607 vertical-align: middle;
610 .ctdl-login-screen-grid-item input {