source: documented-examples/trunk/style-e/style/gs3-style-olive-purple.css@ 36371

Last change on this file since 36371 was 36371, checked in by anupama, 20 months ago

Updates to the GS3 style-e collection, with the new styles and changed the javascript so it's better suited for switching between styles without breaking too much.

File size: 4.4 KB
Line 
1/*
2https://www.w3schools.com/cssref/css_colors.asp
3https://www.w3schools.com/colors/colors_picker.asp
4*/
5:root {
6 --cc-btn-primary-bg: Purple;
7}
8
9/* This style sheet is used by the garish collection as an
10 example of modifying the appearance */
11
12/* notes about style sheets.
13
14 Colours - The most portable way to specify colours is to use the
15 #xxxxxx notation, which is in hex for red, green, and blue. eg black
16 is #000000, red is #ff0000, blue is #0000ff and white is #ffffff.
17 This may seem confusing at first, but you can't count on colour names
18 being the same across all browsers and platforms. For example,
19 linux/x11 has hundreds of colours with names such as DarkOliveGreen
20 and PaleVioletRed. However, simple colour names should work with most
21 browsers...
22
23*/
24
25html {
26 background-color: Thistle;
27 color: Indigo;
28}
29
30/* Set background colour for container, gs_content to same as background for .ui-widget-content.
31Note that the full background property needs to be overridden on .ui-widget-content for this to take effect. */
32#container, #gs_content {
33 background-color: White;
34}
35.ui-widget-content {
36 border: none;
37 background: White;
38}
39
40b, i, pre {
41 color: Indigo;
42}
43
44/* set defaults for the HTML body */
45body {
46 /* set the face. The first one in the list found will be used, so
47 have reasonable fall-backs */
48 /* use a serif font windows uses "times new roman", "times" on mac/linux */
49 font-family: times new roman, times, serif;
50 margin: auto;
51 width: 70%;
52}
53
54#container, #topArea {
55 max-width: 100%;
56}
57
58#topArea {
59 margin: auto;
60
61}
62
63.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active,
64.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover {
65 border: 1px solid Indigo;
66}
67
68
69.ui-corner-all, .ui-corner-top, .ui-corner-right, .ui-corner-tr { border-top-right-radius: 0px; }
70.ui-corner-all, .ui-corner-top, .ui-corner-left, .ui-corner-tl { border-top-left-radius: 0px; }
71.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br { border-bottom-right-radius: 0px; }
72.ui-corner-all, .ui-corner-bottom, .ui-corner-left, .ui-corner-bl { border-bottom-left-radius: 0px; }
73
74
75 /* you can set a background colour, but a lot of the images/buttons are
76 designed to blend into a white background. */
77/* Note, this didn't seem to work when placed into above body definition */
78body.bgimage {
79 background-color: Purple;
80}
81
82
83#gs_banner {
84 background: YellowGreen;
85 color: white;
86 height: 160px;
87}
88
89.choose_style {
90 font-weight: bold;
91 background: YellowGreen;
92 color: Purple;
93 padding: 10px 20px 0px 20px;
94}
95
96.choose_style a {
97 color: Indigo;
98 /*text-decoration: none;*/
99}
100.choose_style a:hover {
101 color: Gold;
102}
103
104
105#gs-nav {
106 position: relative;
107 top: -80px;
108 /*margin-bottom: -60px;*/
109}
110
111#gs-nav li {
112 float: none;
113 display: block;
114 width: 10%;
115 border-bottom: 1px solid Indigo;
116}
117
118#titlearea {
119 float: right;
120}
121
122#titlearea h2 {
123 padding-right: 20px;
124}
125
126#quicksearcharea {
127 clear: both;
128 float: right;
129}
130
131#quicksearcharea form {
132 float: right;
133
134}
135
136#quicksearcharea ul {
137 clear: both;
138}
139
140#gs-nav a, #quicksearcharea a {
141 color: Purple;
142}
143
144
145/* paragraph text - this will override the settings above for text inside
146 <p>....</p> tags. */
147
148p {
149 color: Black;/* DarkSlateGrey */
150 font-weight: normal;
151}
152
153/* headings */
154h1, h2, h3, h4 {
155 /* use a sans-serif font - arial on windows, helvetica on mac/linux */
156 font-family: arial, helvetica, sans-serif;
157 color: Indigo;
158}
159
160#titlearea h2, #titlearea h1, #titlearea h3, #titlearea h4 {
161 color: Indigo; /* LightCyan #edf2f7 lighter than LightSteelBlue */
162}
163
164
165#topArea, #viewAndZoomOptions {
166 background: Purple;
167 color: Indigo;
168}
169
170.ui-state-default, .ui-widget-content .ui-state-default {
171 border: 1px solid Gold;
172 background: Gold;
173}
174
175.ui-button, .ui-widget-header, .ui-widget-header .ui-state-default {
176 background: Gold; /* #a5bcd9 slightly darker than LightSteelBlue*/
177 color: Indigo; /* #325d81 or #2b506e for darker than SteelBlue*/
178}
179
180/*
181#gs-nav .ui-state-default {
182 background: GoldenRod;
183 color: White;
184}
185*/
186
187.ui-button:hover, .ui-widget-header .ui-state-default:hover {
188 background: Violet;
189}
190
191#gs_footer {
192 background: Purple;
193}
194
195.ui-state-active a, .ui-state-active a:link {
196 color: Indigo; /* #325d81 or #2b506e for darker than SteelBlue*/
197}
Note: See TracBrowser for help on using the repository browser.