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 .ctdl-main-grid-container { /* This grid implements the "holy grail layout" of the screen */
15 grid-template-rows: 5vh auto;
16 grid-template-columns: 12vw auto;
18 'ctdl-mg-banner ctdl-mg-banner'
19 'ctdl-mg-menu ctdl-mg-main';
21 background-color: DarkSlateGrey; /* This is the color of the lines between the boxes, and also the boxes themselves if not overridden */
22 padding: 0; /* This is the border around the edges of the screen */
27 .ctdl-grid-banner-item { /* Top banner, referenced by the grid container */
28 grid-area: ctdl-mg-banner;
29 background-color: DarkSlateGrey;
32 .ctdl-grid-sidebar-item { /* Side bar, referenced by the grid container */
33 grid-area: ctdl-mg-menu;
34 background-color: GhostWhite;
37 .ctdl-grid-main-item { /* Main content area of the screen, referenced by the grid container */
38 grid-area: ctdl-mg-main;
43 .ctdl-main-grid-container > div {
47 .ctdl-banner-buttons { /* Flexbox container for everything we stick into the banner */
51 justify-content: space-between;
59 .ctdl-banner-left { /* Items which should be grouped to the LEFT side of the banner */
66 .ctdl-banner-center { /* Items which should be grouped to the MIDDLE of the banner */
73 .ctdl-banner-right { /* Items which should be grouped to the RIGHT side of the banner */
80 .ctdl-banner-buttons li, .ctdl-banner-buttons li button {
83 background-color: DarkSlateGrey;
91 .ctdl-banner-buttons li button:hover {
92 background-color: Black;
95 .ctdl-banner-buttons a { /* For example, the Login / Log Off button */
99 .ctdl-banner-buttons span { /* For example, the name of the logged in user */
104 background-color: White;
111 html,body,h1,h2,h3,h4,h5 {
112 font-family: sans-serif
116 display: none; /* set to "block" to make the modal appear */
121 transform: translate(-50%, -50%);
122 border-style: outset;
125 justify-content: center;
128 background-color: GhostWhite;
132 background-color: GhostWhite;
141 background-color: GhostWhite;
145 .ctdl-sidebar-button {
149 border: 1px solid GhostWhite;
150 background-color: GhostWhite;
156 .ctdl-sidebar-button:hover {
160 .ctdl-sidebar-button-selected {
162 background-color: Gainsboro;
165 .ctdl-grid-banner-item button {
166 background-color: #888888;
170 .ctdl-forum-reading-pane {
171 background-color: DarkSlateGrey; /* Background behind the message boxes */
174 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
177 background-color: White;
179 padding: 5px; /* inside the box */
182 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
184 background-color: White;
185 padding: 5px; /* inside the box */
196 background-color: GhostWhite;
197 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
200 .ctdl-msg-header-info {
204 .ctdl-msg-header-buttons {
211 background-color: Blue;
214 background-color: GhostWhite;
224 .ctdl-msg-button:hover {
225 background-color: #123456;
228 border-color: #123456;
231 .ctdl-msg-button a:hover {
237 text-decoration: none;
245 clip-path: circle(50%);
254 text-decoration: none;
266 .ctdl-fmsg-content { /* message text, when in forum view */
270 .ctdl-mmsg-content { /* message text, when in mailbox view */
282 background-color: Gainsboro;
288 text-decoration: none;
292 background-color: #f5f5f5 !important;
293 color: Navy !important;
298 blockquote blockquote {
299 background-color: #ebebeb !important;
300 color: Maroon !important;
303 blockquote blockquote blockquote {
304 background-color: #e1e1e1 !important;
305 color: Green !important;
308 blockquote blockquote blockquote blockquote {
309 background-color: #d7d7d7 !important;
310 color: Purple !important;
313 blockquote blockquote blockquote blockquote blockquote {
314 background-color: #cdcdcd !important;
315 color: Teal !important;
323 .ctdl-forum-urlmodal {
328 background-color: GhostWhite;
335 .ctdl-roomlist-floor {
338 .ctdl-roomlist-floor-label {
344 .ctdl-roomlist-floor-rooms {
347 .ctdl-roomlist-room {
351 justify-content: space-around;
355 border-style: outset;
356 background-color: White;
359 margin-bottom: 0.25vw;
364 .ctdl-roomlist-roomicon {
370 .ctdl-roomlist-roomname {
377 .ctdl-roomlist-roomname-hasnewmsgs {
382 .ctdl-roomlist-mtime {
386 .ctdl-mailbox-grid-container {
392 background-color: GhostWhite;
393 grid-template-rows: 15vw 1fr; /* "1fr" means "all of the remaining space" */
396 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
399 background-color: #DDDDDD;
400 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
403 .ctdl-mailbox-table {
405 background-color: GhostWhite;
406 border-collapse: collapse;
409 .ctdl-mailbox-table td {
413 .ctdl-mailbox-table tr {
415 border-top: solid 1px LightGrey;
418 .ctdl-mailbox-table tr:hover {
419 border-top: solid 1px Blue;
420 border-bottom: solid 1px Blue;
421 background-color: LightGrey;
424 .ctdl-mailbox-table th {
428 background-color: SlateGrey;
434 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
435 background-color: SlateGrey;
440 .ctdl-mail-selected {
441 background-color: Blue;
445 .ctdl-mail-subject { /* Subject column in mailbox message list */
448 .ctdl-mail-sender { /* Sender column in mailbox message list */
451 .ctdl-mail-date { /* Date column in mailbox message list */
455 .ctdl-mail-msgnum { /* # column in mailbox message list */
459 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
461 background-color: GhostWhite;
467 .ctdl-compose-mail { /* mail composition window */
471 border: 2px dashed red; /* FIXME this goes away after testing */
474 .ctdl-login-screen-grid-container {
476 grid-template-columns: auto auto;
479 .ctdl-login-screen-grid-item {
482 vertical-align: middle;
485 .ctdl-login-screen-grid-item input {