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;
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: DarkSlateGrey; /* Background behind the message boxes */
178 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
181 background-color: White;
183 padding: 5px; /* inside the box */
186 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
188 background-color: White;
189 padding: 5px; /* inside the box */
200 background-color: GhostWhite;
201 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
204 .ctdl-msg-header-info {
208 .ctdl-msg-header-buttons {
215 background-color: Blue;
218 background-color: GhostWhite;
225 .ctdl-msg-button:hover {
226 background-color: #123456;
229 border-color: #123456;
235 text-decoration: none;
239 .ctdl-msg-button a:hover {
250 clip-path: circle(50%);
259 text-decoration: none;
271 .ctdl-fmsg-content { /* message text, when in forum view */
275 .ctdl-mmsg-content { /* message text, when in mailbox view */
287 background-color: Gainsboro;
293 text-decoration: none;
297 background-color: #f5f5f5 !important;
298 color: Navy !important;
299 border-left: 2px solid Navy;
306 blockquote blockquote {
307 background-color: #ebebeb !important;
308 color: Maroon !important;
309 border-left: 2px solid Maroon;
312 blockquote blockquote blockquote {
313 background-color: #e1e1e1 !important;
314 color: Green !important;
315 border-left: 2px solid Green;
318 blockquote blockquote blockquote blockquote {
319 background-color: #d7d7d7 !important;
320 color: Purple !important;
321 border-left: 2px solid Purple;
324 blockquote blockquote blockquote blockquote blockquote {
325 background-color: #cdcdcd !important;
326 color: Teal !important;
327 border-left: 2px solid Teal;
335 .ctdl-forum-urlmodal {
340 background-color: GhostWhite;
347 .ctdl-roomlist-floor {
350 .ctdl-roomlist-floor-label {
356 .ctdl-roomlist-floor-rooms {
359 .ctdl-roomlist-room {
363 justify-content: space-around;
367 border-style: outset;
368 background-color: White;
371 margin-bottom: 0.25vw;
376 .ctdl-roomlist-roomicon {
382 .ctdl-roomlist-roomname {
389 .ctdl-roomlist-roomname-hasnewmsgs {
394 .ctdl-roomlist-mtime {
398 .ctdl-mailbox-grid-container {
404 background-color: GhostWhite;
405 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
408 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
411 background-color: #DDDDDD;
412 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
415 .ctdl-mailbox-table {
417 background-color: GhostWhite;
418 border-collapse: collapse;
421 .ctdl-mailbox-table td {
425 .ctdl-mailbox-table tr {
427 border-top: solid 1px LightGrey;
430 .ctdl-mailbox-table tr:hover {
431 border-top: solid 1px Blue;
432 border-bottom: solid 1px Blue;
433 background-color: LightGrey;
436 .ctdl-mailbox-table th {
440 background-color: SlateGrey;
446 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
447 background-color: SlateGrey;
452 .ctdl-mail-selected {
453 background-color: Blue;
457 .ctdl-mail-subject { /* Subject column in mailbox message list */
460 .ctdl-mail-sender { /* Sender column in mailbox message list */
463 .ctdl-mail-date { /* Date column in mailbox message list */
467 .ctdl-mail-msgnum { /* # column in mailbox message list */
471 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
473 background-color: GhostWhite;
479 .ctdl-compose-mail { /* mail composition window */
485 background-color: GhostWhite;
487 grid-template-rows: auto auto auto auto 1fr auto;
488 grid-template-columns: auto 1fr;
490 'ctdl-compose-to-label ctdl-compose-to-line'
491 'ctdl-compose-cc-label ctdl-compose-cc-field'
492 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
493 'ctdl-compose-subject-label ctdl-compose-subject-field'
494 'ctdl-compose-message-box ctdl-compose-message-box'
495 'ctdl-compose-toolbar ctdl-compose-toolbar';
499 .ctdl-compose-to-label {
500 grid-area: ctdl-compose-to-label;
504 .ctdl-compose-to-line {
505 grid-area: ctdl-compose-to-line;
507 padding-right: 0.5vw;
510 border-bottom: 1px solid Grey;
521 .ctdl-compose-to-field {
526 .ctdl-compose-cc-label {
527 grid-area: ctdl-compose-cc-label;
532 .ctdl-compose-cc-field {
533 grid-area: ctdl-compose-cc-field;
534 border-bottom: 1px solid Grey;
538 padding-right: 0.5vw;
543 .ctdl-compose-bcc-label {
544 grid-area: ctdl-compose-bcc-label;
549 .ctdl-compose-bcc-field {
550 grid-area: ctdl-compose-bcc-field;
552 padding-right: 0.5vw;
555 border-bottom: 1px solid Grey;
560 .ctdl-compose-subject-label {
561 grid-area: ctdl-compose-subject-label;
565 .ctdl-compose-subject-field {
566 grid-area: ctdl-compose-subject-field;
568 padding-right: 0.5vw;
571 border-bottom: 1px solid Grey;
575 .ctdl-compose-message-box {
576 grid-area: ctdl-compose-message-box;
580 border-bottom: 1px solid Grey;
585 .ctdl-compose-toolbar {
586 grid-area: ctdl-compose-toolbar;
592 justify-content: space-between;
600 .ctdl-login-screen-grid-container {
602 grid-template-columns: auto auto;
605 .ctdl-login-screen-grid-item {
608 vertical-align: middle;
611 .ctdl-login-screen-grid-item input {