1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
/*************************************************************************************************/
/*************************************************************************************************/
/* CSS-Rules applied to JDU-Annotations                                                          */
/*************************************************************************************************/
/*************************************************************************************************/


/*
 * This file contains the CSS for Widgets that are utilized by the JDU-Annotations offered by the
 * Upgrader.  This includes the CSS for:
 * 
 * @JDHeaderBackgroundImg
 * @IntoHTMLTable
 */


/* ********************************************************************************************* */
/* The Wooden Board at the top of classes which have been Annotated with @JDHeaderBackgroundImg  */
/* ********************************************************************************************* */

DIV.JDWoodBoardDark
{
    margin:             2em 0em 2.5em 0em;
    padding:            3em 2.5em 3em 2.5em;
    width:              88% !important;
 
    box-shadow:         12px 12px 8px 0px var(--Wood-Plank-Header-Shadow);
    background-image:   url('../img/WoodPlank.Dark.jpg');
    background-origin:  content-box;
 
    border-radius:      1em;
    border-bottom:      0.5em solid var(--Wood-Plank-Header-Border);
    border-top:         0.2em solid var(--Wood-Plank-Header-Border);
    border-right:       0.2em solid var(--Wood-Plank-Header-Border);
    border-left:        0.2em solid var(--Wood-Plank-Header-Border);

    /* ChatGPT Says: Ensure padding and border are included in element's width and height
    box-sizing:         border-box; */

    /* background-repeat:  no-repeat; */ /* This might be needed for "big screens" */
}

DIV.JDWoodBoardDark > DIV
{
    background:         var(--Wood-Plank-Header-Inner-DIV-Background);
    border:             0.4em inset var(--Wood-Plank-Header-Inner-DIV-Border);
    border-radius:      2.5em;
    text-align:         initial !important;
    width:              90%;
    padding:            1.5em 2em 1.5em 2em;
    background-image:   var(--JD-Dark-Sand-Paper-Background); /* Defined in Base64.css */
}


/* ********************************************************************************************* */
/* @IntoHTMLTable Annotation (IHTA) - TITLE & TITLE-BACKGROUND                                   */
/* ********************************************************************************************* */
/* Standard, BlueDither, GreenDither, GrayDither, Brown, Blue, Green, Gray */

DIV.IHTA SPAN.IHTA
{
    display:        inline-block; 
    padding:        0.4em 1.3em 0.4em 0.8em;
    margin:         0em 0em 0.5em 0em;
    font-weight:    bold;
    letter-spacing: 0.08em;
    text-shadow:    0.1em 0.1em black;
}

DIV.IHTA.Standard SPAN.IHTA,
DIV.IHTA.Brown SPAN.IHTA
{
    color:      var(--Convenience-Detail-Label-Color);
    background: var(--Convenience-Detail-Label-Background);
}

DIV.IHTA.BlueDither SPAN.IHTA,
DIV.IHTA.Blue SPAN.IHTA
{
    color:          white;
    background:     darkblue;
}

DIV.IHTA.GreenDither SPAN.IHTA,
DIV.IHTA.Green SPAN.IHTA
{
    color:          white;
    background:     darkgreen;
}

DIV.IHTA.GrayDither SPAN.IHTA,
DIV.IHTA.Gray SPAN.IHTA
{
    color:          white;
    background:     darkslategray;
}


/* ********************************************************************************************* */
/* @IntoHTMLTable Annotation (IHTA) - TABLE-BACKGROUND                                           */
/* ********************************************************************************************* */
/* Standard, BlueDither, GreenDither, GrayDither, Brown, Blue, Green, Gray */

DIV.IHTA.Standard
{
    background: linear-gradient(
        0.25turn, var(--Convenience-Dithered-Start),
        75%, var(--Convenience-Dithered-End)
    );
}

DIV.IHTA.BlueDither
{ background: linear-gradient(0.25turn, lavender, 75%, rgba(0, 0, 255, 0.65)); }

DIV.IHTA.GreenDither
{ background: linear-gradient(0.25turn, palegreen, 75%, rgba(0, 128, 0, 0.65)); }

DIV.IHTA.GrayDither
{ background: linear-gradient(0.25turn, gainsboro, 75%, rgba(128, 128, 128, 0.65)); }

DIV.IHTA.Brown
{ background: wheat; }

DIV.IHTA.Blue
{ background: lavender; }

DIV.IHTA.Green
{ background: palegreen; }

DIV.IHTA.Gray
{ background: gainsboro; }


/* ********************************************************************************************* */
/* @IntoHTMLTable Annotation (IHTA) - TABLE-SPACING                                              */
/* ********************************************************************************************* */
/* Standard, BlueDither, GreenDither, GrayDither, Brown, Blue, Green, Gray */

DIV.IHTA TABLE.IHTA TD:nth-child(1)
{
    font-weight:    bold;
    padding:        0.1em 0.75em 0em 0em;
}

/*
 * There are some things in life tha are more difficult to explain than others.
 * Here, because of the spacing that Java-Doc, itself, adds to <B>, <A> and <SPAN>
 * It has to be "undone"...
 * 
 * ALL THIS CRAP RIGHT HERE IS DOING IS MAKING SURE THAT THE 2nd TABLE COLUMN IS
 * "LEFT ALIGNED"
 *
 * Any <B>, <CODE>, <SPAN> or <A>'s are **FORCED** to ignore their pre-existing indentation!!
 * any and all 
 */
DIV.IHTA TABLE.IHTA TD:nth-child(2)
DIV.IHTA TABLE.IHTA TD:nth-child(2) B,
DIV.IHTA TABLE.IHTA TD:nth-child(2) A,
DIV.IHTA TABLE.IHTA TD:nth-child(2) CODE,
DIV.IHTA TABLE.IHTA TD:nth-child(2) SPAN
{
    padding-left:   0em !important;
    margin-left:    0em !important;
}

DIV.IHTA TABLE.IHTA TD.COL-SPAN-2
{ font-weight: normal; }


/* ********************************************************************************************* */
/* @IntoHTMLTable Annotation (IHTA) - LINK-COLORS                                                */
/* ********************************************************************************************* */
/* Standard, BlueDither, GreenDither, GrayDither, Brown, Blue, Green, Gray */

DIV.IHTA TABLE.IHTA A 
{ font-weight: bold; }

DIV.IHTA.Standard     TABLE.IHTA A,
DIV.IHTA.Brown        TABLE.IHTA A
{ color: var(--Convenience-Link-Color) !important; }

DIV.IHTA.Blue         TABLE.IHTA A,
DIV.IHTA.BlueDither   TABLE.IHTA A,
DIV.IHTA.Green        TABLE.IHTA A,
DIV.IHTA.GreenDither  TABLE.IHTA A,
DIV.IHTA.Gray         TABLE.IHTA A,
DIV.IHTA.GrayDither   TABLE.IHTA A
{ color: darkred !important; }

DIV.IHTA.Standard     TABLE.IHTA A:hover,
DIV.IHTA.Brown        TABLE.IHTA A:hover
{ color: var(--Convenience-Link-Color-Hover) !important; }

DIV.IHTA.Blue         TABLE.IHTA A:hover,
DIV.IHTA.BlueDither   TABLE.IHTA A:hover,
DIV.IHTA.Green        TABLE.IHTA A:hover,
DIV.IHTA.GreenDither  TABLE.IHTA A:hover,
DIV.IHTA.Gray         TABLE.IHTA A:hover,
DIV.IHTA.GrayDither   TABLE.IHTA A:hover
{ color: red !important; }