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 {
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: 1px solid GhostWhite;
105 background-color: GhostWhite;
111 .ctdl-sidebar-button:hover {
115 .ctdl-sidebar-button-selected {
117 background-color: Gainsboro;
120 .ctdl-grid-banner-item button {
121 background-color: #888888;
126 background-color: White;
133 .ctdl-forum-reading-pane {
134 background-color: DarkSlateGrey; /* Background behind the message boxes */
137 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
140 background-color: White;
142 padding: 5px; /* inside the box */
145 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
147 background-color: White;
148 padding: 5px; /* inside the box */
159 background-color: GhostWhite;
160 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
163 .ctdl-msg-header-info {
167 .ctdl-msg-header-buttons {
174 background-color: Blue;
177 background-color: GhostWhite;
187 .ctdl-msg-button:hover {
188 background-color: #123456;
191 border-color: #123456;
194 .ctdl-msg-button a:hover {
200 text-decoration: none;
208 clip-path: circle(50%);
217 text-decoration: none;
229 .ctdl-fmsg-content { /* message text, when in forum view */
233 .ctdl-mmsg-content { /* message text, when in mailbox view */
245 background-color: Gainsboro;
251 text-decoration: none;
255 background-color: #f5f5f5 !important;
256 color: Navy !important;
261 blockquote blockquote {
262 background-color: #ebebeb !important;
263 color: Maroon !important;
266 blockquote blockquote blockquote {
267 background-color: #e1e1e1 !important;
268 color: Green !important;
271 blockquote blockquote blockquote blockquote {
272 background-color: #d7d7d7 !important;
273 color: Purple !important;
276 blockquote blockquote blockquote blockquote blockquote {
277 background-color: #cdcdcd !important;
278 color: Teal !important;
286 .ctdl-forum-urlmodal {
291 background-color: GhostWhite;
298 .ctdl-roomlist-floor {
301 .ctdl-roomlist-floor-label {
307 .ctdl-roomlist-floor-rooms {
310 .ctdl-roomlist-room {
314 justify-content: space-around;
318 border-style: outset;
319 background-color: White;
322 margin-bottom: 0.25vw;
327 .ctdl-roomlist-roomicon {
333 .ctdl-roomlist-roomname {
340 .ctdl-roomlist-roomname-hasnewmsgs {
345 .ctdl-roomlist-mtime {
349 .ctdl-mailbox-grid-container {
355 background-color: GhostWhite;
358 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
362 background-color: #DDDDDD;
363 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
366 .ctdl-mailbox-table {
368 background-color: GhostWhite;
369 border-collapse: collapse;
372 .ctdl-mailbox-table td {
376 .ctdl-mailbox-table tr {
380 .ctdl-mailbox-table tr:nth-child(even) { /* this gives us the alternating-bar effect */
381 background-color: Gainsboro;
384 .ctdl-mailbox-table tr:hover {
385 background-color: Blue;
389 .ctdl-mailbox-table th {
393 background-color: SlateGrey;
399 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
400 background-color: SlateGrey;
405 .ctdl-mail-subject { /* Subject column in mailbox message list */
408 .ctdl-mail-sender { /* Sender column in mailbox message list */
411 .ctdl-mail-date { /* Date column in mailbox message list */
415 .ctdl-mail-msgnum { /* # column in mailbox message list */
419 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
421 background-color: GhostWhite;
427 .ctdl-compose-mail { /* mail composition window */
431 border: 2px dashed red; /* FIXME this goes away after testing */
434 .ctdl-login-screen-grid-container {
436 grid-template-columns: auto auto;
439 .ctdl-login-screen-grid-item {
442 vertical-align: middle;
445 .ctdl-login-screen-grid-item input {