summaryrefslogtreecommitdiffstats
path: root/abs/core/local-website/htdocs/style.css
blob: 535ffecd97220ad03aef7757cfc8e7a9756f644b (plain)
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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
/*
 * Global page handlers.
/*/

    html,body {
        border:           0;
        margin:           0;
        padding:          0;
        font-size:        9pt;
        font-family:      Arial, Helvetica, sans-serif;
        background-color: #191c26;
        color:            #dedede;
    }

    /* For some reason, settings for the main body element doesn't always work for
     * text inside of tables
    /*/
    .body {
        font-size: 12px;
        font-family: Arial, Helvetica, sans-serif;
    }

/*
 * We should try to keep links and labels looking consistent across the app.
/*/

    a, a:link { color: #E0E0FF; text-decoration: none; }
    a:active  { color: #990033; text-decoration: none; }
    a:visited { color: #E0E0FF; text-decoration: none; }
    a:hover   { color: #F0F000; text-decoration: underline; }

    label       { color: #E0E0FF; text-decoration: none; }
    label:hover { color: #F0F000; text-decoration: underline; }

/* a class for the menu across the top of the page as well as menu headers throughout the page */
    .menu {          background-color: #265990 }
    .menu_border_t { border-top:    2px solid #9090B0 }
    .menu_border_b { border-bottom: 2px solid #9090B0 }
    .menu_border_l { border-left:   2px solid #9090B0 }
    .menu_border_r { border-right:  2px solid #9090B0 }

/* a class for commands and other user input boxes */

/* @deprecated old classes */
.command { background-color: #1040A0 }
.command_border_t { border-top:    2px solid #9090B0 }
.command_border_b { border-bottom: 2px solid #9090B0 }
.command_border_l { border-left:   2px solid #9090B0 }
.command_border_r { border-right:  2px solid #9090B0 }
.activecommand    { background-color: #108040 }

/* New command classes */

    /* Box to hold commands */
    .commandbox {
        background-color:   #102923;
        color:              #E0E0FF;
        border:             1px solid #9090B0;
    }

    /* Commands themselves */

    .commands { /* Placeholder for handling sub-elements */ }

    .commands input.x-submit {
        border:             2px outset #7b8;
        padding:            0 .5em;
        height:             2em;
        background-color:   #263;
        color:              #E0E0FF;
    }
    .commands input.x-submit:hover {
        border:             1px outset #9da;
        background-color:   #485;
        color:              #F0F000;
        text-decoration:    underline;
    }

    .commands a {
        font-weight:        bold;
        border:             1px solid #7b8;
        padding:            .15em .5em;
        background-color:   #263;
    }
    .commands a:hover {
        border:             1px solid #9da;
        background-color:   #485;
    }

/*
 * The following styles refer to forms and form elements throughout MythWeb
/*/

    /* Avoid those nasty extra linefeeds in IE </form> tags */
    form { display: inline; }

    /* A special class for submit buttons */
    .submit {
        border:             2px outset #7b8;
        padding:            0 .5em;
        background-color:   #263;
        color:              #E0E0FF;
        font-weight:        bold;
        height:             2em;
    }
    .submit:hover {
        border:             2px outset #9da;
        background-color:   #485;
        color:              #F0F000;
        text-decoration:    underline;
    }

    /* A special class for radio buttons and check boxes because some browsers render them weirdly */
    .radio {
        height:             14px !important;
        width:              14px !important;
        color:              #002000;
        background-color:   #C0D0C0;
    }

    /* Default styles for form fields */
    select {
        font-family:        Arial, Helvetica, sans-serif;
        color:              #002000;
        background-color:   #C0D0C0;
        font-size:          9pt;
    }

    input {
        padding-left:       .25em;
        font-family:        Arial, Helvetica, sans-serif;
        color:              #002000;
        background-color:   #C0D0C0;
        font-size:          9pt;
    }

    textarea {
        font-family:        terminal, courier, courier-new;
        color:              #002000;
        background-color:   #C0D0C0;
        font-size:          9pt;
    }

    /* Quantity-sized elements look better with the text centered */
    input.quantity {
        width:              2em !important;
        text-align:         center;
    }

/*
 * A special class for error stuff, so all page errors look the same.
/*/

    #error, .error {
        color:              #F03030;
        background-color:   #360000;
        border-color:       #F03030;
        border:             thin groove #F03030;
        padding:            8px;
    }

/*
 * The following represent some global classes to accommodate minor but
 * oft-used manipulations like font sizes.0
/*/

    /* font size classes */
    .tiny   { font-size: 9px; }
    .small  { font-size: 9pt; }
    .normal { font-size: 10pt; }
    .large  { font-size: 12pt; }
    .huge   { font-size: 24px; }

    /* fony style classes */
    .bold, .bold a, .bold a:link, .bold a:visited, .bold a:active, .bold a:hover {
        font-weight: bold !important;
    }
    .italic, .italic a, .italic a:link, .italic a:visited, .italic a:active, .italic a:hover {
        font-style: italic !important;
    }

    /* Handy for, well, hiding things..  Also for mouseover popup menus */
    .hidden {
        visibility: hidden;
        display:    none;
    }

/*
 * clearfix -- see http://positioniseverything.net/easyclearing.html for details on how/why this works
/*/

    .clearfix:after {
        content:    ".";
        display:    block;
        height:     0;
        clear:      both;
        visibility: hidden;
    }
    .clearfix {display: inline-block;}
    /* Hides from IE-mac \*/
    * html .clearfix {height: 1%;}
    .clearfix {display: block;}
    /* End hide from IE-mac */

    /* Ajax little popup request thing style */
    #ajax_working {
        position:           fixed;
        background-color:   green;
        bottom:             0px;
        left:               1em;
        padding:            1em;
        width:              10em;
        text-align:         center;
    }

    .link {
        cursor:             pointer;
    }

/* I don't think we have a single image with a border in the default template, so disable it */
    a img {
        border:             0px;
    }

    .nowrap {
        white-space:        nowrap;
    }