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 {
248 clip-path: circle(50%);
257 text-decoration: none;
269 .ctdl-fmsg-content { /* message text, when in forum view */
273 .ctdl-mmsg-content { /* message text, when in mailbox view */
285 background-color: Gainsboro;
291 text-decoration: none;
297 .ctdl-forum-editor-body {
300 padding-top: 1px black;
301 padding-bottom: 1px black;
305 background-color: #f5f5f5 !important;
306 color: Navy !important;
307 border-left: 2px solid Navy;
314 blockquote blockquote {
315 background-color: #ebebeb !important;
316 color: Maroon !important;
317 border-left: 2px solid Maroon;
320 blockquote blockquote blockquote {
321 background-color: #e1e1e1 !important;
322 color: Green !important;
323 border-left: 2px solid Green;
326 blockquote blockquote blockquote blockquote {
327 background-color: #d7d7d7 !important;
328 color: Purple !important;
329 border-left: 2px solid Purple;
332 blockquote blockquote blockquote blockquote blockquote {
333 background-color: #cdcdcd !important;
334 color: Teal !important;
335 border-left: 2px solid Teal;
343 .ctdl-forum-urlmodal {
348 background-color: GhostWhite;
355 .ctdl-roomlist-floor {
358 .ctdl-roomlist-floor-label {
364 .ctdl-roomlist-floor-rooms {
367 .ctdl-roomlist-room {
371 justify-content: space-around;
375 border-style: outset;
376 background-color: White;
379 margin-bottom: 0.25vw;
384 .ctdl-roomlist-roomicon {
390 .ctdl-roomlist-roomname {
397 .ctdl-roomlist-roomname-hasnewmsgs {
402 .ctdl-roomlist-mtime {
406 .ctdl-mailbox-grid-container {
412 background-color: GhostWhite;
413 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
416 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
419 background-color: #DDDDDD;
420 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
423 .ctdl-mailbox-table {
425 background-color: GhostWhite;
426 border-collapse: collapse;
429 .ctdl-mailbox-table td {
433 .ctdl-mailbox-table tr {
435 border-top: solid 1px LightGrey;
438 .ctdl-mailbox-table tr:hover {
439 border-top: solid 1px Blue;
440 border-bottom: solid 1px Blue;
441 background-color: LightGrey;
444 .ctdl-mailbox-table th {
448 background-color: SlateGrey;
454 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
455 background-color: SlateGrey;
460 .ctdl-mail-selected {
461 background-color: Blue;
465 .ctdl-mail-subject { /* Subject column in mailbox message list */
468 .ctdl-mail-sender { /* Sender column in mailbox message list */
471 .ctdl-mail-date { /* Date column in mailbox message list */
475 .ctdl-mail-msgnum { /* # column in mailbox message list */
479 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
481 background-color: GhostWhite;
487 .ctdl-compose-mail { /* mail composition window */
493 background-color: GhostWhite;
495 grid-template-rows: auto auto auto auto 1fr auto;
496 grid-template-columns: auto 1fr;
498 'ctdl-compose-to-label ctdl-compose-to-line'
499 'ctdl-compose-cc-label ctdl-compose-cc-field'
500 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
501 'ctdl-compose-subject-label ctdl-compose-subject-field'
502 'ctdl-compose-message-box ctdl-compose-message-box'
503 'ctdl-compose-toolbar ctdl-compose-toolbar';
507 .ctdl-compose-to-label {
508 grid-area: ctdl-compose-to-label;
512 .ctdl-compose-to-line {
513 grid-area: ctdl-compose-to-line;
515 padding-right: 0.5vw;
518 border-bottom: 1px solid Grey;
529 .ctdl-compose-to-field {
534 .ctdl-compose-cc-label {
535 grid-area: ctdl-compose-cc-label;
540 .ctdl-compose-cc-field {
541 grid-area: ctdl-compose-cc-field;
542 border-bottom: 1px solid Grey;
546 padding-right: 0.5vw;
551 .ctdl-compose-bcc-label {
552 grid-area: ctdl-compose-bcc-label;
557 .ctdl-compose-bcc-field {
558 grid-area: ctdl-compose-bcc-field;
560 padding-right: 0.5vw;
563 border-bottom: 1px solid Grey;
568 .ctdl-compose-subject-label {
569 grid-area: ctdl-compose-subject-label;
573 .ctdl-compose-subject-field {
574 grid-area: ctdl-compose-subject-field;
576 padding-right: 0.5vw;
579 border-bottom: 1px solid Grey;
583 .ctdl-compose-message-box {
584 grid-area: ctdl-compose-message-box;
588 border-bottom: 1px solid Grey;
593 .ctdl-compose-toolbar {
594 grid-area: ctdl-compose-toolbar;
600 justify-content: space-between;
608 .ctdl-login-screen-grid-container {
610 grid-template-columns: auto auto;
613 .ctdl-login-screen-grid-item {
616 vertical-align: middle;
619 .ctdl-login-screen-grid-item input {