diff --git a/src/Orchard.Web/Content/Admin/css/Site.css b/src/Orchard.Web/Content/Admin/css/Site.css index c486b12cf..4dd0a73d4 100644 --- a/src/Orchard.Web/Content/Admin/css/Site.css +++ b/src/Orchard.Web/Content/Admin/css/Site.css @@ -58,7 +58,7 @@ font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill text-decoration:none; padding: 3px 8px 3px 8px; margin:20px 4px 0 4px; - background:url(../images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; border:1px solid #d2d6c6; color:#5a5b32; cursor:pointer; @@ -71,11 +71,11 @@ font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill min-width:960px; display:block; height:60px; - background:url(../images/background_header.jpg) no-repeat bottom right #8a8f7a; + background:url(images/background_header.jpg) no-repeat bottom right #8a8f7a; } #hd h1 a { - background:url(../images/orchardLogo.jpg) no-repeat; + background:url(images/orchardLogo.jpg) no-repeat; float:left; width:105px; height:60px; @@ -116,7 +116,7 @@ font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill .leftNavMod h4 { padding: 4px 4px 6px 8px; - background:url(../images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; cursor:pointer; } @@ -218,7 +218,7 @@ input[button], button, .button { padding: 0px 8px; height: 26px; margin:20px 4px 0 4px; - background:url(../images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; border:1px solid #d2d6c6; color:#5a5b32; cursor:pointer; @@ -292,7 +292,7 @@ thead, th { font-size:100%; /*13px*/ font-weight:700; text-align:left; - background:url(../images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; overflow:hidden; } diff --git a/src/Orchard.Web/Content/Admin/css/autumn.css b/src/Orchard.Web/Content/Admin/css/autumn.css deleted file mode 100644 index ed5d01feb..000000000 --- a/src/Orchard.Web/Content/Admin/css/autumn.css +++ /dev/null @@ -1,315 +0,0 @@ -@charset "UTF-8"; -/* CSS Document */ - -/*Yahoo browser reset -----------------------------------------------------------*/ -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p, -blockquote,th,td {margin:0; padding:0; } -table { border-collapse:collapse; border-spacing:0; } -fieldset,img { border:0; } -address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; } -ol,ul { list-style:none; } -caption,th { text-align:left; } -h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; } -q:before,q:after { content:”; } -abbr,acronym { border:0; } - -/*Defaults -----------------------------------------------------------*/ -body -{ - background-color: #eff4f3; - background:url(../images/themes/autumn/bodyBackground.gif) center repeat-y; - font-size: .80em; - font-family:"Helvetica Neue", "Lucida Grande", Segoe UI, Arial, Helvetica, Verdana, sans-serif; - font-family:"trebuchet ms",helvetica,sans-serif; - text-align:center; - margin: 0; - padding: 0; - color: #2b2b2b; - min-width: 1000px; -} - -a:link -{ - color: #2b2b2b; - text-decoration: underline; -} -a:visited -{ - color: #2b2b2b; -} -a:hover -{ - color:#b1a233; - text-decoration: underline; -} -a:active -{ - color: #2b2b2b; -} - -p -{ - line-height: 1.9em; - margin: 1em .5em .5em .8em; - -} - - -/* HEADINGS -----------------------------------------------------------*/ -h1, h2, h3, h4, h5, h6{ - font-size: 1.5em; - color:#2b2b2b; - -} - -h1{ - font-size: 1.6em; - padding-bottom: 0; - margin-bottom: 0; - } - -h2{ - font-size: 1.5em; -} - - -h3{ - font-size: 1.2em; -} - -h4{ - font-size: 1.1em; -} - -h5, h6{ - font-size: 1em; -} - - -/* PRIMARY LAYOUT ELEMENTS -----------------------------------------------------------*/ - -/* Header and login -----------------------------------------------------------*/ -#header -{ - width: 100%; - height: 60px; -} - -#innerheader -{ - width: 960px; - height: 60px; - margin: 0px auto; - text-align: left; - background: url(../images/themes/autumn/headerBackground.gif) repeat-x top left #000; - -} - -#branding { - float:left; - margin:10px 0px 0px 8px; - background: url(../images/themes/autumn/leaf.gif) no-repeat top left; -} - - -#branding h1 { - font-weight:400; - font-size: 1.5em; - color:#b0a133; - border: none; - padding:2px 8px 4px 24px; - font-size: 26px !important; -} - -#login { - float:right; - color:#b0a133; - margin:21px 16px 0px 12px; - padding:4px 0px 8px 8px; -} - - -/* Main Content -----------------------------------------------------------*/ - -#wrapper { - width:960px; - margin:0 auto; - text-align:left; - /*old background:#2b3442;*/ - background:#fcfcfc; - } - -#content { - width: 740px; - float:right; - margin:42px 0px 0px 0px; -} - -#leftNav { - width: 200px; - float:left; - margin:16px 0px 0px 8px; -} - -#footer { - clear:both; - padding:4px; - overflow:hidden; -} - -/* Form elements -----------------------------------------------------------*/ - -textarea{ - width: 716px; - height: 600px; - border: 1px solid #bdb791; - background:#FFF; - padding: 5px; - } - -input.bttn { - font-size: 1.2em; - font-weight:400; - margin: 20px 0px 20px 310px; - padding:4px 12px; - color:#e2da84; - background: url(../images/themes/autumn/headerBackground.gif) repeat-x top left #000; - border: 1px solid #191919; -} - -fieldset { - margin: 20px; - padding: 10px; - border: 1px solid #bdb791; -} - -legend { - font-size: 1.1em; - padding: 2px 4px 8px 4px; -} - -label { - display: block; -} - - -/* Top navigation pane -----------------------------------------------------------*/ - -#topNavOutter -{ - width: 100%; - height: 30px; -} - -#topNavInner -{ - width: 960px; - height: 30px; - margin: 0px auto; - text-align: left; - background: url(../images/themes/autumn/TopNavBackground.gif) repeat-x bottom left #1f1f1f; - color:#FFF; -} - -#topNavInner ul -{ - margin:0; - padding:0; - list-style:none; - float:left; -} - -#topNavInner ul li -{ - float:left; - height:30px; - background:url(../images/themes/autumn/TopNavDivider.gif) no-repeat top right; -} - -#topNavInner ul li a -{ - display:block; - padding:6px 14px 2px 14px; - text-decoration:none; - float:left; - color:#e2da84; -} - -#topNavInner ul li a:hover -{ - display:block; - padding:6px 14px 2px 14px; - text-decoration:underline; - float:left; - color:#b1a233; -} - - -/* Breadcrumbs -----------------------------------------------------------*/ - -h2.crumb { - font-weight:400; - font-variant:normal; - color:#98926e; - border-bottom:1px dotted #98926e; - padding:0px 0px 4px 0px; -} - -h2.crumb a { - color:#abba39; -} - - -/* Left navigation pane -----------------------------------------------------------*/ - -.leftNavMod { - border:1px #bdb791 solid; - margin:14px 4px; - background:#FFF; - -moz-border-radius-bottomleft:4px; - -moz-border-radius-bottomright:4px; - -moz-border-radius-topleft:4px; - -moz-border-radius-topright:4px; -} - -.leftNavMod h2 { - font-size: 1.1em; - font-variant:normal; - padding: 6px 4px 6px 4px; - color:#2a2a2a; - background: url(../images/themes/autumn/sideNavBackground.gif) repeat-x top left #FFF; - border-bottom:1px solid #98926e; - cursor:pointer; - } - -/* Unorderer list links in left navigation pane -----------------------------------------------------------*/ - -.leftNavMod ul a { -display:block; -height:24px; -line-height:24px; -padding:0px 0px 0px 12px; -text-decoration:none; -text-transform:lowercase; -} - -.leftNavMod ul a:visited{ - color: #2b2b2b; -} - -.leftNavMod ul a:hover { -color: #3e4301; -background:#D3E378 !important;; -text-decoration:underline; -} diff --git a/src/Orchard.Web/Content/Admin/Site.css b/src/Orchard.Web/Content/Admin/css/base.css similarity index 60% rename from src/Orchard.Web/Content/Admin/Site.css rename to src/Orchard.Web/Content/Admin/css/base.css index 9fbb4c61c..f0312c21d 100644 --- a/src/Orchard.Web/Content/Admin/Site.css +++ b/src/Orchard.Web/Content/Admin/css/base.css @@ -1,73 +1,84 @@ -/* YUI Overrides -----------------------------------------------------------*/ -#doc4 {margin:10px auto;} - -#doc3 {margin: auto 0px; min-width:970px;} - -#bd {padding:14px; background-color:#f6faea; margin:0 4px;} - -#ft {text-align:center;} - -/*Defaults -----------------------------------------------------------*/ -html {height: 100%; color:#525e50; background-color:#b0b4a1; background-color:#8a8f7a;} - -body {font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; - height: 100%; - width:100%; - text-align:left; +html { + background:#8a8f7a; + color:#525e50; +} +body { color:#5a5b32; - font-size: 85%; + font-family:Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; + font-size:62.5%; /* 10px */ + min-width:96em; /* 960px */ +} +body#preview { + min-width:0; +} +#main { + font-size:1.2em; /* 12px */ } -/* ---------- Headings and defaults ---------- */ -h1,h2,h3,h4,h5,h6,legend {padding:4px 0; font-family:"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif; font-weight:normal; font-style: normal;} +/* Headings and defaults +----------------------------------------------------------*/ +h1, h2, h3, h4, h5, h6, legend { + padding:.4em 0; + font-family:"Palatino Linotype", Palatino, Palladio, "URW Palladio L", "Book Antiqua", Baskerville, "Bookman Old Style", "Bitstream Charter", "Nimbus Roman No9 L", Garamond, "Apple Garamond", "ITC Garamond Narrow", "New Century Schoolbook", "Century Schoolbook", "Century Schoolbook L", Georgia, serif; + font-style: normal; + font-weight:normal; +} +h1 { font-size:2.4em; } /* 24px */ +h2 { font-size:2.1em; } /* 21px */ +h3 { font-size:1.8em; } /* 18px */ +h4 { font-size:1.6em; } /* 16px */ +h5 { font-size:1.5em; } /* 15px */ +h6 { font-size:1.4em; } /* 14px */ -h1 {font-size: 180%;} -h2 {font-size: 160%;} -h3 {font-size: 140%;} -h4 {font-size: 120%;} -h5 {font-size: 110%;} -h6 {font-size: 105%;} - -p {margin:4px;} -.smallText {font-size: 85%;} - -strong {font-weight:700;} +p { + margin:4em; +} +strong { + font-weight:700; +} /* ---------- Links ---------- */ -a, a:link, a:visited {text-decoration:none; color:#1e5d7d;} -a:hover, a:active {text-decoration:underline; color:#1e5d7d;} - -a.linkButton, a.linkButton:visited { - font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; - margin:4px 4px 4px 12px; - padding:2px; - border:1px solid #d2d6c6; - color:#5a5b32; +a, a:link, a:visited { + color:#1e5d7d; + text-decoration:none; +} +a:hover, a:active, a:focus { + color:#1e5d7d; + text-decoration:underline; } +/* todo: (heskew) see what's necessary - looks like a link styled as a button */ +a.linkButton, a.linkButton:visited { + font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; + display:inline-block; + text-align:center; + text-decoration:none; + padding: 3px 8px 3px 8px; + margin:20px 4px 0 4px; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + border:1px solid #d2d6c6; + color:#5a5b32; + cursor:pointer; +} /* Header - Branding and Login ----------------------------------------------------------*/ -#hd { - min-width:960px; +#banner { + background:#8a8f7a url(images/background_header.jpg) no-repeat bottom right; + height:60px; +} +#banner h1 { + float:left; +} +#banner h1 a { + background:url(images/orchardLogo.jpg) no-repeat; display:block; height:60px; - background:url(../images/background_header.jpg) no-repeat bottom right #8a8f7a; -} - -#hd h1 a { - background:url(../images/orchardLogo.jpg) no-repeat; - float:left; + margin:-10px 0 0 18px; + text-indent:-9999px; width:105px; - height:60px; - position:relative; - top:-4px; - margin:0 0 -14px 18px; - z-index:0; - } +} #hd a, #hd a:visited, #hd a:active { display:block; @@ -100,7 +111,7 @@ a.linkButton, a.linkButton:visited { .leftNavMod h4 { padding: 4px 4px 6px 8px; - background:url(../images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; cursor:pointer; } @@ -147,7 +158,7 @@ div.confirmation, div.warning, div.critical { .critical { background:#e68585; border:1px solid #990808; - color:#990808; + color:#fff; } /* Forms @@ -178,7 +189,7 @@ legend { color:#525e50; } -select, textarea, .inputText, .button{ +select, textarea, #PublishLaterDate, .inputText{ font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size:102%; margin:4px 4px 4px 0; @@ -188,7 +199,7 @@ select, textarea, .inputText, .button{ } textarea { - width:90%; + width:80%; height:260px; } @@ -199,16 +210,24 @@ margin:0 6px 0 0; input[button], button, .button { font-family: Frutiger, "Frutiger Linotype", Univers, Calibri, "Gill Sans", "Gill Sans MT", "Myriad Pro", Myriad, "DejaVu Sans Condensed", "Liberation Sans", "Nimbus Sans L", Tahoma, Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif; text-align:center; - padding:2px 6px; - margin:20px 0 0 0; + padding: 0px 8px; + height: 26px; + margin:20px 4px 0 4px; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + border:1px solid #d2d6c6; + color:#5a5b32; + cursor:pointer; } +.buttonFocus {color:#f6faea; border:1px solid #666d51; background:#8a8f7a;} + + #permalink{ width:200px; } .inputText { - width:90%; + width:80%; } .inputTextLarge { @@ -220,6 +239,10 @@ input[button], button, .button { margin:-4px 0 8px 0; } + +#Revision_Slug{ + width:245px; +} /* ---------- Sidebar forms ---------- */ .sideBar fieldset {margin:0px; border:none;} @@ -251,6 +274,7 @@ table { width: 100%; border-spacing: 0px; border:1px solid #B0B083; + background:#fff; } tbody @@ -260,10 +284,10 @@ tbody } thead, th { - font-size:104%; + font-size:100%; /*13px*/ font-weight:700; text-align:left; - background:url(../images/tableHeaderBackground.gif) repeat-x top left #dddfcb; + background:url(images/tableHeaderBackground.gif) repeat-x top left #dddfcb; overflow:hidden; } @@ -318,6 +342,24 @@ ul.horizontal li a, ul.horizontal li a:visited, ul.horizontal li a:active, ol.ho text-decoration: none; } +/* Miscellaneous; +----------------------------------------------------------*/ + +.templateThumbnail{ + width: 124px; + height: 144px; + border:1px solid #000; + margin: 4px 4px 20px 16px; +} + +.previewImage { + width:70%; + height:70%; + border:1px solid #525e50; +} + + + /* Extensions; ----------------------------------------------------------*/ @@ -343,7 +385,8 @@ ul.horizontal li a, ul.horizontal li a:visited, ul.horizontal li a:active, ol.ho .separator {border-bottom:1px dashed #E4E7DC; margin-bottom:8px; padding-bottom:2px;} -.roundCorners { +/*TODO - Remove roundCorners class*/ +table, textarea, #bd, .button, .inputText, .inputTextLarge, .inputTextPermalink, .linkButton, .leftNavMod, div.confirmation, div.warning, div.critical, .roundCorners { -moz-border-radius-bottomleft:4px; -moz-border-radius-bottomright:4px; @@ -355,3 +398,11 @@ ul.horizontal li a, ul.horizontal li a:visited, ul.horizontal li a:active, ol.ho -webkit-border-bottom-left-radius: 4px; -webkit-border-bottom-right-radius: 4px; } + + +/* TinyMCE Overides +----------------------------------------------------------*/ +.defaultSkin table.mceLayout { + margin:0 0 20px 0 !important; + width:90% !important; +} diff --git a/src/Orchard.Web/Content/Admin/css/dark.css b/src/Orchard.Web/Content/Admin/css/dark.css deleted file mode 100644 index b84bc043f..000000000 --- a/src/Orchard.Web/Content/Admin/css/dark.css +++ /dev/null @@ -1,316 +0,0 @@ -@charset "UTF-8"; -/* CSS Document */ - -/*Yahoo browser reset -----------------------------------------------------------*/ -body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p, -blockquote,th,td {margin:0; padding:0; } -table { border-collapse:collapse; border-spacing:0; } -fieldset,img { border:0; } -address,caption,cite,code,dfn,em,strong,th,var { font-style:normal; font-weight:normal; } -ol,ul { list-style:none; } -caption,th { text-align:left; } -h1,h2,h3,h4,h5,h6 { font-size:100%; font-weight:normal; } -q:before,q:after { content:”; } -abbr,acronym { border:0; } - -/*Defaults -----------------------------------------------------------*/ -body -{ - background: url(../images/themes/dark/bodyBackground.gif) repeat-x top left #303a49; - font-size: .80em; - font-family:"Helvetica Neue", "Lucida Grande", Segoe UI, Arial, Helvetica, Verdana, sans-serif; - text-align:center; - margin: 0; - padding: 0; - color: #f5f5f5; - min-width: 1000px; -} - -a:link -{ - color: #bababa; - text-decoration: underline; -} -a:visited -{ - color: #bababa; -} -a:hover -{ - color:#ff7e00; - text-decoration:underline; -} -a:active -{ - color: #bababa; -} - -p -{ - line-height: 1.9em; - margin: 1em .5em .5em .8em; - -} - - -/* HEADINGS -----------------------------------------------------------*/ -h1, h2, h3, h4, h5, h6{ - font-size: 1.5em; - color:#f5f5f5; - -} - -h1{ - font-size: 1.6em; - padding-bottom: 0; - margin-bottom: 0; - } - -h2{ - font-size: 1.5em; -} - - -h3{ - font-size: 1.2em; -} - -h4{ - font-size: 1.1em; -} - -h5, h6{ - font-size: 1em; -} - - -/* PRIMARY LAYOUT ELEMENTS -----------------------------------------------------------*/ - -/* Header and login -----------------------------------------------------------*/ -#header -{ - width: 100%; - height: 90px; -} - -#innerheader -{ - width: 960px; - height: 90px; - margin: 0px auto; - text-align: left; - background: url(../images/themes/dark/headerBackground.gif) repeat-x top left #000; - border-left:1px #38383d solid; - border-right:1px #696969 solid; -} - -#branding { - float:left; - margin:20px 0px 0px 0px; - padding:4px 8px 8px 16px; -} - - -#branding h1 { - font-weight:800; - font-size: 1.6em; - border: none; - font-size: 28px !important; -} - -#login { - float:right; - margin:32px 16px 0px 12px; - padding:4px 0px 8px 8px; -} - - -/* Main Content -----------------------------------------------------------*/ - -#wrapper { - width:960px; - margin:0 auto; - text-align:left; - /*old background:#2b3442;*/ - background:#262d31; - border-left:1px #364253 solid; - border-bottom:1px #364253 solid; - border-right:1px #364253 solid; - } - -#content { - width: 740px; - float:right; - margin:42px 0px 0px 0px; -} - -#leftNav { - width: 200px; - float:left; - margin:16px 0px 0px 8px; -} - -#footer { - clear:both; - padding:4px; - overflow:hidden; -} - -/* Form elements -----------------------------------------------------------*/ - -textarea{ - width: 716px; - height: 600px; - border: 1px solid #364253; - background:#f5f5f5; - padding: 5px; - } - -input.bttn { - font-size: 1.2em; - font-weight:400; - margin: 20px 0px 20px 310px; - padding:4px 12px; - color:#abba39; - background: url(../images/themes/dark/headerBackground.gif) repeat-x top left #000; - border: 1px solid #191919; -} - -fieldset { - margin: 20px; - padding: 10px; - border: 1px solid #323b40; -} - -legend { - font-size: 1.1em; - padding: 2px 4px 8px 4px; -} - -label { - display: block; -} - - -/* Top navigation pane -----------------------------------------------------------*/ - -#topNavOutter -{ - width: 100%; - height: 30px; -} - -#topNavInner -{ - width: 960px; - height: 30px; - margin: 0px auto; - text-align: left; - background: url(../images/themes/dark/TopNavBackground.gif) repeat-x bottom left #000; - border-left:1px #000 solid; - border-right:1px #000 solid; - color:#FFF; -} - -#topNavInner ul -{ - margin:0; - padding:0; - list-style:none; - float:left; -} - -#topNavInner ul li -{ - float:left; - height:30px; - background:url(../images/themes/dark/TopNavDivider.gif) no-repeat top right; -} - -#topNavInner ul li a -{ - display:block; - padding:6px 14px 2px 14px; - text-decoration:none; - float:left; - color:#f5f5f5; -} - -#topNavInner ul li a:hover -{ - display:block; - padding:6px 14px 2px 14px; - text-decoration:underline; - float:left; - color:#ff7e00; -} - - -/* Breadcrumbs -----------------------------------------------------------*/ - -h2.crumb { - font-weight:400; - font-variant:normal; - color:#dcdcde; - border-bottom:1px dotted #364253; - padding:0px 0px 4px 0px; -} - -h2.crumb a { - color:#abba39; -} - - -/* Left navigation pane -----------------------------------------------------------*/ - -.leftNavMod { - border:1px #191919 solid; - margin:14px 4px; - background:#dcdcde; - -moz-border-radius-bottomleft:4px; - -moz-border-radius-bottomright:4px; - -moz-border-radius-topleft:4px; - -moz-border-radius-topright:4px; -} - -.leftNavMod h2 { - font-size: 1.1em; - font-variant:normal; - padding: 4px; - color:#bababa; - background: url(../images/themes/dark/headerBackground.gif) repeat-x top left #000; - border-bottom:1px solid #212121; - cursor:pointer; - } - -/* Unorderer list links in left navigation pane -----------------------------------------------------------*/ - -.leftNavMod ul a { - display:block; - height:24px; - color:#3a546e; - line-height:24px; - padding:0px 0px 0px 12px; - text-decoration:none; -} - -.leftNavMod ul a:visited{ - color:#3a546e; -} - -.leftNavMod ul a:hover { - color: #ff7e00; - background:#5c6165 !important;; - text-decoration:underline; -} diff --git a/src/Orchard.Web/Content/Admin/css/images/background_header.jpg b/src/Orchard.Web/Content/Admin/css/images/background_header.jpg new file mode 100644 index 000000000..4775b434c Binary files /dev/null and b/src/Orchard.Web/Content/Admin/css/images/background_header.jpg differ diff --git a/src/Orchard.Web/Content/Admin/css/images/orchardLogo.jpg b/src/Orchard.Web/Content/Admin/css/images/orchardLogo.jpg new file mode 100644 index 000000000..e378d549f Binary files /dev/null and b/src/Orchard.Web/Content/Admin/css/images/orchardLogo.jpg differ diff --git a/src/Orchard.Web/Content/Admin/css/images/tableHeaderBackground.gif b/src/Orchard.Web/Content/Admin/css/images/tableHeaderBackground.gif new file mode 100644 index 000000000..2a92ab80c Binary files /dev/null and b/src/Orchard.Web/Content/Admin/css/images/tableHeaderBackground.gif differ diff --git a/src/Orchard.Web/Content/Admin/css/yui.reset-3.0.0.css b/src/Orchard.Web/Content/Admin/css/yui.reset-3.0.0.css new file mode 100644 index 000000000..ccc5479ea --- /dev/null +++ b/src/Orchard.Web/Content/Admin/css/yui.reset-3.0.0.css @@ -0,0 +1,126 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 3.0.0 +build: 1549 +*/ +/* + TODO will need to remove settings on HTML since we can't namespace it. + TODO with the prefix, should I group by selector or property for weight savings? +*/ +html{ + color:#000; + background:#FFF; +} +/* + TODO remove settings on BODY since we can't namespace it. +*/ +/* + TODO test putting a class on HEAD. + - Fails on FF. +*/ +body, +div, +dl, +dt, +dd, +ul, +ol, +li, +h1, +h2, +h3, +h4, +h5, +h6, +pre, +code, +form, +fieldset, +legend, +input, +textarea, +p, +blockquote, +th, +td { + margin:0; + padding:0; +} +table { + border-collapse:collapse; + border-spacing:0; +} +fieldset, +img { + border:0; +} +/* + TODO think about hanlding inheritence differently, maybe letting IE6 fail a bit... +*/ +address, +caption, +cite, +code, +dfn, +em, +strong, +th, +var { + font-style:normal; + font-weight:normal; +} +/* + TODO Figure out where this list-style rule is best set. Hedger has a request to investigate. +*/ +li { + list-style:none; +} + +caption, +th { + text-align:left; +} +h1, +h2, +h3, +h4, +h5, +h6 { + font-size:100%; + font-weight:normal; +} +q:before, +q:after { + content:''; +} +abbr, +acronym { + border:0; + font-variant:normal; +} +/* to preserve line-height and selector appearance */ +sup { + vertical-align:text-top; +} +sub { + vertical-align:text-bottom; +} +input, +textarea, +select { + font-family:inherit; + font-size:inherit; + font-weight:inherit; +} +/*to enable resizing for IE*/ +input, +textarea, +select { + *font-size:100%; +} +/*because legend doesn't inherit in IE */ +legend { + color:#000; +} \ No newline at end of file diff --git a/src/Orchard.Web/Content/Admin/css/yui.reset-3.0.0.min.css b/src/Orchard.Web/Content/Admin/css/yui.reset-3.0.0.min.css new file mode 100644 index 000000000..fb264a0c5 --- /dev/null +++ b/src/Orchard.Web/Content/Admin/css/yui.reset-3.0.0.min.css @@ -0,0 +1,8 @@ +/* +Copyright (c) 2009, Yahoo! Inc. All rights reserved. +Code licensed under the BSD License: +http://developer.yahoo.net/yui/license.txt +version: 3.0.0 +build: 1549 +*/ +html{color:#000;background:#FFF;}body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}table{border-collapse:collapse;border-spacing:0;}fieldset,img{border:0;}address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}li{list-style:none;}caption,th{text-align:left;}h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}q:before,q:after{content:'';}abbr,acronym{border:0;font-variant:normal;}sup{vertical-align:text-top;}sub{vertical-align:text-bottom;}input,textarea,select{font-family:inherit;font-size:inherit;font-weight:inherit;}input,textarea,select{*font-size:100%;}legend{color:#000;} \ No newline at end of file diff --git a/src/Orchard.Web/Orchard.Web.csproj b/src/Orchard.Web/Orchard.Web.csproj index 30429cf6b..ff42546ef 100644 --- a/src/Orchard.Web/Orchard.Web.csproj +++ b/src/Orchard.Web/Orchard.Web.csproj @@ -96,10 +96,6 @@ - - - - @@ -158,15 +154,18 @@ - - - - + + + + + + + @@ -175,6 +174,8 @@ + + diff --git a/src/Orchard.Web/Packages/Orchard.CmsPages/Views/Admin/Edit.aspx b/src/Orchard.Web/Packages/Orchard.CmsPages/Views/Admin/Edit.aspx index 8ea185d2c..d64e95fee 100644 --- a/src/Orchard.Web/Packages/Orchard.CmsPages/Views/Admin/Edit.aspx +++ b/src/Orchard.Web/Packages/Orchard.CmsPages/Views/Admin/Edit.aspx @@ -3,21 +3,21 @@ <%@ Import Namespace="Orchard.Mvc.Html" %> <% Html.Include("Header"); %>
-

<%=T("Edit Page")%>

-

<%=T("about setting up a page")%>

+

<%=_Encoded("Edit Page")%>

+

<%=_Encoded("about setting up a page")%>

<%=Html.ValidationSummary() %>
<%using (Html.BeginForm()) {%>
-

<%= T("Page Content") %>

+

<%=_Encoded("Page Content") %>

    <%=Html.EditorFor(m => m.Revision.Title, "inputTextLarge")%> <%=Html.EditorFor(m => m.Revision.Slug, "inputTextPermalink")%> <%foreach (ContentItem content in Model.Revision.Contents) {%> + <%=_Encoded("Zone Name")%>: <%= content.ZoneName %> <%if (Model.Template != null && Model.Template.Zones.Contains(content.ZoneName) == false) {%>
    These contents are assigned to a zone that does not exist in the current template. Please delete it or copy it to another zone.
    <%}%> @@ -36,7 +36,7 @@
<%-- #content --%> + <%-- Navigation --%> + +
<%-- #main --%> + + \ No newline at end of file diff --git a/src/Orchard.Web/Views/Admin/Head.aspx b/src/Orchard.Web/Views/Admin/Head.aspx new file mode 100644 index 000000000..a0bb5d6ec --- /dev/null +++ b/src/Orchard.Web/Views/Admin/Head.aspx @@ -0,0 +1,35 @@ +<%@ Page Language="C#" Inherits="Orchard.Mvc.ViewPage" %> +<%@ Import Namespace="Orchard.Mvc.ViewModels" %> +<%@ Import Namespace="Orchard.Mvc.Html" +%><%-- +todo: (heskew) rework how/what pages are assembled when we get into theming --%> + + + + <%-- todo: (heskew) get this from the menu system + --%>Admin :: Orchard + " rel="stylesheet" type="text/css" /> + <%-- todo: (heskew) same as scripts [below] + --%>" rel="stylesheet" type="text/css" /> + <%-- todo: (heskew) this should come from the admin "page" (partial) + todo: (heskew) should have at the minimum something like, say, includeScript(scriptName[, releaseScriptName], scriptPath[, releaseScriptPath]) + --%> + <%-- todo: (heskew) this should come from the admin "page" (partial) + --%> + + + + +
+
+ <% Html.RenderPartial("Messages", Model.Messages); %> \ No newline at end of file diff --git a/src/Orchard.Web/Views/Admin/Header.aspx b/src/Orchard.Web/Views/Admin/Header.aspx index 4c880ac66..2b1dd6984 100644 --- a/src/Orchard.Web/Views/Admin/Header.aspx +++ b/src/Orchard.Web/Views/Admin/Header.aspx @@ -5,39 +5,36 @@ Admin :: Orchard + <%-- todo: (heskew) same as scripts [below] --%> " rel="stylesheet" type="text/css" /> - + <%-- todo: (heskew) this should come from the admin "page" (partial) --%> + <%-- todo: (heskew) should have at the minimum something like, say, includeScript(scriptName[, releaseScriptName], scriptPath[, releaseScriptPath]) --%> + + <%-- todo: (heskew) this should come from the admin "page" (partial) --%> - + + -
-