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-class button {
104 border-color: GhostWhite;
105 background-color: GhostWhite;
110 .ctdl-sidebar-class button:hover {
111 background-color: White;
114 .ctdl-grid-banner-item button {
115 background-color: #888888;
119 .ctdl-forum-reading-pane {
120 background-color: DarkSlateGrey; /* Background behind the message boxes */
123 .ctdl-fmsg-wrapper { /* message wrapper for forum view */
126 background-color: White;
128 padding: 5px; /* inside the box */
131 .ctdl-mmsg-wrapper { /* message wrapper for mailbox view */
133 background-color: White;
134 padding: 5px; /* inside the box */
145 background-color: GhostWhite;
146 margin-bottom: 10px; /* this is the vertical space between the header and the message text */
149 .ctdl-msg-header-info {
153 .ctdl-msg-header-buttons {
160 background-color: Blue;
163 background-color: GhostWhite;
173 .ctdl-msg-button:hover {
174 background-color: #123456;
177 border-color: #123456;
180 .ctdl-msg-button a:hover {
186 text-decoration: none;
194 clip-path: circle(50%);
203 text-decoration: none;
215 .ctdl-fmsg-content { /* message text, when in forum view */
219 .ctdl-mmsg-content { /* message text, when in mailbox view */
234 text-decoration: none;
238 background-color: #f5f5f5 !important;
239 color: Navy !important;
244 blockquote blockquote {
245 background-color: #ebebeb !important;
246 color: Maroon !important;
249 blockquote blockquote blockquote {
250 background-color: #e1e1e1 !important;
251 color: Green !important;
254 blockquote blockquote blockquote blockquote {
255 background-color: #d7d7d7 !important;
256 color: Purple !important;
259 blockquote blockquote blockquote blockquote blockquote {
260 background-color: #cdcdcd !important;
261 color: Teal !important;
269 .ctdl-forum-urlmodal {
274 background-color: GhostWhite;
281 .ctdl-roomlist-floor {
284 .ctdl-roomlist-floor-label {
290 .ctdl-roomlist-floor-rooms {
293 .ctdl-roomlist-room {
296 border-style: outset;
297 background-color: White;
300 margin-bottom: 0.25vw;
305 .ctdl-roomlist-roomicon {
310 padding-left: 0.75vw;
311 padding-right: 1.75vw;
313 padding-bottom: 0.75vw;
316 .ctdl-roomlist-roomname {
320 .ctdl-roomlist-roomname-hasnewmsgs {
324 .ctdl-roomlist-mtime {
327 .ctdl-mailbox-grid-container {
333 background-color: GhostWhite;
336 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
340 background-color: #DDDDDD;
341 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
344 .ctdl-mailbox-table {
346 background-color: GhostWhite;
347 border-collapse: collapse;
350 .ctdl-mailbox-table td {
354 .ctdl-mailbox-table tr {
358 .ctdl-mailbox-table tr:nth-child(even) { /* this gives us the alternating-bar effect */
359 background-color: Gainsboro;
362 .ctdl-mailbox-table tr:hover {
363 background-color: Blue;
367 .ctdl-mailbox-table th {
371 background-color: SlateGrey;
377 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
378 background-color: SlateGrey;
383 .ctdl-mail-subject { /* Subject column in mailbox message list */
386 .ctdl-mail-sender { /* Sender column in mailbox message list */
389 .ctdl-mail-date { /* Date column in mailbox message list */
393 .ctdl-mail-msgnum { /* # column in mailbox message list */
397 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
399 background-color: GhostWhite;
405 .ctdl-compose-mail { /* mail composition window */
409 border: 2px dashed red; /* FIXME this goes away after testing */
412 .ctdl-login-screen-grid-container {
414 grid-template-columns: auto auto;
417 .ctdl-login-screen-grid-item {
420 vertical-align: middle;
423 .ctdl-login-screen-grid-item input {