2 fields
= [[ css_config = {}
5 title
= "Color Configuration"
7 actions
= "css=\"css.fancy_css\""
13 permissions
= "allow(all_users, \"css\")"
25 html_meta_keywords
= ""
26 html_meta_description
= ""
27 redirect_destination
= ""
28 xssfilter_allowed_tags
= ""
29 http_cache_control
= ""
31 content
= [[$reset_code
35 /* Note that the layout of the top level objects is largely determined by YUI.
39 The sequence of divs at the top level elemens:
49 div #doc3 (or doc2, doc, etc.)
51 div #hd -- the navigation bar
89 margin/padding cheatsheet: top right bottom left;
101 overflow : -moz-scrollbars-vertical;
105 /* always use a vert. scroll bar. */
117 font-size:75%;color:#222;background:#fff;
118 /* font-family: "Verdana", "Helvetica Neue", Helvetica, Arial, sans-serif; */
136 margin : 0em 0em 0em 0em;
138 padding : 0em 0em 0em 0em;
146 margin : 0em 0em 0em 0em;
148 padding : .4em 0em 0em 0em;
156 vertical-align: text-bottom;
162 margin : 0em 0em 0em 0em;
164 padding : 0em 0em 0em 0em;
180 margin : 1.1em 0em 0em 0em;
182 padding : 0em 0em 0em 0em;
190 background-color : white;
193 #menu_bar ul#menu li {
195 margin : 0em .5em 0em 0em;
197 padding : 0em 0em 0em 0em;
201 list-style-type: none;
205 #menu_bar ul#menu li a {
207 padding : .3em 1em 0.3em 0em;
211 text-decoration: none;
235 #menu_bar ul#menu li ul {
237 margin : 0em 0em 0em 0em;
239 padding : .0em 0em .4em 0em;
257 #menu_bar ul#menu li ul.back {
263 #menu_bar ul#menu li ul.front{
273 #menu_bar ul#menu li ul li{
275 margin : 0em 0em 0em 0em;
277 padding : 0em 0em 0em 0em;
281 list-style-type: none;
289 margin: .3em 0 0 .3em ;
291 list-style-type: none;
297 #sidebar ul#menu ul.back {
305 #sidebar ul#menu, #sidebar ul#menu li {
313 #sidebar ul#menu li a {
315 padding: 0.3em .2em .3em 1em;
327 #sidebar ul#menu li ul {
329 padding: 0 0.5em 0 1em;
335 #menu_bar ul#menu li ul li a {
337 margin : 0em .5em 0em .0em;
339 padding : 0em .2em 0em .0em;
343 font-family: Verdana, sans-serif;
351 ul#menu li a, ul#menu li ul li a {
353 text-decoration:none;
363 margin: 0em 0em 0em 0em;
365 padding: 0em 0em 0em 0em;
375 padding : 5em 2em 0em 1em;
385 .error, .warning, .success, .notice {
387 margin : 1em auto .5em auto;
389 padding : 1em 1em 1em 1em;
397 border : medium solid #DF0101;
399 background-color: #F8E0E0;
405 background-color: #F8F8D0;
407 border : medium solid #DF0101;
413 background-color: #D0F8D0;
415 border : medium solid #01DF01;
421 background-color: #D0D0F8;
423 border : medium solid #0101DF;
429 /* CONTENT = toolbar + actual content */
433 padding : 1em 3em 1em 3em;
437 /* max-width : 700px;
443 margin : 0em 0em 0em 0em;
445 padding : .5em .5em .5em 2em; width : 100%;
451 margin : 0em .5em 0em 0em;
453 padding : .5em .5em .5em 2em;
457 /*position : absolute;
467 text-decoration: none;
473 /* ELEMENTS IN CONTENT --------------------------------------------------- */
507 text-decoration: none;
519 padding: 0 0 1em 0em;
527 margin : 1.5em 0em 1em 0em;
529 padding : 0em 0em 0em 0em;
540 margin: 10px 0em 10px 15px;
542 list-style-type: square
554 margin: 10px 0em 10px 24px;
556 list-style-type: decimal
562 margin: 15px 0em auto auto;
570 margin: 15px 0em auto 3em;
578 padding: 2px 2px 2px 1em;
582 font-family: monospace
588 margin: 15px 0em auto auto;
590 padding: 8px 20px 8px 1em;
594 font-family: monospace;
604 padding: 0em 0em 0em 0em;
610 padding: 2px 5px 2px 5px;
620 padding: 2px 5px 2px 5px;
640 padding: auto 3px auto auto;
642 background : none transparent scroll repeat 0% 0%;
650 margin: auto 5px 10px auto;
652 padding: 5px 5px 5px 5px;
666 margin : 10px .5em 1em auto;
674 display : inline-block;
682 margin: .5em .5em .5em .5em;
684 padding: 3px 3px 3px 3px;
690 font-family: monospace
702 margin: 0em 0em 0em 0em;
704 padding: 0em 0em 0em 0em; spacing : 0em;
710 margin: 5px 4px 5px 4px;
730 margin: 0em 0px 0px 0px;
732 padding: 2px 2px 2px 2px;
734 border: 1px solid #CCCCCC;
742 vertical-align: text-bottom;
748 input.search_button {
750 margin: 0em 0px 0px 0px;
752 padding: 2px 2px 2px 2px;
764 vertical-align: text-bottom;
770 margin: .8em 0em .8em .4em;
772 padding: .3em .5em .3em .5em;
786 margin: .8em 0em .8em .4em;
788 padding: .3em .5em .3em .5em;
798 margin: auto 0em auto 1px;
800 padding: 1px 0em 1px auto;
812 margin: 0em 0em 0em 0em;
814 padding: 0em 0em 0em 0em;
820 margin: 1em 1em 5px 1em;
822 padding: 4px 2px 1px 2px;
824 font-family: monospace;
834 #more_fields {margin: auto auto auto 200px;
836 padding: auto auto auto 200px; display: block; }
838 input.hidden { display: none; }
840 div.hidden { display: none; }
842 div.honey { display: none; }
844 div.advanced_field { display: none; }
848 ins { text-decoration: none }
852 .history_dates { font-size : 80%; }
854 .error_message {margin: 15px 15px 15px 15px;
856 padding: 15px 15px 15px 15px; }
858 .teaser { font-size : 120%;
864 #breadcrumbs {margin: 0em 0em 0em 0em;
866 padding: 0em 0em 0em .0em; float : left;
871 #breadcrumbs ul {margin: 0em 0em 0em 0em;
873 padding: 0em 0em 0em 0em; display : inline;
877 #breadcrumbs li {margin: 0em 0em 0em 0em;
879 padding: 0em 0em 0em 0em; display : inline; }
881 #breadcrumbs a {margin: 0em .5em 0em 0em; text-decoration: none; color: #ff6600; }
897 padding: .5em .2em .1em .5em ;
899 background-color: #ddd;
909 background:#F3F3F3 url($icon_base_url{}sputnik/grippie.png) no-repeat scroll center 2px;
911 border-color:#DDDDDD;
915 border-width:0pt 1px 1px;
935 background: url($icon_base_url{}icons/minus.png) no-repeat right;
941 background: url(data:image/png;base64,$icon_plus) no-repeat right;
955 /*margin-left: 3em;*/
971 .yui-u h2, .yui-u h3, .yui-u h4, .yui-u h5 {
983 /*margin-right: .5em;
987 border: 1px solid green;
989 background-color: #efe;
997 body { background: white; }
1003 /*border-right: 1px solid $NAVBAR; */
1009 .title a:visited { color: black; }
1012 H1 { COLOR: $HEADER; BORDER-BOTTOM: 3px solid $NAVBAR; }
1014 H2 { COLOR: $HEADER; BORDER-BOTTOM: 2px solid $H_LINE; }
1016 H3 { COLOR: $HEADER; BORDER-BOTTOM: 1px dotted $H_LINE; }
1018 ul#menu li a { color: $MENU_TEXT; background: $MENU_BG; }
1023 #sidebar ul#menu li.level1 > a:hover {
1025 color: $MENU_TEXT_HOVER;
1029 #menu_bar ul#menu li a:hover {
1031 color: $MENU_TEXT_HOVER;
1035 ul#menu li.front a { background: $NAVBAR; }
1039 ul#menu li ul li a {
1047 ul#menu li.front ul li a {
1057 #menu_bar ul#menu li ul { background: $NAVBAR; }
1059 #menu_bar ul#menu li ul li.front a { color: $WHITE; background: $SUBMENU_CURRENT_BG; BORDER: 2px solid $SUBMENU_CURRENT_BORDER; }
1061 #menu_bar ul#menu li ul li.back a { color: $SUBMENU_FG; background: $SUBMENU_BG; BORDER: 1px solid $SUBMENU_BORDER; }
1063 #menu_bar ul#menu li ul li a:hover { color: $MENU_TEXT_HOVER; }
1067 #sidebar ul#menu li ul li.front a {
1077 DEL { COLOR: $BLACK; background: $LIGHT_GRAY; }
1079 INS { COLOR: $TEXT; background: $INS; }
1081 A:link { COLOR: $LINK; }
1083 A:visited { COLOR: $LINK; }
1085 A:hover { COLOR: $LINK; }
1087 A.no_such_node { background: #fffacd; }
1091 CODE { background: $LIGHTEST_GRAY; }
1093 PRE { background: $LIGHTEST_GRAY; BORDER: 1px solid $LIGHT_GRAY; }
1095 TH { background: $LIGHTEST_GRAY; BORDER: 1px solid $LIGHT_GRAY; }
1097 TD { BORDER: 1px solid $LIGHT_GRAY; }
1099 .preview { BORDER: 4px solid #666; }
1101 .missing_page { background: $LIGHT_GRAY }
1111 input, select, textarea {
1113 background: $FORM_BG;
1115 border: 2px solid $GRAY;
1121 background: $FORM_BG_READONLY;
1129 background: $FORM_BG_SUBMIT;
1137 border: 2px solid $NAVBAR;
1139 background: #ffffd6;
1149 A.button { background: $FORM_BG_SUBMIT; BORDER: 1px outset $FORM_BORDER;
1151 color: black; text-decoration: none;
1155 INPUT.small_submit { background: $FORM_BG_SUBMIT; BORDER: 1px outset $FORM_BORDER; }
1157 .save input { background: #ffa20f; border: 2px outset #d7b9c9 }
1161 .error_message { BORDER: 2px solid red; }
1163 .content .preview { BORDER: 3px dashed $NAV_BAR; }
1171 div.popup_form div.transparency {
1175 height: 100%; width: 100%;
1191 div.popup_form div.popup_frame {
1197 border: 5px solid $NAVBAR;
1213 div.popup_form div.actual_form {
1231 /* Comments Styles */
1239 list-style-type: none;
1247 padding-bottom: 10px;
1253 ol.discussion div.content {
1265 ol.discussion div.header {
1267 border-bottom-color: black;
1269 border-bottom-style: solid;
1271 border-bottom-width: 2px;
1273 padding-bottom: 5px;
1279 ol.discussion ul.toolbar {
1295 ol.discussion ul.toolbar li {
1311 #menu_bar, #login, #ft, .toolbar {
1313 display: none; !important;
1319 background-color: white;
1338 ul#menu li a { color: black; background: white; }
1340 #ft { padding-top: 3em; text-align: center }
1342 #sidebar ul#menu li.level1 > a:hover {
1348 #menu_bar ul#menu li a:hover {
1349 border-top: 1px solid black;
1353 ul#menu li.front a {
1358 ul#menu li ul li a {
1362 ul#menu li.front ul li a {
1368 #menu_bar ul#menu li ul { background: white; }
1369 #menu_bar ul#menu li ul li a { font-weight: normal; }
1370 #menu_bar ul#menu li ul li.front a { color: #FF6600; background: white; }
1371 #menu_bar ul#menu li ul li.back a { color: black; background: white; BORDER: none; }
1373 #menu_bar ul#menu li ul li a:hover { border-top: 1px solid black; }
1375 #sidebar ul#menu li ul li.front a {
1395 admin_edit_ui
= [[ css_config = {0.0, "textarea"}
1400 css_config
= [[MAIN_HUE = 320 -- pick a number between 0 and 360
1402 STARTING_SATURATION = .7 -- pick a number between 0 and 1
1404 MAIN = colors.new(MAIN_HUE, STARTING_SATURATION, .50)
1408 SECOND, THIRD = MAIN:neighbors() -- MAIN:terciary() for more contrast
1410 THIRD = SECOND -- stick with just one color
1414 GRAY = MAIN:desaturate_to(0) -- set value > 0 to make your "grays" lightly colored
1416 LIGHT_GRAY = GRAY:tint(.7) -- higher number = lighter
1418 LIGHTEST_GRAY = GRAY:tint(.9) -- higher number = lighter
1420 DARK_GRAY = GRAY:shade(.7) -- higher nu mber = darker
1428 BODY_BG = BODY_BG_COLOR or MAIN:desaturate_to(0):tint(.3)
1430 LINK = "#0000cc" -- darker blue
1436 NAVBAR = SECOND:desaturate_to(.7):shade(.1)
1442 MENU_TEXT_HOVER = "yellow"
1446 MENU_BG_HOVER = BLACK
1450 SUBMENU_CURRENT_BG = THIRD:shade(.2)
1452 SUBMENU_CURRENT_BORDER = WHITE
1454 SUBMENU_CURRENT_FG = WHITE
1456 SUBMENU_BG = THIRD:shade(.2)
1458 SUBMENU_BORDER = THIRD:tint(.3)
1464 HEADER = THIRD:shade(.1)
1466 H_LINE = THIRD:shade(.1)
1470 FORM_BG = WHITE --SECOND:desaturate_to(.6):tint(.9)
1472 FORM_BG_SUBMIT = SECOND:desaturate_to(.8):tint(.3)
1474 FORM_BG_READONLY = SECOND:desaturate_to(.2):tint(.7)
1476 FORM_BORDER = SECOND
1482 icon_plus_wrapped = [=[
1484 iVBORw0KGgoAAAANSUhEUgAAABEAAAARCAYAAAA7bUf6AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/
1486 wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB9gMFBUUKV7DN4kAAAAZdEVYdENvbW
1488 1lbnQAQ3JlYXRlZCB3aXRoIEdJTVBXgQ4XAAAAKUlEQVQ4y2NgoAJgJCD/nxi1TNRwyaghuGPnPyV
1490 mDD7vjCa2wWgIVQAA4ZoDHFUwDWsAAAAASUVORK5CYII=
1496 icon_plus = icon_plus_wrapped:gsub("%s", "")