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 contains the "holy grail layout" of the screen */
15 grid-template-rows: 100px auto;
16 grid-template-columns: 200px auto;
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 */
29 background-color: DarkSlateGrey;
32 .ctdl-grid-sidebar-item { /* Side bar, referenced by the grid container */
34 background-color: GhostWhite;
37 .ctdl-grid-main-item { /* Main content area of the screen, referenced by the grid container */
43 .ctdl-main-grid-container > div {
48 .ctdl-banner-buttons li, .ctdl-banner-buttons li button {
52 background-color: DarkSlateGrey;
58 .ctdl-banner-buttons li button:hover {
59 background-color: Black;
62 .ctdl-banner-buttons a {
66 html,body,h1,h2,h3,h4,h5 {
67 font-family: sans-serif
71 display: none; /* set to "block" to make the modal appear */
76 transform: translate(-50%, -50%);
80 justify-content: center;
83 background-color: GhostWhite;
87 background-color: GhostWhite;
96 background-color: GhostWhite;
100 .ctdl-sidebar-button {
104 border-color: GhostWhite;
105 background-color: Gainsboro;
110 .ctdl-sidebar-button:hover {
111 background-color: Blue;
115 .ctdl-sidebar-button-selected {
118 background-color: SlateGrey;
121 .ctdl-grid-banner-item button {
122 background-color: #888888;
126 .ctdl-forum-reading-pane {
127 background-color: DarkSlateGrey; /* Background behind the message boxes */
130 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
133 background-color: White;
135 padding: 5px; /* inside the box */
138 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
140 background-color: White;
141 padding: 5px; /* inside the box */
152 background-color: GhostWhite;
153 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
156 .ctdl-msg-header-info {
160 .ctdl-msg-header-buttons {
167 background-color: Blue;
170 background-color: GhostWhite;
180 .ctdl-msg-button:hover {
181 background-color: #123456;
184 border-color: #123456;
187 .ctdl-msg-button a:hover {
193 text-decoration: none;
201 clip-path: circle(50%);
210 text-decoration: none;
222 .ctdl-fmsg-content { /* message text, when in forum view */
226 .ctdl-mmsg-content { /* message text, when in mailbox view */
238 background-color: Gainsboro;
244 text-decoration: none;
248 background-color: #f5f5f5 !important;
249 color: Navy !important;
254 blockquote blockquote {
255 background-color: #ebebeb !important;
256 color: Maroon !important;
259 blockquote blockquote blockquote {
260 background-color: #e1e1e1 !important;
261 color: Green !important;
264 blockquote blockquote blockquote blockquote {
265 background-color: #d7d7d7 !important;
266 color: Purple !important;
269 blockquote blockquote blockquote blockquote blockquote {
270 background-color: #cdcdcd !important;
271 color: Teal !important;
279 .ctdl-forum-urlmodal {
284 background-color: GhostWhite;
291 .ctdl-roomlist-floor {
294 .ctdl-roomlist-floor-label {
300 .ctdl-roomlist-floor-rooms {
303 .ctdl-roomlist-room {
307 justify-content: space-around;
311 border-style: outset;
312 background-color: White;
315 margin-bottom: 0.25vw;
320 .ctdl-roomlist-roomicon {
326 .ctdl-roomlist-roomname {
333 .ctdl-roomlist-roomname-hasnewmsgs {
338 .ctdl-roomlist-mtime {
342 .ctdl-mailbox-grid-container {
348 background-color: GhostWhite;
351 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
355 background-color: #DDDDDD;
356 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
359 .ctdl-mailbox-table {
361 background-color: GhostWhite;
362 border-collapse: collapse;
365 .ctdl-mailbox-table td {
369 .ctdl-mailbox-table tr {
373 .ctdl-mailbox-table tr:nth-child(even) { /* this gives us the alternating-bar effect */
374 background-color: Gainsboro;
377 .ctdl-mailbox-table tr:hover {
378 background-color: Blue;
382 .ctdl-mailbox-table th {
386 background-color: SlateGrey;
392 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
393 background-color: SlateGrey;
398 .ctdl-mail-subject { /* Subject column in mailbox message list */
401 .ctdl-mail-sender { /* Sender column in mailbox message list */
404 .ctdl-mail-date { /* Date column in mailbox message list */
408 .ctdl-mail-msgnum { /* # column in mailbox message list */
412 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
414 background-color: GhostWhite;
420 .ctdl-compose-mail { /* mail composition window */
424 border: 2px dashed red; /* FIXME this goes away after testing */
427 .ctdl-login-screen-grid-container {
429 grid-template-columns: auto auto;
432 .ctdl-login-screen-grid-item {
435 vertical-align: middle;
438 .ctdl-login-screen-grid-item input {