Added: struts/site/trunk/content/resources/css/renderer-macros.css URL: http://svn.apache.org/viewvc/struts/site/trunk/content/resources/css/renderer-macros.css?rev=1436267&view=auto ============================================================================== --- struts/site/trunk/content/resources/css/renderer-macros.css (added) +++ struts/site/trunk/content/resources/css/renderer-macros.css Mon Jan 21 10:54:39 2013 @@ -0,0 +1,158 @@ +/* + Styles for macros bundled in Renderer. +*/ + +.panelMacro { + margin: 10px 20px; + overflow: hidden; /* fix width next to floated content */ +} + +.panelMacro table { + text-align: left; + padding: 0 20px; + width: 100%; +} + +.panelMacro td, .panelMacro p { + font-size: 1em; + padding: 14px 0; +} + +.searchMacro { + font-size: 10pt; + margin: 10px 0; +} + +.searchMacro .result { + margin-top: 3px; + padding: 0 5px 5px 5px; + border-bottom: 1px solid #ddd; +} + +.searchMacro .resultSummary { + margin-bottom: 7px; +} + +.rssMacro { + font-size: 10pt; +} + +.rssMacro table { + margin: 10px 0; + width: 100%; + border-collapse: collapse; +} + +.rssMacro table th, +.rssMacro table td { + border: 1px solid #ccc; + padding: 4px; +} + +.rssMacro table th { + background: #f0f0f0; +} + +/* Code styles */ +.code { + border-width: 1px; + border-style: dashed; + overflow: auto; +} + +.code, .preformatted { + background-color: #fff; +} + +.code pre, .preformatted pre { /* needs 'pre' to override TinyMCE style */ + font-family:"Courier New", Courier, monospace; + line-height: 1.3; +} + +.code-keyword { + color: #000091; + background-color: inherit; +} + +.code-object { + color: #910091; + background-color: inherit; +} + +.code-quote { + color: #009100; + background-color: inherit; +} + +.code-comment { + color: #808080; + background-color: inherit; +} + +.code-xml .code-keyword { + color: inherit; + font-weight: bold; +} + +.code-tag { + color: #000091; + background-color: inherit; +} + +/* Recently Updated Styles */ +.recentlyUpdatedItem { + border-bottom: #f0f0f0 1px solid; + border-top: #f0f0f0 1px solid; + margin: 10px 0 0 0; + padding: 0; + border-spacing: 0; + width: 100%; + text-decoration: none; + border-collapse: collapse; +} + +.recentlyUpdatedItem td { + padding: 10px; + border-bottom: #f0f0f0 1px solid; + vertical-align: top; +} + +.recentlyUpdatedItem .authorAndDate { + background-color: #f0f0f0; + width: 25%; +} + +.recentlyUpdatedItem .date { + margin-top: 4px; + font-size: 90%; + color: #666; +} + +.recentlyUpdatedItem .profilePic { + float: right; + background-color: #f0f0f0; + margin: 0 2px; +} + +.recentlyUpdatedItem .twixie { + padding: 10px 0 0 4px; +} + +.recentlyUpdatedItem .icon { + padding: 8px 0 0 1px; +} + +.recentlyUpdatedItem .details { + padding-left: 7px; +} + +.recentlyUpdatedItem .summary, .recentlyUpdatedItem .thumbnail { + margin-top: 3px; + color: #666; +} + +.moreRecentlyUpdatedItems { + text-align: right; + margin-top: 10px; + font-size: 10pt; +}
Added: struts/site/trunk/content/resources/css/tables.css URL: http://svn.apache.org/viewvc/struts/site/trunk/content/resources/css/tables.css?rev=1436267&view=auto ============================================================================== --- struts/site/trunk/content/resources/css/tables.css (added) +++ struts/site/trunk/content/resources/css/tables.css Mon Jan 21 10:54:39 2013 @@ -0,0 +1,24 @@ +table.confluenceTable { + margin: 5px; + border-collapse: collapse; +} + +td.confluenceTd, table.confluenceTable td.confluenceTd { + border-width: 1px; + border-style: solid; + border-color: #ddd; + padding: 5px; + vertical-align: top; + min-width: 0.6em; +} + +th.confluenceTh, table.confluenceTable th.confluenceTh { + border-width: 1px; + border-style: solid; + border-color: #ddd; + padding: 5px; + background-color: #f0f0f0; + text-align: left; + vertical-align: top; + min-width: 0.6em; +} \ No newline at end of file Added: struts/site/trunk/content/resources/css/tabs.css URL: http://svn.apache.org/viewvc/struts/site/trunk/content/resources/css/tabs.css?rev=1436267&view=auto ============================================================================== --- struts/site/trunk/content/resources/css/tabs.css (added) +++ struts/site/trunk/content/resources/css/tabs.css Mon Jan 21 10:54:39 2013 @@ -0,0 +1,46 @@ +#tab-navigation { + border-bottom: 1px solid; + margin: 0 -10px; + margin-bottom: 10px; + padding: 0 10px; +} + +.tab-navigation { + list-style: none; + display: block; + margin: 0 0 -1px; + padding: 0; + overflow: hidden; +} +.tab-navigation .tab { + float: left; + display: inline; + font-weight: bold; + margin: 0 5px -1px 0; +} +.tab-navigation .tab a { + padding: .3em .4em; + text-decoration: none; + display: block; + -moz-border-radius-topleft: 3px; + -moz-border-radius-topright: 3px; + -webkit-border-top-left-radius: 3px; + -webkit-border-top-right-radius: 3px; +} +.tab-navigation .notab { + margin: 1px 1px 0 1px; + padding: .3em; + float: left; +} + +/* Make the following more specific, so they aren't overriden by themes. */ +ul.tab-navigation .current a { + color: #000; + background-color: #fff; + border-bottom-color: #fff; /* IE */ +} +ul.tab-navigation .current a:hover { + color: #000; + background-color: #fff; + border-bottom-color: #fff; /* IE */ +} Added: struts/site/trunk/content/resources/css/wiki-content.css URL: http://svn.apache.org/viewvc/struts/site/trunk/content/resources/css/wiki-content.css?rev=1436267&view=auto ============================================================================== --- struts/site/trunk/content/resources/css/wiki-content.css (added) +++ struts/site/trunk/content/resources/css/wiki-content.css Mon Jan 21 10:54:39 2013 @@ -0,0 +1,179 @@ +.wiki-content, +.wiki-content p, +.wiki-content table, +.wiki-content tr, +.wiki-content td, +.wiki-content th, +.wiki-content ol, +.wiki-content ul, +.wiki-content li { + font-size: 10pt; + line-height: 13pt; +} + +.wiki-content p { + margin: 10px 0; + padding: 0; +} + +.wiki-content li, +.wiki-content ul p, +.wiki-content ol p { + margin: 0; + padding: 0; +} + +.wiki-content ul { + list-style-type: disc; +} + +.wiki-content ol, +.wiki-content ol ol ol ol, +.wiki-content ol ol ol ol ol ol ol, +.wiki-content ol ol ol ol ol ol ol ol ol ol { + list-style-type: decimal; +} + +.wiki-content ol ol, +.wiki-content ol ol ol ol ol, +.wiki-content ol ol ol ol ol ol ol ol, +.wiki-content ol ol ol ol ol ol ol ol ol ol ol { + list-style-type: lower-alpha; +} + +.wiki-content ol ol ol, +.wiki-content ol ol ol ol ol ol, +.wiki-content ol ol ol ol ol ol ol ol ol, +.wiki-content ol ol ol ol ol ol ol ol ol ol ol ol { + list-style-type: lower-roman; +} + +/*Needs the id selector because of the +'#com-atlassian-confluence h1' entry in master.css*/ +#com-atlassian-confluence .wiki-content h1, +.wiki-content h1, +.wiki-content h2, +.wiki-content h3, +.wiki-content h4, +.wiki-content h5, +.wiki-content h6 { + font-weight: bold; + line-height: normal; + padding: 0; +} + + +#com-atlassian-confluence .wiki-content h1, +.wiki-content h1 +{ + font-size: 21pt; + margin-top: 38px; +} + +.wiki-content h2 { + font-size: 18pt; + margin-top: 32px; +} + +.wiki-content h3 { + font-size: 15pt; + margin-top: 28px; +} + +.wiki-content h4 { + font-size: 13pt; + margin-top: 25px; +} + +.wiki-content h5 { + font-size: 11pt; + margin-top: 22px; +} + +.wiki-content h6 { + font-size: 10pt; + margin-top: 22px; +} + +.wiki-content .confluenceTable, .grid { +/* + margin-left: 0; + margin-right: 0; + margin-top: 10px; + margin-bottom: 10px; +*/ + padding: 0; + margin: 5px 0; +} + +.wiki-content td.confluenceTd, +.wiki-content th.confluenceTh { + padding: 5px 7px; +} +.wiki-content-preview { + padding: 5px; + border-left: 1px solid; + border-right: 1px solid; +} + +.wiki-content .preformattedContent, +.wiki-content .codeContent{ + padding: 12px 10px; +} + +.wiki-content .preformattedContent pre, +.wiki-content .codeContent pre{ + margin:0; + /** matches renderer-macros.css: .preformatted pre */ + font-family:"Courier New",Courier,monospace; + line-height:1.3; +} + +/* Styles for TinyMCE editor content */ + +.mceContentBody { + border: none; + padding: 10px; + text-align: left; + background: #fff; +} + +/* IE makes paragraphs in tables, so remove the default margin */ +.mceContentBody .confluenceTable p { + margin: 0; +} + +/* Firefox puts resizing controls on tables. They don't line up with tables unless they have margin 1px. +(0 breaks the border) */ +body.mceContentBody table.confluenceTable { + margin: 1px; +} + +.mceContentBody .wysiwyg-macro-body-preformat { + border: #ccc solid 1px; /* stick to neutral colour, or move to colors-css.vm if required */ + /* horizontal margin matches .panel */ + margin: 5px 20px; +} + +/* Styles for macros */ +.mceContentBody .wysiwyg-macro-inline { + display: inline; +} +.mceContentBody .user-new-line, +.mceContentBody .wysiwyg-macro-body-newline { + display: none; + line-height: 0; +} + +/* Styles for the RTE Autocomplete component */ +#autocomplete { + background-color: #eee; + border: solid 1px #ddd; +} +#autocomplete-trigger{ + background-color: #ddd; + padding: 0 2px; +} +#autocomplete-search-text { + padding: 0 4px 0 2px; +} \ No newline at end of file