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;
228 .ctdl-msg-button:hover {
229 background-color: #123456;
232 border-color: #123456;
235 .ctdl-msg-button a:hover {
241 text-decoration: none;
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;
302 blockquote blockquote {
303 background-color: #ebebeb !important;
304 color: Maroon !important;
307 blockquote blockquote blockquote {
308 background-color: #e1e1e1 !important;
309 color: Green !important;
312 blockquote blockquote blockquote blockquote {
313 background-color: #d7d7d7 !important;
314 color: Purple !important;
317 blockquote blockquote blockquote blockquote blockquote {
318 background-color: #cdcdcd !important;
319 color: Teal !important;
327 .ctdl-forum-urlmodal {
332 background-color: GhostWhite;
339 .ctdl-roomlist-floor {
342 .ctdl-roomlist-floor-label {
348 .ctdl-roomlist-floor-rooms {
351 .ctdl-roomlist-room {
355 justify-content: space-around;
359 border-style: outset;
360 background-color: White;
363 margin-bottom: 0.25vw;
368 .ctdl-roomlist-roomicon {
374 .ctdl-roomlist-roomname {
381 .ctdl-roomlist-roomname-hasnewmsgs {
386 .ctdl-roomlist-mtime {
390 .ctdl-mailbox-grid-container {
396 background-color: GhostWhite;
397 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
400 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
403 background-color: #DDDDDD;
404 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
407 .ctdl-mailbox-table {
409 background-color: GhostWhite;
410 border-collapse: collapse;
413 .ctdl-mailbox-table td {
417 .ctdl-mailbox-table tr {
419 border-top: solid 1px LightGrey;
422 .ctdl-mailbox-table tr:hover {
423 border-top: solid 1px Blue;
424 border-bottom: solid 1px Blue;
425 background-color: LightGrey;
428 .ctdl-mailbox-table th {
432 background-color: SlateGrey;
438 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
439 background-color: SlateGrey;
444 .ctdl-mail-selected {
445 background-color: Blue;
449 .ctdl-mail-subject { /* Subject column in mailbox message list */
452 .ctdl-mail-sender { /* Sender column in mailbox message list */
455 .ctdl-mail-date { /* Date column in mailbox message list */
459 .ctdl-mail-msgnum { /* # column in mailbox message list */
463 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
465 background-color: GhostWhite;
471 .ctdl-compose-mail { /* mail composition window */
477 background-color: GhostWhite;
479 grid-template-rows: auto auto 1fr auto;
480 grid-template-columns: auto 1fr;
482 'ctdl-compose-to-label ctdl-compose-to-field'
483 'ctdl-compose-subject-label ctdl-compose-subject-field'
484 'ctdl-compose-message-box ctdl-compose-message-box'
485 'ctdl-compose-toolbar ctdl-compose-toolbar';
489 .ctdl-compose-to-label {
490 grid-area: ctdl-compose-to-label;
494 .ctdl-compose-to-field {
495 grid-area: ctdl-compose-to-field;
497 border-bottom: 1px solid Grey;
501 .ctdl-compose-subject-label {
502 grid-area: ctdl-compose-subject-label;
506 .ctdl-compose-subject-field {
507 grid-area: ctdl-compose-subject-field;
509 border-bottom: 1px solid Grey;
513 .ctdl-compose-message-box {
514 grid-area: ctdl-compose-message-box;
520 .ctdl-compose-toolbar {
521 grid-area: ctdl-compose-toolbar;
526 .ctdl-login-screen-grid-container {
528 grid-template-columns: auto auto;
531 .ctdl-login-screen-grid-item {
534 vertical-align: middle;
537 .ctdl-login-screen-grid-item input {