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;
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;
199 text-decoration: none;
211 .ctdl-fmsg-content { /* message text, when in forum view */
215 .ctdl-mmsg-content { /* message text, when in mailbox view */
230 text-decoration: none;
234 background-color: #f5f5f5 !important;
235 color: Navy !important;
240 blockquote blockquote {
241 background-color: #ebebeb !important;
242 color: Maroon !important;
245 blockquote blockquote blockquote {
246 background-color: #e1e1e1 !important;
247 color: Green !important;
250 blockquote blockquote blockquote blockquote {
251 background-color: #d7d7d7 !important;
252 color: Purple !important;
255 blockquote blockquote blockquote blockquote blockquote {
256 background-color: #cdcdcd !important;
257 color: Teal !important;
265 .ctdl-forum-urlmodal {
273 .ctdl-roomlist-floor {
276 .ctdl-roomlist-floor-label {
281 .ctdl-roomlist-floor-rooms {
284 .ctdl-roomlist-room {
287 background-color: White;
289 margin-bottom: 0.5vw;
293 .ctdl-roomlist-roomicon {
298 padding-left: 0.75vw;
299 padding-right: 1.75vw;
301 padding-bottom: 0.75vw;
304 .ctdl-roomlist-roomname {
308 .ctdl-roomlist-roomname-hasnewmsgs {
312 .ctdl-roomlist-mtime {
315 .ctdl-mailbox-grid-container {
321 background-color: GhostWhite;
324 .ctdl-mailbox-pane { /* list of messages when in mailbox view */
328 background-color: #DDDDDD;
329 border-bottom: solid 3px SlateGrey; /* We can probably turn this into a drag handle */
332 .ctdl-mailbox-table {
334 background-color: GhostWhite;
335 border-collapse: collapse;
338 .ctdl-mailbox-table td {
342 .ctdl-mailbox-table tr {
346 .ctdl-mailbox-table tr:nth-child(even) { /* this gives us the alternating-bar effect */
347 background-color: Gainsboro;
350 .ctdl-mailbox-table tr:hover {
351 background-color: Blue;
355 .ctdl-mailbox-table th {
359 background-color: SlateGrey;
365 .ctdl-mailbox-table th:hover { /* Suppress highlighting the header bar */
366 background-color: SlateGrey;
371 .ctdl-mail-subject { /* Subject column in mailbox message list */
374 .ctdl-mail-sender { /* Sender column in mailbox message list */
377 .ctdl-mail-date { /* Date column in mailbox message list */
381 .ctdl-mail-msgnum { /* # column in mailbox message list */
385 .ctdl-mailbox-reading-pane { /* message reading pane when in mailbox view */
388 background-color: GhostWhite;
392 .ctdl-compose-mail { /* mail composition window */
396 border: 2px dashed red; /* FIXME this goes away after testing */
399 .ctdl-login-screen-grid-container {
401 grid-template-columns: auto auto;
404 .ctdl-login-screen-grid-item {
407 vertical-align: middle;
410 .ctdl-login-screen-grid-item input {