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: 5vh auto;
16 grid-template-columns: 12vw 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;
127 background-color: White;
134 .ctdl-forum-reading-pane {
135 background-color: DarkSlateGrey; /* Background behind the message boxes */
138 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
141 background-color: White;
143 padding: 5px; /* inside the box */
146 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
148 background-color: White;
149 padding: 5px; /* inside the box */
160 background-color: GhostWhite;
161 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
164 .ctdl-msg-header-info {
168 .ctdl-msg-header-buttons {
175 background-color: Blue;
178 background-color: GhostWhite;
188 .ctdl-msg-button:hover {
189 background-color: #123456;
192 border-color: #123456;
195 .ctdl-msg-button a:hover {
201 text-decoration: none;
209 clip-path: circle(50%);
218 text-decoration: none;
230 .ctdl-fmsg-content { /* message text, when in forum view */
234 .ctdl-mmsg-content { /* message text, when in mailbox view */
246 background-color: Gainsboro;
252 text-decoration: none;
256 background-color: #f5f5f5 !important;
257 color: Navy !important;
262 blockquote blockquote {
263 background-color: #ebebeb !important;
264 color: Maroon !important;
267 blockquote blockquote blockquote {
268 background-color: #e1e1e1 !important;
269 color: Green !important;
272 blockquote blockquote blockquote blockquote {
273 background-color: #d7d7d7 !important;
274 color: Purple !important;
277 blockquote blockquote blockquote blockquote blockquote {
278 background-color: #cdcdcd !important;
279 color: Teal !important;
287 .ctdl-forum-urlmodal {
292 background-color: GhostWhite;
299 .ctdl-roomlist-floor {
302 .ctdl-roomlist-floor-label {
308 .ctdl-roomlist-floor-rooms {
311 .ctdl-roomlist-room {
315 justify-content: space-around;
319 border-style: outset;
320 background-color: White;
323 margin-bottom: 0.25vw;
328 .ctdl-roomlist-roomicon {
334 .ctdl-roomlist-roomname {
341 .ctdl-roomlist-roomname-hasnewmsgs {
346 .ctdl-roomlist-mtime {
350 .ctdl-mailbox-grid-container {
356 background-color: GhostWhite;
359 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
363 background-color: #DDDDDD;
364 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
367 .ctdl-mailbox-table {
369 background-color: GhostWhite;
370 border-collapse: collapse;
373 .ctdl-mailbox-table td {
377 .ctdl-mailbox-table tr {
381 .ctdl-mailbox-table tr:nth-child(even) { /* this gives us the alternating-bar effect */
382 background-color: Gainsboro;
385 .ctdl-mailbox-table tr:hover {
386 background-color: Blue;
390 .ctdl-mailbox-table th {
394 background-color: SlateGrey;
400 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
401 background-color: SlateGrey;
406 .ctdl-mail-subject { /* Subject column in mailbox message list */
409 .ctdl-mail-sender { /* Sender column in mailbox message list */
412 .ctdl-mail-date { /* Date column in mailbox message list */
416 .ctdl-mail-msgnum { /* # column in mailbox message list */
420 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
422 background-color: GhostWhite;
428 .ctdl-compose-mail { /* mail composition window */
432 border: 2px dashed red; /* FIXME this goes away after testing */
435 .ctdl-login-screen-grid-container {
437 grid-template-columns: auto auto;
440 .ctdl-login-screen-grid-item {
443 vertical-align: middle;
446 .ctdl-login-screen-grid-item input {