diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-11-27 10:11:20 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-11-27 10:11:20 -0500 |
commit | b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4 (patch) | |
tree | 87983a20708360c3c257975951acbb1d949b7825 /theme | |
parent | d382b04ad907041be4dd97dd50b8b12abe68eb53 (diff) | |
download | fourisland-b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4.tar.gz fourisland-b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4.tar.bz2 fourisland-b9230a6e91d1d4b14dce52bed71bc0a360a8f5d4.zip |
Removed unnesscary Quotes CSS
Diffstat (limited to 'theme')
-rwxr-xr-x | theme/css.php | 3 | ||||
-rw-r--r-- | theme/css/night.css | 4 | ||||
-rwxr-xr-x | theme/css/quotes.css | 174 | ||||
-rwxr-xr-x | theme/quotes/add.tpl | 27 | ||||
-rwxr-xr-x | theme/quotes/add_news.tpl | 8 | ||||
-rwxr-xr-x | theme/quotes/browse.tpl | 36 | ||||
-rwxr-xr-x | theme/quotes/home.tpl | 10 | ||||
-rwxr-xr-x | theme/quotes/pagenumbers.tpl | 4 | ||||
-rwxr-xr-x | theme/quotes/search.tpl | 34 |
9 files changed, 49 insertions, 251 deletions
diff --git a/theme/css.php b/theme/css.php index f7236eb..bc198f5 100755 --- a/theme/css.php +++ b/theme/css.php | |||
@@ -49,9 +49,6 @@ if ($_GET['cat'] == 'home') | |||
49 | } else if ($_GET['cat'] == 'panel') | 49 | } else if ($_GET['cat'] == 'panel') |
50 | { | 50 | { |
51 | include('css/blog.php'); | 51 | include('css/blog.php'); |
52 | } else if ($_GET['cat'] == 'quotes') | ||
53 | { | ||
54 | include('css/quotes.css'); | ||
55 | } | 52 | } |
56 | 53 | ||
57 | ?> | 54 | ?> |
diff --git a/theme/css/night.css b/theme/css/night.css index e46d200..6502714 100644 --- a/theme/css/night.css +++ b/theme/css/night.css | |||
@@ -10,3 +10,7 @@ body div#banner { | |||
10 | body div#top-fade { | 10 | body div#top-fade { |
11 | background-image: url(/theme/images/top_fade_night.png) !important; | 11 | background-image: url(/theme/images/top_fade_night.png) !important; |
12 | } | 12 | } |
13 | |||
14 | body div.bubble cite { | ||
15 | color: yellow; | ||
16 | } | ||
diff --git a/theme/css/quotes.css b/theme/css/quotes.css deleted file mode 100755 index fd82c79..0000000 --- a/theme/css/quotes.css +++ /dev/null | |||
@@ -1,174 +0,0 @@ | |||
1 | /* site-wide */ | ||
2 | div#site_all{ | ||
3 | font-family: serif; | ||
4 | font-size: 12pt; | ||
5 | margin-left: 9%; | ||
6 | margin-right: 9%; | ||
7 | } | ||
8 | a#site_nav_admin{ | ||
9 | color: #c08000; | ||
10 | } | ||
11 | a#site_nav_logout{ | ||
12 | color: #000000; | ||
13 | } | ||
14 | a#site_admin_flag, a#site_admin_queue{ | ||
15 | color: #336699; | ||
16 | } | ||
17 | |||
18 | |||
19 | /* quote-output styles */ | ||
20 | |||
21 | div.quote_quote{ | ||
22 | padding-bottom: 5pt; | ||
23 | } | ||
24 | div.quote_whole{ | ||
25 | padding-top: 10pt; | ||
26 | } | ||
27 | |||
28 | /* searchpage */ | ||
29 | input#search_submit-button{ | ||
30 | background-color: #c08000; | ||
31 | } | ||
32 | input#search_query-box{ | ||
33 | background-color: #f0f0f0; | ||
34 | } | ||
35 | select#search_sortby-dropdown{ | ||
36 | background-color: #f0f0f0; | ||
37 | } | ||
38 | select#search_limit-dropdown{ | ||
39 | background-color: #f0f0f0; | ||
40 | } | ||
41 | |||
42 | |||
43 | /* home_*: styles for the default homepage */ | ||
44 | |||
45 | div.home_news_date{ | ||
46 | font-weight: bold; | ||
47 | } | ||
48 | div#home_greeting{ | ||
49 | float: left; | ||
50 | width: 50%; | ||
51 | } | ||
52 | div#home_news{ | ||
53 | width: 100%; | ||
54 | } | ||
55 | |||
56 | |||
57 | /* *admin*: used on administration pages and admin-only content */ | ||
58 | |||
59 | div#site_admin_nav{ | ||
60 | position: relative; | ||
61 | margin-top: 90pt; | ||
62 | clear: both; | ||
63 | margin-top: -.1pt; | ||
64 | } | ||
65 | div#site_admin_nav_upper_linkbar{ | ||
66 | background-color: #f0f0f0; | ||
67 | } | ||
68 | div#site_admin_nav_lower_infobar{ | ||
69 | background-color: #c08000; | ||
70 | text-align: right; | ||
71 | } | ||
72 | html>body div#site_admin_nav{ /* hack for firefox, disabled in opera and ie */ | ||
73 | margin-top: 0pt; | ||
74 | } | ||
75 | .admin_queue_alt1{ | ||
76 | background-color: #ffffff; | ||
77 | } | ||
78 | .admin_queue_alt2{ | ||
79 | background-color: #f0f0f0; | ||
80 | } | ||
81 | input#admin_login_username-box{ | ||
82 | background-color: #f0f0f0; | ||
83 | } | ||
84 | input#admin_login_password-box{ | ||
85 | background-color: #f0f0f0; | ||
86 | } | ||
87 | input#admin_login_submit-button{ | ||
88 | background-color: #c08000; | ||
89 | } | ||
90 | |||
91 | |||
92 | /* site_nav_*: navigation on the top, for everyone */ | ||
93 | |||
94 | div#site_nav_lower{ | ||
95 | background-color: #f0f0f0; | ||
96 | } | ||
97 | div#site_nav_lower_linkbar{ | ||
98 | clear: both; | ||
99 | text-align: right; | ||
100 | } | ||
101 | div#site_nav_upper{ | ||
102 | background-color: #c08000; | ||
103 | padding: 3px; | ||
104 | } | ||
105 | div#site_nav_upper_qms{ | ||
106 | position: relative; | ||
107 | z-index: 1; | ||
108 | float: left; | ||
109 | font-size: 14pt; | ||
110 | font-weight: bold; | ||
111 | font-style: italic; | ||
112 | } | ||
113 | div#site_nav_upper_qms-long{ | ||
114 | position: relative; | ||
115 | z-index: 1; | ||
116 | float: right; | ||
117 | font-weight: bold; | ||
118 | font-size: 15pt; | ||
119 | } | ||
120 | div#site_nav{ | ||
121 | position: relative; | ||
122 | z-index: 0; | ||
123 | } | ||
124 | |||
125 | |||
126 | /* user-based functions */ | ||
127 | div#add_outputmsg_quote{ | ||
128 | padding-top: 10pt; | ||
129 | font-family: monospace; | ||
130 | padding-bottom: 10pt; | ||
131 | } | ||
132 | |||
133 | |||
134 | /* page titles */ | ||
135 | div#quote_origin-name{ | ||
136 | font-size: 23.6pt; | ||
137 | font-weight: bold; | ||
138 | } | ||
139 | div#search_title{ | ||
140 | font-size: 23.6pt; | ||
141 | font-weight: bold; | ||
142 | } | ||
143 | div#admin_add-news_title{ | ||
144 | font-size: 23.6pt; | ||
145 | font-weight: bold; | ||
146 | } | ||
147 | div#add_title{ | ||
148 | font-size: 23.6pt; | ||
149 | font-weight: bold; | ||
150 | } | ||
151 | div#admin_queue_title{ | ||
152 | font-size: 23.6pt; | ||
153 | font-weight: bold; | ||
154 | } | ||
155 | div#admin_flag_title{ | ||
156 | font-size: 23.6pt; | ||
157 | font-weight: bold; | ||
158 | } | ||
159 | div#admin_change-pw_title{ | ||
160 | font-size: 23.6pt; | ||
161 | font-weight: bold; | ||
162 | } | ||
163 | div#admin_users_title{ | ||
164 | font-size: 23.6pt; | ||
165 | font-weight: bold; | ||
166 | } | ||
167 | div#admin_add-user_title{ | ||
168 | font-size: 23.6pt; | ||
169 | font-weight: bold; | ||
170 | } | ||
171 | |||
172 | div.quote_pagenums{ | ||
173 | text-align: center; | ||
174 | } | ||
diff --git a/theme/quotes/add.tpl b/theme/quotes/add.tpl index 4073277..dc872ee 100755 --- a/theme/quotes/add.tpl +++ b/theme/quotes/add.tpl | |||
@@ -1,17 +1,14 @@ | |||
1 | <DIV ID="add_all"> | 1 | <H1>Contribute</H1> |
2 | <DIV ID="add_title">Contribute</DIV> | ||
3 | 2 | ||
4 | <!--BEGIN SUBMITTED--> | 3 | <!--BEGIN SUBMITTED--> |
5 | <DIV ID="add_outputmsg"> | 4 | <P>The quote you have submitted is:</P> |
6 | <DIV ID="add_outputmsg_top">The quote you have submitted is:</DIV> | 5 | <P><CODE><!--SUBMITTED.QUOTE--></CODE></P> |
7 | <DIV ID="add_outputmsg_quote"><!--SUBMITTED.QUOTE--></DIV> | 6 | <P>If this is not the quote you have entered, please contact the administrator and explain your problem. |
8 | <DIV ID="add_outputmsg_bottom">If this is not the quote you have entered, please contact the administrator and explain your problem. Also, there is no need to press the submit button again. You're quote has already been sent.</DIV> | 7 | Also, there is no need to press the submit button again. You're quote has already been sent.</P> |
9 | </DIV> | 8 | <!--END SUBMITTED--> |
10 | <!--END SUBMITTED--> | ||
11 | 9 | ||
12 | <FORM ACTION="/quotes/add.php?submit=" METHOD="POST"> | 10 | <FORM ACTION="/quotes/add.php?submit=" METHOD="POST"> |
13 | <TEXTAREA COLS="80" ROWS="5" NAME="rash_quote" ID="add_quote"></TEXTAREA><BR> | 11 | <TEXTAREA COLS="80" ROWS="5" NAME="rash_quote"></TEXTAREA><BR> |
14 | <INPUT TYPE="submit" VALUE="Add Quote!" ID="add_submit"> | 12 | <INPUT TYPE="submit" VALUE="Add Quote!"> |
15 | <INPUT TYPE="reset" VALUE="Reset" ID="add_reset"> | 13 | <INPUT TYPE="reset" VALUE="Reset"> |
16 | </FORM> | 14 | </FORM> |
17 | </DIV> | ||
diff --git a/theme/quotes/add_news.tpl b/theme/quotes/add_news.tpl deleted file mode 100755 index 3c81474..0000000 --- a/theme/quotes/add_news.tpl +++ /dev/null | |||
@@ -1,8 +0,0 @@ | |||
1 | <DIV ID="admin_add-news_all"> | ||
2 | <DIV ID="admin_add-news_title">Add News</DIV> | ||
3 | |||
4 | <FORM METHOD="POST" ACTION="/quotes/add_news.php?submit="> | ||
5 | <TEXTAREA COLS="80" ROWS="5" NAME="news" ID="add_news_news"></TEXTAREA><BR> | ||
6 | <INPUT TYPE="submit" VALUE="Add News" ID="add_news"> | ||
7 | </FORM> | ||
8 | </DIV> | ||
diff --git a/theme/quotes/browse.tpl b/theme/quotes/browse.tpl index d35abfe..7b4312a 100755 --- a/theme/quotes/browse.tpl +++ b/theme/quotes/browse.tpl | |||
@@ -1,25 +1,19 @@ | |||
1 | <DIV ID="quote_all"> | 1 | <!--BEGIN PAGENUMBERS--> |
2 | <!--BEGIN PAGENUMBERS--> | 2 | <!--INCLUDE quotes/pagenumbers--> |
3 | <!--INCLUDE quotes/pagenumbers--> | 3 | <!--END PAGENUMBERS--> |
4 | <!--END PAGENUMBERS--> | ||
5 | 4 | ||
6 | <DIV ID="quote_origin-name"><!--ORIGIN--></DIV> | 5 | <P><!--ORIGIN--></P> |
7 | 6 | ||
8 | <!--BEGIN QUOTES--> | 7 | <!--BEGIN QUOTES--> |
9 | <DIV CLASS="quotes_whole"> | 8 | <A HREF="/quotes/<!--QUOTES.NUMBER-->.php">#<!--QUOTES.NUMBER--></A> |
10 | <DIV CLASS="quote_option-bar"> | 9 | <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=plus">+</A> |
11 | <A HREF="/quotes/<!--QUOTES.NUMBER-->.php" CLASS="quote_number">#<!--QUOTES.NUMBER--></A> | 10 | <SPAN>(<!--QUOTES.RATING-->)</SPAN> |
12 | <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=plus" CLASS="quote_plus">+</A> | 11 | <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=minus">-</A> |
13 | <SPAN CLASS="quote_rating">(<!--QUOTES.RATING-->)</SPAN> | 12 | <A HREF="/quotes/flag.php?id=<!--QUOTES.NUMBER-->">[X]</A> |
14 | <A HREF="/quotes/vote.php?id=<!--QUOTES.NUMBER-->&dir=minus" CLASS="quote_minus">-</A> | ||
15 | <A HREF="/quotes/flag.php?id=<!--QUOTES.NUMBER-->" CLASS="quote_flag">[X]</A> | ||
16 | </DIV> | ||
17 | 13 | ||
18 | <DIV CLASS="quote_quote"><!--QUOTES.QUOTE--></DIV> | 14 | <P><!--QUOTES.QUOTE--></P> |
19 | </DIV> | 15 | <!--END QUOTES--> |
20 | <!--END QUOTES--> | ||
21 | 16 | ||
22 | <!--BEGIN PAGENUMBERS--> | 17 | <!--BEGIN PAGENUMBERS--> |
23 | <!--INCLUDE quotes/pagenumbers--> | 18 | <!--INCLUDE quotes/pagenumbers--> |
24 | <!--END PAGENUMBERS--> | 19 | <!--END PAGENUMBERS--> |
25 | </DIV> | ||
diff --git a/theme/quotes/home.tpl b/theme/quotes/home.tpl deleted file mode 100755 index 7e8c10f..0000000 --- a/theme/quotes/home.tpl +++ /dev/null | |||
@@ -1,10 +0,0 @@ | |||
1 | <DIV ID="home_all"> | ||
2 | <H2>Four Island Quotes DB</H2> | ||
3 | |||
4 | <DIV ID="home_news"> | ||
5 | <!--BEGIN NEWS--> | ||
6 | <DIV CLASS="home_news_date"><!--NEWS.DATE--></DIV> | ||
7 | <DIV CLASS="home_news_news"><!--NEWS.POST--></DIV><P> | ||
8 | <!--END NEWS--> | ||
9 | </DIV> | ||
10 | </DIV> | ||
diff --git a/theme/quotes/pagenumbers.tpl b/theme/quotes/pagenumbers.tpl index 3171c10..d6aa3bb 100755 --- a/theme/quotes/pagenumbers.tpl +++ b/theme/quotes/pagenumbers.tpl | |||
@@ -1,4 +1,4 @@ | |||
1 | <DIV CLASS="quote_pagenums"> | 1 | <CENTER> |
2 | <A HREF="/quotes/<!--LORIGIN-->.php">First</A> | 2 | <A HREF="/quotes/<!--LORIGIN-->.php">First</A> |
3 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--MINUSTEN-->">-10</A> | 3 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--MINUSTEN-->">-10</A> |
4 | <!--BDDD--> | 4 | <!--BDDD--> |
@@ -12,4 +12,4 @@ | |||
12 | <!--ADDD--> | 12 | <!--ADDD--> |
13 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--PLUSTEN-->">+10</A> | 13 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--PLUSTEN-->">+10</A> |
14 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--LASTPAGE-->">Last</A> | 14 | <A HREF="/quotes/<!--LORIGIN-->.php?page=<!--LASTPAGE-->">Last</A> |
15 | </DIV> | 15 | </CENTER> |
diff --git a/theme/quotes/search.tpl b/theme/quotes/search.tpl index 491c861..edd546a 100755 --- a/theme/quotes/search.tpl +++ b/theme/quotes/search.tpl | |||
@@ -1,19 +1,17 @@ | |||
1 | <DIV CLASS="search_all"> | 1 | <H1>Search</H1> |
2 | <DIV ID="search_title">Search</DIV> | ||
3 | 2 | ||
4 | <FORM METHOD="POST" ACTION="/quotes/search.php?fetch="> | 3 | <FORM METHOD="POST" ACTION="/quotes/search.php?fetch="> |
5 | <INPUT TYPE="text" NAME="search" SIZE="28" ID="search_query-box"> | 4 | <INPUT TYPE="text" NAME="search" SIZE="28"> |
6 | <INPUT TYPE="submit" NAME="submit" ID="search_submit-button"><BR> | 5 | <INPUT TYPE="submit" NAME="submit"><BR> |
7 | Sort: <SELECT NAME="sortby" SIZE="1" ID="search_sortby-dropdown"> | 6 | Sort: <SELECT NAME="sortby" SIZE="1"> |
8 | <OPTION SELECTED>Rating</OPTION> | 7 | <OPTION SELECTED>Rating</OPTION> |
9 | <OPTION>ID</OPTION> | 8 | <OPTION>ID</OPTION> |
10 | </SELECT> | 9 | </SELECT> |
11 | How many: <SELECT NAME="number" SIZE="1" ID="search_limit-dropdown"> | 10 | How many: <SELECT NAME="number" SIZE="1"> |
12 | <OPTION SELECTED>10</OPTION> | 11 | <OPTION SELECTED>10</OPTION> |
13 | <OPTION>25</OPTION> | 12 | <OPTION>25</OPTION> |
14 | <OPTION>50</OPTION> | 13 | <OPTION>50</OPTION> |
15 | <OPTION>75</OPTION> | 14 | <OPTION>75</OPTION> |
16 | <OPTION>100</OPTION> | 15 | <OPTION>100</OPTION> |
17 | </SELECT> | 16 | </SELECT> |
18 | </FORM> | 17 | </FORM> |
19 | </DIV> | ||