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;
303 blockquote blockquote {
304 background-color: #ebebeb !important;
305 color: Maroon !important;
308 blockquote blockquote blockquote {
309 background-color: #e1e1e1 !important;
310 color: Green !important;
313 blockquote blockquote blockquote blockquote {
314 background-color: #d7d7d7 !important;
315 color: Purple !important;
318 blockquote blockquote blockquote blockquote blockquote {
319 background-color: #cdcdcd !important;
320 color: Teal !important;
328 .ctdl-forum-urlmodal {
333 background-color: GhostWhite;
340 .ctdl-roomlist-floor {
343 .ctdl-roomlist-floor-label {
349 .ctdl-roomlist-floor-rooms {
352 .ctdl-roomlist-room {
356 justify-content: space-around;
360 border-style: outset;
361 background-color: White;
364 margin-bottom: 0.25vw;
369 .ctdl-roomlist-roomicon {
375 .ctdl-roomlist-roomname {
382 .ctdl-roomlist-roomname-hasnewmsgs {
387 .ctdl-roomlist-mtime {
391 .ctdl-mailbox-grid-container {
397 background-color: GhostWhite;
398 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
401 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
404 background-color: #DDDDDD;
405 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
408 .ctdl-mailbox-table {
410 background-color: GhostWhite;
411 border-collapse: collapse;
414 .ctdl-mailbox-table td {
418 .ctdl-mailbox-table tr {
420 border-top: solid 1px LightGrey;
423 .ctdl-mailbox-table tr:hover {
424 border-top: solid 1px Blue;
425 border-bottom: solid 1px Blue;
426 background-color: LightGrey;
429 .ctdl-mailbox-table th {
433 background-color: SlateGrey;
439 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
440 background-color: SlateGrey;
445 .ctdl-mail-selected {
446 background-color: Blue;
450 .ctdl-mail-subject { /* Subject column in mailbox message list */
453 .ctdl-mail-sender { /* Sender column in mailbox message list */
456 .ctdl-mail-date { /* Date column in mailbox message list */
460 .ctdl-mail-msgnum { /* # column in mailbox message list */
464 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
466 background-color: GhostWhite;
472 .ctdl-compose-mail { /* mail composition window */
478 background-color: GhostWhite;
480 grid-template-rows: auto auto auto auto 1fr auto;
481 grid-template-columns: auto 1fr;
483 'ctdl-compose-to-label ctdl-compose-to-line'
484 'ctdl-compose-cc-label ctdl-compose-cc-field'
485 'ctdl-compose-bcc-label ctdl-compose-bcc-field'
486 'ctdl-compose-subject-label ctdl-compose-subject-field'
487 'ctdl-compose-message-box ctdl-compose-message-box'
488 'ctdl-compose-toolbar ctdl-compose-toolbar';
492 .ctdl-compose-to-label {
493 grid-area: ctdl-compose-to-label;
497 .ctdl-compose-to-line {
498 grid-area: ctdl-compose-to-line;
500 border-bottom: 1px solid Grey;
511 .ctdl-compose-to-field {
516 .ctdl-compose-cc-label {
517 grid-area: ctdl-compose-cc-label;
522 .ctdl-compose-cc-field {
523 grid-area: ctdl-compose-cc-field;
525 border-bottom: 1px solid Grey;
530 .ctdl-compose-bcc-label {
531 grid-area: ctdl-compose-bcc-label;
536 .ctdl-compose-bcc-field {
537 grid-area: ctdl-compose-bcc-field;
539 border-bottom: 1px solid Grey;
544 .ctdl-compose-subject-label {
545 grid-area: ctdl-compose-subject-label;
549 .ctdl-compose-subject-field {
550 grid-area: ctdl-compose-subject-field;
552 border-bottom: 1px solid Grey;
556 .ctdl-compose-message-box {
557 grid-area: ctdl-compose-message-box;
561 border-bottom: 1px solid Grey;
566 .ctdl-compose-toolbar {
567 grid-area: ctdl-compose-toolbar;
573 justify-content: space-between;
581 .ctdl-login-screen-grid-container {
583 grid-template-columns: auto auto;
586 .ctdl-login-screen-grid-item {
589 vertical-align: middle;
592 .ctdl-login-screen-grid-item input {