Commit 521e2468e43b663ca3455bd43de3f5692729d718

Authored by LeandroNunes
1 parent 93fe9dfa

ActionItem110: renaming to style.css

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@734 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/views/cms/_form.rhtml
  1 +
  2 +<%= javascript_include_tag 'cms' %>
  3 +
1 4 <%= error_messages_for :page %>
2 5  
3 6 <% form_for :page, @page do |f| %>
... ...
app/views/cms/edit.rhtml
  1 + <%= javascript_include_tag 'tiny_mce/tiny_mce.js' %>
  2 + <%= javascript_include_tag 'noosfero_tiny_mce.js' %>
  3 +
  4 +<script>
  5 +tinyMCE.init({
  6 + mode : "textareas",
  7 + theme : "advanced",
  8 + theme_advanced_toolbar_location : "top",
  9 + theme_advanced_layout_manager: 'SimpleLayout',
  10 + theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,undo,redo,separator,formatselect,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,link,unlink,image,table,separator,cleanup,code,separator,help",
  11 + theme_advanced_buttons2 : "",
  12 + theme_advanced_buttons3 : "",
  13 + apply_source_formatting : true,
  14 + language: <%= language.inspect %>,
  15 +});
  16 +</script>
  17 +
  18 +
1 19 <h1>
2 20 <%= _("Edit Page") %>
3 21 </h1>
... ...
app/views/layouts/application.rhtml
... ... @@ -2,50 +2,12 @@
2 2 <head>
3 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
4 4  
5   - <%= javascript_include_tag 'prototype' %>
6   - <%# javascript_include_tag 'sweetTitles' %>
7   - <%= javascript_include_tag 'tiny_mce/tiny_mce.js' %>
8   - <%# javascript_include_tag 'scriptaculous' %>
9   - <%= javascript_include_tag 'dragdrop' %>
10   - <%= javascript_include_tag 'effects' %>
11   - <%= javascript_include_tag 'noosfero_tiny_mce.js' %>
12   - <script language="javascript" type="text/javascript">
13   - tinyMCE.init({
14   - mode : "textareas",
15   - theme : "advanced",
16   - theme_advanced_toolbar_location : "top",
17   - theme_advanced_layout_manager: 'SimpleLayout',
18   - theme_advanced_buttons1 : "bold,italic,underline,strikethrough,separator,undo,redo,separator,formatselect,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,link,unlink,image,table,separator,cleanup,code,separator,help",
19   - theme_advanced_buttons2 : "",
20   - theme_advanced_buttons3 : "",
21   - apply_source_formatting : true,
22   - language: <%= language.inspect %>,
23   - });
24   -
25   - function focusOnFirstField() {
26   - var form = document.forms[0];
27   - if (form.id == 'search_box_form') {
28   - form = document.forms[1];
29   - }
30   - if (form != null && form.elements[0] != null) {
31   - form.elements[0].focus();
32   - }
33   - }
34   -
35   - </script>
36   -
37 5 <%= design_all_header_tags %>
38   - <%= javascript_include_tag 'cms' %>
39   - <% if params[:controller] == 'cms' %>
40   - <%= stylesheet_link_tag 'cms' %>
41   - <% end %>
42 6 <%= stylesheet_link_tag 'common' %>
43   -
44   - <%= stylesheet_link_tag 'menu' %>
45 7 <%= stylesheet_link_tag 'help' %>
46   -
  8 + <%= stylesheet_link_tag 'menu' %>
47 9 <%= javascript_include_tag 'menu' %>
48   -
  10 + <%= javascript_include_tag 'search_box' %>
49 11 </head>
50 12  
51 13 <body onload='javascript: focusOnFirstField();'>
... ...
public/designs/templates/default/stylesheets/cms.css 0 → 100644
... ... @@ -0,0 +1,128 @@
  1 +
  2 +/************************************
  3 + * listing stuff
  4 + ************************************/
  5 +#content .handle, #content .do-reorder UL LI .handle {
  6 + display: none;
  7 +}
  8 +#content .do-reorder LI .handle {
  9 + display: inline;
  10 + background: gray;
  11 + color: white;
  12 + padding: 1px 3px;
  13 + cursor: move;
  14 +}
  15 +
  16 +ul.page-list li {
  17 + list-style: none;
  18 +}
  19 +
  20 +ul.page-list li table,
  21 +ul.page-list li td {
  22 + border: none;
  23 + padding: 3px;
  24 +}
  25 +
  26 +ul.page-list a.page {
  27 + font-weight: bold;
  28 +}
  29 +
  30 +ul.page-list a:visited, ul.page-list a:link {
  31 + color: #000;
  32 +}
  33 +
  34 +ul.page-list a:hover {
  35 + background: #aa9;
  36 +}
  37 +
  38 +#content .page-list .hover {
  39 + background: #F1F0DB;
  40 +}
  41 +
  42 +#content .page-list .commands A.delete-page:hover {
  43 + color: white;
  44 + background: black;
  45 +}
  46 +#content .page-list .hover-delete {
  47 + background: red;
  48 + color: #FF8E90;
  49 +}
  50 +#content .page-list .hover-delete A,
  51 +#content .page-list .hover-delete .commands A {
  52 + color: #FF8E90;
  53 +}
  54 +#content .page-list .hover-delete A.page {
  55 + color: white;
  56 + border-bottom: 0px;
  57 +}
  58 +#content .page-list .hover-delete UL LI A.page {
  59 + color: red;
  60 + border-bottom: 0px;
  61 +}
  62 +
  63 +/***********************************
  64 + * from stuff
  65 + ***********************************/
  66 +div.comatose_field {
  67 +}
  68 +div.comatose_field label {
  69 + display: block;
  70 + font-weight: bold;
  71 +}
  72 +
  73 +div.comatose_field textarea {
  74 + width: 90%;
  75 +}
  76 +div.comatose_field textarea,
  77 +div.comatose_field input,
  78 +div.comatose_field select {
  79 + border: 1px solid gray;
  80 +}
  81 +
  82 +/****************************************
  83 + * revisions page stuff
  84 + ****************************************/
  85 +
  86 +.older-content {
  87 + float: right;
  88 +}
  89 +.current-content {
  90 + float: left;
  91 +}
  92 +
  93 +.revisions {
  94 + width: 47%;
  95 + border: 1px solid gray;
  96 + padding: 0.25em;
  97 +}
  98 +
  99 +.revisions .header {
  100 + font-weight: bold;
  101 + border-bottom: 1px solid black;
  102 + margin-bottom: 10px;
  103 + height: 40px;
  104 +}
  105 +
  106 +.revisions .meta {
  107 + border-bottom: 1px solid black;
  108 + margin-bottom: 10px;
  109 +}
  110 +
  111 +.revisions .footer {
  112 + border-top: 1px solid black;
  113 + margin-top: 10px;
  114 + padding: 0.25em;
  115 +}
  116 +
  117 +.revisions .meta label span {
  118 + font-weight: bold;
  119 +}
  120 +
  121 +.revisions .meta label {
  122 + font-weight: normal;
  123 + display: block;
  124 +}
  125 +
  126 +.collapsed {
  127 + display: none;
  128 +}
... ...
public/designs/templates/leftbar/stylesheets/cms.css 0 → 100644
... ... @@ -0,0 +1,128 @@
  1 +
  2 +/************************************
  3 + * listing stuff
  4 + ************************************/
  5 +#content .handle, #content .do-reorder UL LI .handle {
  6 + display: none;
  7 +}
  8 +#content .do-reorder LI .handle {
  9 + display: inline;
  10 + background: gray;
  11 + color: white;
  12 + padding: 1px 3px;
  13 + cursor: move;
  14 +}
  15 +
  16 +ul.page-list li {
  17 + list-style: none;
  18 +}
  19 +
  20 +ul.page-list li table,
  21 +ul.page-list li td {
  22 + border: none;
  23 + padding: 3px;
  24 +}
  25 +
  26 +ul.page-list a.page {
  27 + font-weight: bold;
  28 +}
  29 +
  30 +ul.page-list a:visited, ul.page-list a:link {
  31 + color: #000;
  32 +}
  33 +
  34 +ul.page-list a:hover {
  35 + background: #aa9;
  36 +}
  37 +
  38 +#content .page-list .hover {
  39 + background: #F1F0DB;
  40 +}
  41 +
  42 +#content .page-list .commands A.delete-page:hover {
  43 + color: white;
  44 + background: black;
  45 +}
  46 +#content .page-list .hover-delete {
  47 + background: red;
  48 + color: #FF8E90;
  49 +}
  50 +#content .page-list .hover-delete A,
  51 +#content .page-list .hover-delete .commands A {
  52 + color: #FF8E90;
  53 +}
  54 +#content .page-list .hover-delete A.page {
  55 + color: white;
  56 + border-bottom: 0px;
  57 +}
  58 +#content .page-list .hover-delete UL LI A.page {
  59 + color: red;
  60 + border-bottom: 0px;
  61 +}
  62 +
  63 +/***********************************
  64 + * from stuff
  65 + ***********************************/
  66 +div.comatose_field {
  67 +}
  68 +div.comatose_field label {
  69 + display: block;
  70 + font-weight: bold;
  71 +}
  72 +
  73 +div.comatose_field textarea {
  74 + width: 90%;
  75 +}
  76 +div.comatose_field textarea,
  77 +div.comatose_field input,
  78 +div.comatose_field select {
  79 + border: 1px solid gray;
  80 +}
  81 +
  82 +/****************************************
  83 + * revisions page stuff
  84 + ****************************************/
  85 +
  86 +.older-content {
  87 + float: right;
  88 +}
  89 +.current-content {
  90 + float: left;
  91 +}
  92 +
  93 +.revisions {
  94 + width: 47%;
  95 + border: 1px solid gray;
  96 + padding: 0.25em;
  97 +}
  98 +
  99 +.revisions .header {
  100 + font-weight: bold;
  101 + border-bottom: 1px solid black;
  102 + margin-bottom: 10px;
  103 + height: 40px;
  104 +}
  105 +
  106 +.revisions .meta {
  107 + border-bottom: 1px solid black;
  108 + margin-bottom: 10px;
  109 +}
  110 +
  111 +.revisions .footer {
  112 + border-top: 1px solid black;
  113 + margin-top: 10px;
  114 + padding: 0.25em;
  115 +}
  116 +
  117 +.revisions .meta label span {
  118 + font-weight: bold;
  119 +}
  120 +
  121 +.revisions .meta label {
  122 + font-weight: normal;
  123 + display: block;
  124 +}
  125 +
  126 +.collapsed {
  127 + display: none;
  128 +}
... ...
public/designs/templates/onecolumn/stylesheets/cms.css 0 → 100644
... ... @@ -0,0 +1,128 @@
  1 +
  2 +/************************************
  3 + * listing stuff
  4 + ************************************/
  5 +#content .handle, #content .do-reorder UL LI .handle {
  6 + display: none;
  7 +}
  8 +#content .do-reorder LI .handle {
  9 + display: inline;
  10 + background: gray;
  11 + color: white;
  12 + padding: 1px 3px;
  13 + cursor: move;
  14 +}
  15 +
  16 +ul.page-list li {
  17 + list-style: none;
  18 +}
  19 +
  20 +ul.page-list li table,
  21 +ul.page-list li td {
  22 + border: none;
  23 + padding: 3px;
  24 +}
  25 +
  26 +ul.page-list a.page {
  27 + font-weight: bold;
  28 +}
  29 +
  30 +ul.page-list a:visited, ul.page-list a:link {
  31 + color: #000;
  32 +}
  33 +
  34 +ul.page-list a:hover {
  35 + background: #aa9;
  36 +}
  37 +
  38 +#content .page-list .hover {
  39 + background: #F1F0DB;
  40 +}
  41 +
  42 +#content .page-list .commands A.delete-page:hover {
  43 + color: white;
  44 + background: black;
  45 +}
  46 +#content .page-list .hover-delete {
  47 + background: red;
  48 + color: #FF8E90;
  49 +}
  50 +#content .page-list .hover-delete A,
  51 +#content .page-list .hover-delete .commands A {
  52 + color: #FF8E90;
  53 +}
  54 +#content .page-list .hover-delete A.page {
  55 + color: white;
  56 + border-bottom: 0px;
  57 +}
  58 +#content .page-list .hover-delete UL LI A.page {
  59 + color: red;
  60 + border-bottom: 0px;
  61 +}
  62 +
  63 +/***********************************
  64 + * from stuff
  65 + ***********************************/
  66 +div.comatose_field {
  67 +}
  68 +div.comatose_field label {
  69 + display: block;
  70 + font-weight: bold;
  71 +}
  72 +
  73 +div.comatose_field textarea {
  74 + width: 90%;
  75 +}
  76 +div.comatose_field textarea,
  77 +div.comatose_field input,
  78 +div.comatose_field select {
  79 + border: 1px solid gray;
  80 +}
  81 +
  82 +/****************************************
  83 + * revisions page stuff
  84 + ****************************************/
  85 +
  86 +.older-content {
  87 + float: right;
  88 +}
  89 +.current-content {
  90 + float: left;
  91 +}
  92 +
  93 +.revisions {
  94 + width: 47%;
  95 + border: 1px solid gray;
  96 + padding: 0.25em;
  97 +}
  98 +
  99 +.revisions .header {
  100 + font-weight: bold;
  101 + border-bottom: 1px solid black;
  102 + margin-bottom: 10px;
  103 + height: 40px;
  104 +}
  105 +
  106 +.revisions .meta {
  107 + border-bottom: 1px solid black;
  108 + margin-bottom: 10px;
  109 +}
  110 +
  111 +.revisions .footer {
  112 + border-top: 1px solid black;
  113 + margin-top: 10px;
  114 + padding: 0.25em;
  115 +}
  116 +
  117 +.revisions .meta label span {
  118 + font-weight: bold;
  119 +}
  120 +
  121 +.revisions .meta label {
  122 + font-weight: normal;
  123 + display: block;
  124 +}
  125 +
  126 +.collapsed {
  127 + display: none;
  128 +}
... ...
public/designs/themes/default/default.css
... ... @@ -1,90 +0,0 @@
1   -/* Default Plain Theme for Blocks */
2   -
3   -div.block
4   -{
5   - background: #FFFFFF;
6   - border: 3px solid #000000;
7   - margin-bottom: 10px;
8   -}
9   -
10   -div.block ul
11   -{
12   - list-style: none;
13   - margin-left: 15px;
14   -}
15   -
16   -div.block h3
17   -{
18   - color: #FFFFFF;
19   - background: #545454;
20   - font-family: Sans-serif;
21   - font-size: 13px;
22   - font-weight: normal;
23   - border-bottom: 1px solid black;
24   - height: 27px;
25   - margin: 0px;
26   - line-height: 27px;
27   - padding-left: 10px;
28   -}
29   -
30   -div.block span {
31   -display: none;
32   -}
33   -
34   -div.block a.button_block_hide:hover span {
35   -display: inline;
36   -position: absolute;
37   -color: #dfdfdf;
38   -background: #000000;
39   -font-family: Sans-serif;
40   -font-size: 13px;
41   -font-weight: normal;
42   -margin: 10px;
43   -padding-left: 5px;
44   -padding-right: 5px;
45   -}
46   -
47   -div.block a.button_block {
48   -display: block;
49   -width: 10px;
50   -height: 10px;
51   -margin-top: 10px;
52   -margin-right: 5px;
53   -float: right;
54   -}
55   -
56   -div.block a.button_block_hide {
57   -border-bottom: 2px solid #dfdfdf;
58   -}
59   -
60   -div.block a:hover.button_block_hide {
61   -border-bottom: 2px solid #000000;
62   -}
63   -
64   -div.block a.button_block_remove {
65   -background: #dfdfdf;
66   -}
67   -
68   -div.block a:hover.button_block_remove {
69   -background: #000000;
70   -}
71   -
72   -div.block_content
73   -{
74   - padding: 5px;
75   -}
76   -
77   -div.block ul {
78   - padding-left: 0px;
79   - margin: 0px;
80   -}
81   -
82   -div.block ul li a:link,
83   -div.block ul li a:hover {
84   - display: block;
85   - color: #000;
86   -}
87   -div.block ul li a:hover {
88   - background: #ddd;
89   - color: red;
90   -}
public/designs/themes/default/style.css 0 → 100644
... ... @@ -0,0 +1,90 @@
  1 +/* Default Plain Theme for Blocks */
  2 +
  3 +div.block
  4 +{
  5 + background: #FFFFFF;
  6 + border: 3px solid #000000;
  7 + margin-bottom: 10px;
  8 +}
  9 +
  10 +div.block ul
  11 +{
  12 + list-style: none;
  13 + margin-left: 15px;
  14 +}
  15 +
  16 +div.block h3
  17 +{
  18 + color: #FFFFFF;
  19 + background: #545454;
  20 + font-family: Sans-serif;
  21 + font-size: 13px;
  22 + font-weight: normal;
  23 + border-bottom: 1px solid black;
  24 + height: 27px;
  25 + margin: 0px;
  26 + line-height: 27px;
  27 + padding-left: 10px;
  28 +}
  29 +
  30 +div.block span {
  31 +display: none;
  32 +}
  33 +
  34 +div.block a.button_block_hide:hover span {
  35 +display: inline;
  36 +position: absolute;
  37 +color: #dfdfdf;
  38 +background: #000000;
  39 +font-family: Sans-serif;
  40 +font-size: 13px;
  41 +font-weight: normal;
  42 +margin: 10px;
  43 +padding-left: 5px;
  44 +padding-right: 5px;
  45 +}
  46 +
  47 +div.block a.button_block {
  48 +display: block;
  49 +width: 10px;
  50 +height: 10px;
  51 +margin-top: 10px;
  52 +margin-right: 5px;
  53 +float: right;
  54 +}
  55 +
  56 +div.block a.button_block_hide {
  57 +border-bottom: 2px solid #dfdfdf;
  58 +}
  59 +
  60 +div.block a:hover.button_block_hide {
  61 +border-bottom: 2px solid #000000;
  62 +}
  63 +
  64 +div.block a.button_block_remove {
  65 +background: #dfdfdf;
  66 +}
  67 +
  68 +div.block a:hover.button_block_remove {
  69 +background: #000000;
  70 +}
  71 +
  72 +div.block_content
  73 +{
  74 + padding: 5px;
  75 +}
  76 +
  77 +div.block ul {
  78 + padding-left: 0px;
  79 + margin: 0px;
  80 +}
  81 +
  82 +div.block ul li a:link,
  83 +div.block ul li a:hover {
  84 + display: block;
  85 + color: #000;
  86 +}
  87 +div.block ul li a:hover {
  88 + background: #ddd;
  89 + color: red;
  90 +}
... ...
public/designs/themes/green/green.css
... ... @@ -1,77 +0,0 @@
1   -/* Green Theme for Blocks */
2   -
3   -div.block
4   -{
5   - background: #FFFFFF;
6   - border: 3px solid #060;
7   - margin-bottom: 10px;
8   -}
9   -
10   -div.block ul
11   -{
12   - list-style: none;
13   - margin-left: 15px;
14   -}
15   -
16   -div.block h3
17   -{
18   - color: #afa;
19   - background: green;
20   - font-family: Sans-serif;
21   - font-size: 13px;
22   - font-weight: normal;
23   - border-bottom: 1px solid black;
24   - height: 27px;
25   - margin: 0px;
26   - line-height: 27px;
27   - padding-left: 10px;
28   -}
29   -
30   -div.block span {
31   -display: none;
32   -}
33   -
34   -div.block a:hover span {
35   -display: inline;
36   -position: absolute;
37   -color: white;
38   -background: #009900;
39   -font-family: Sans-serif;
40   -font-size: 13px;
41   -font-weight: normal;
42   -margin: 10px;
43   -padding-left: 5px;
44   -padding-right: 5px;
45   -}
46   -
47   -div.block a {
48   -display: block;
49   -width: 10px;
50   -height: 10px;
51   -margin-top: 10px;
52   -margin-right: 5px;
53   -float: right;
54   -}
55   -
56   -div.block a.button_block_hide {
57   -border-bottom: 2px solid #dfdfdf;
58   -}
59   -
60   -div.block a:hover.button_block_hide {
61   -border-bottom: 2px solid #000000;
62   -}
63   -
64   -div.block a.button_block_remove {
65   -background: #dfdfdf;
66   -}
67   -
68   -div.block a:hover.button_block_remove {
69   -background: #000000;
70   -}
71   -
72   -div.block_content
73   -{
74   - padding: 5px;
75   -}
76   -
77   -
public/designs/themes/green/style.css 0 → 100644
... ... @@ -0,0 +1,77 @@
  1 +/* Green Theme for Blocks */
  2 +
  3 +div.block
  4 +{
  5 + background: #FFFFFF;
  6 + border: 3px solid #060;
  7 + margin-bottom: 10px;
  8 +}
  9 +
  10 +div.block ul
  11 +{
  12 + list-style: none;
  13 + margin-left: 15px;
  14 +}
  15 +
  16 +div.block h3
  17 +{
  18 + color: #afa;
  19 + background: green;
  20 + font-family: Sans-serif;
  21 + font-size: 13px;
  22 + font-weight: normal;
  23 + border-bottom: 1px solid black;
  24 + height: 27px;
  25 + margin: 0px;
  26 + line-height: 27px;
  27 + padding-left: 10px;
  28 +}
  29 +
  30 +div.block span {
  31 +display: none;
  32 +}
  33 +
  34 +div.block a:hover span {
  35 +display: inline;
  36 +position: absolute;
  37 +color: white;
  38 +background: #009900;
  39 +font-family: Sans-serif;
  40 +font-size: 13px;
  41 +font-weight: normal;
  42 +margin: 10px;
  43 +padding-left: 5px;
  44 +padding-right: 5px;
  45 +}
  46 +
  47 +div.block a {
  48 +display: block;
  49 +width: 10px;
  50 +height: 10px;
  51 +margin-top: 10px;
  52 +margin-right: 5px;
  53 +float: right;
  54 +}
  55 +
  56 +div.block a.button_block_hide {
  57 +border-bottom: 2px solid #dfdfdf;
  58 +}
  59 +
  60 +div.block a:hover.button_block_hide {
  61 +border-bottom: 2px solid #000000;
  62 +}
  63 +
  64 +div.block a.button_block_remove {
  65 +background: #dfdfdf;
  66 +}
  67 +
  68 +div.block a:hover.button_block_remove {
  69 +background: #000000;
  70 +}
  71 +
  72 +div.block_content
  73 +{
  74 + padding: 5px;
  75 +}
  76 +
  77 +
... ...
public/designs/themes/macstyle/macstyle.css
... ... @@ -1,89 +0,0 @@
1   -/* MacStyle Theme for Blocks */
2   -
3   -div.block
4   -{
5   - background: #FFFFFF;
6   - border: 0px;
7   -}
8   -
9   -div.block ul
10   -{
11   - list-style: none;
12   - margin-left: 15px;
13   -}
14   -
15   -ul.block_list div.block h3 {
16   - cursor:move;
17   -}
18   -
19   -div.block h3
20   -{
21   - background: url('images/h3bg.png') repeat-x;
22   - font-family: Sans-serif;
23   - font-size: 15px;
24   - margin: 0px;
25   - line-height: 25px;
26   - overflow: hidden;
27   - vertical-align: middle;
28   - color: #545454;
29   - padding-left: 10px;
30   - height: 35px;
31   -}
32   -
33   -div.block span {
34   -display: none;
35   -padding: 1px;
36   -color: #000;
37   -background: #dfdfdf;
38   -font-family: Sans-serif;
39   -font-size: 10px;
40   -font-weight: normal;
41   -border: 1px inset #545454;
42   -}
43   -
44   -div.block a:hover span {
45   -display: inline;
46   -position: absolute;
47   -margin-top: -20px;
48   -}
49   -
50   -div.block a {
51   -display: block;
52   -float: right;
53   -position: absolute;
54   -width: 20px;
55   -height: 20px;
56   -text-decoration: none;
57   -}
58   -
59   -div.block a.button_block_hide {
60   -right: 25px;
61   -background:url('images/button.png') no-repeat;
62   -background-position: 0px 0px;
63   -}
64   -
65   -div.block a:hover.button_block_hide {
66   -background: url('images/button.png') no-repeat;
67   -background-position: 0px -20px;
68   -}
69   -
70   -div.block a.button_block_remove {
71   -right: 5px;
72   -background: url('images/button.png') no-repeat;
73   -background-position:-20px 0;
74   -}
75   -
76   -div.block a:hover.button_block_remove {
77   -background: url('images/button.png') no-repeat;
78   -background-position:-20px -20px;
79   -}
80   -
81   -div.block_content
82   -{
83   - margin: 0;
84   - padding: 5px 10px 9px 10px;
85   - background: url(images/bottom.png) repeat-x 0 100%;
86   - overflow: hidden;
87   -}
88   -
89   -
public/designs/themes/macstyle/style.css 0 → 100644
... ... @@ -0,0 +1,89 @@
  1 +/* MacStyle Theme for Blocks */
  2 +
  3 +div.block
  4 +{
  5 + background: #FFFFFF;
  6 + border: 0px;
  7 +}
  8 +
  9 +div.block ul
  10 +{
  11 + list-style: none;
  12 + margin-left: 15px;
  13 +}
  14 +
  15 +ul.block_list div.block h3 {
  16 + cursor:move;
  17 +}
  18 +
  19 +div.block h3
  20 +{
  21 + background: url('images/h3bg.png') repeat-x;
  22 + font-family: Sans-serif;
  23 + font-size: 15px;
  24 + margin: 0px;
  25 + line-height: 25px;
  26 + overflow: hidden;
  27 + vertical-align: middle;
  28 + color: #545454;
  29 + padding-left: 10px;
  30 + height: 35px;
  31 +}
  32 +
  33 +div.block span {
  34 +display: none;
  35 +padding: 1px;
  36 +color: #000;
  37 +background: #dfdfdf;
  38 +font-family: Sans-serif;
  39 +font-size: 10px;
  40 +font-weight: normal;
  41 +border: 1px inset #545454;
  42 +}
  43 +
  44 +div.block a:hover span {
  45 +display: inline;
  46 +position: absolute;
  47 +margin-top: -20px;
  48 +}
  49 +
  50 +div.block a {
  51 +display: block;
  52 +float: right;
  53 +position: absolute;
  54 +width: 20px;
  55 +height: 20px;
  56 +text-decoration: none;
  57 +}
  58 +
  59 +div.block a.button_block_hide {
  60 +right: 25px;
  61 +background:url('images/button.png') no-repeat;
  62 +background-position: 0px 0px;
  63 +}
  64 +
  65 +div.block a:hover.button_block_hide {
  66 +background: url('images/button.png') no-repeat;
  67 +background-position: 0px -20px;
  68 +}
  69 +
  70 +div.block a.button_block_remove {
  71 +right: 5px;
  72 +background: url('images/button.png') no-repeat;
  73 +background-position:-20px 0;
  74 +}
  75 +
  76 +div.block a:hover.button_block_remove {
  77 +background: url('images/button.png') no-repeat;
  78 +background-position:-20px -20px;
  79 +}
  80 +
  81 +div.block_content
  82 +{
  83 + margin: 0;
  84 + padding: 5px 10px 9px 10px;
  85 + background: url(images/bottom.png) repeat-x 0 100%;
  86 + overflow: hidden;
  87 +}
  88 +
  89 +
... ...
public/stylesheets/cms.css
... ... @@ -1,128 +0,0 @@
1   -
2   -/************************************
3   - * listing stuff
4   - ************************************/
5   -#content .handle, #content .do-reorder UL LI .handle {
6   - display: none;
7   -}
8   -#content .do-reorder LI .handle {
9   - display: inline;
10   - background: gray;
11   - color: white;
12   - padding: 1px 3px;
13   - cursor: move;
14   -}
15   -
16   -ul.page-list li {
17   - list-style: none;
18   -}
19   -
20   -ul.page-list li table,
21   -ul.page-list li td {
22   - border: none;
23   - padding: 3px;
24   -}
25   -
26   -ul.page-list a.page {
27   - font-weight: bold;
28   -}
29   -
30   -ul.page-list a:visited, ul.page-list a:link {
31   - color: #000;
32   -}
33   -
34   -ul.page-list a:hover {
35   - background: #aa9;
36   -}
37   -
38   -#content .page-list .hover {
39   - background: #F1F0DB;
40   -}
41   -
42   -#content .page-list .commands A.delete-page:hover {
43   - color: white;
44   - background: black;
45   -}
46   -#content .page-list .hover-delete {
47   - background: red;
48   - color: #FF8E90;
49   -}
50   -#content .page-list .hover-delete A,
51   -#content .page-list .hover-delete .commands A {
52   - color: #FF8E90;
53   -}
54   -#content .page-list .hover-delete A.page {
55   - color: white;
56   - border-bottom: 0px;
57   -}
58   -#content .page-list .hover-delete UL LI A.page {
59   - color: red;
60   - border-bottom: 0px;
61   -}
62   -
63   -/***********************************
64   - * from stuff
65   - ***********************************/
66   -div.comatose_field {
67   -}
68   -div.comatose_field label {
69   - display: block;
70   - font-weight: bold;
71   -}
72   -
73   -div.comatose_field textarea {
74   - width: 90%;
75   -}
76   -div.comatose_field textarea,
77   -div.comatose_field input,
78   -div.comatose_field select {
79   - border: 1px solid gray;
80   -}
81   -
82   -/****************************************
83   - * revisions page stuff
84   - ****************************************/
85   -
86   -.older-content {
87   - float: right;
88   -}
89   -.current-content {
90   - float: left;
91   -}
92   -
93   -.revisions {
94   - width: 47%;
95   - border: 1px solid gray;
96   - padding: 0.25em;
97   -}
98   -
99   -.revisions .header {
100   - font-weight: bold;
101   - border-bottom: 1px solid black;
102   - margin-bottom: 10px;
103   - height: 40px;
104   -}
105   -
106   -.revisions .meta {
107   - border-bottom: 1px solid black;
108   - margin-bottom: 10px;
109   -}
110   -
111   -.revisions .footer {
112   - border-top: 1px solid black;
113   - margin-top: 10px;
114   - padding: 0.25em;
115   -}
116   -
117   -.revisions .meta label span {
118   - font-weight: bold;
119   -}
120   -
121   -.revisions .meta label {
122   - font-weight: normal;
123   - display: block;
124   -}
125   -
126   -.collapsed {
127   - display: none;
128   -}