OSDN Git Service

Footerを左寄せに変更
[trpgtools-onweb/cake-frame.git] / app / webroot / css / base.css
index 94da4d2..8aef82e 100644 (file)
@@ -4,8 +4,6 @@
  ?>
 
 * {
-       margin: 0;
-       padding: 0;
        border: 0;
        vertical-align: baseline;
        background: transparent
 body {
        background: #fff;
        color: #333333;
-       font-family:'lucida grande',verdana,helvetica,arial,sans-serif;
        font-size: 12px;
-       margin: 0;
        padding: 0;
+       position : relative
 }
 a {
+       background: transparent;
        color: #003d4c;
        text-decoration: none;
-       font-weight: bold;
 }
 a:visited {
        color: #003d4c;
 }
 a:hover {
+       background: transparent;
        color: #003d4c;
        text-decoration: underline;
 }
-a img {
-       border:none;
-}
 
 h1, h2, h3 {
-       font-weight: normal;
-       line-height: 1em;
+       font-weight: bold;
+       line-height: 1.5em;
        padding: 0;
        margin: 0;
 }
@@ -46,21 +41,23 @@ h1 {
        font-size: 200%;
 }
 h2 {
-       font-size: 150%;
+       font-size: 175%;
+       color: #333;
 }
 h3 {
-       font-size: 125%;
-}
-h4 {
-       font-weight: bold;
+       font-size: 150%;
+       color: #333;
 }
 
 ol,ul {
        list-style:none
+       padding: 0;
+       margin: 0;
 }
 
 li {
        display: inline;
+       margin: 0;
 }
 
 table{
@@ -70,9 +67,14 @@ table{
 }
 
 /* Layout */
+html, body {
+       height:auto;
+}
 #container {
        width: 100%;
-       text-align: left;
+       height:100%;
+       min-height:100%;
+       position : relative
 }
 #container ul {
        margin: 0;
@@ -84,48 +86,84 @@ table{
        font-weight: bold;
        background-color: #000;
        color: #FFF;
+       padding: 0;
+}
+#header h1 {
+       background: transparent url('') no-repeat left;
+       padding: 0;
 }
 #header li {
        margin: 0;
        float: left;
 }
 
-#header a {
+#header a,
+#header h1 a {
+       background: transparent;
        text-decoration: none;
+       font-weight: bold;
 }
-#header a:visited {
+#header a:visited,
+#header h1 a:visited {
+       background: transparent;
        text-decoration: none;
 }
-#header a:hover {
+#header a:hover,
+#header h1 a:hover {
+       background: transparent;
        text-decoration: none;
 }
 
+/* 独自Header:ここから */
 #intro {
        clear: both;
        color: #fff;
        min-height: 3em;
+       width: 100%;
+       overflow: hidden;
 }
 
 #intro ul li {
 }
 
-#siteName a {
+#siteName h1 {
+}
+#siteName h1 a {
        display: block;
        padding: 5px 5px 3px 10px;
        color: #fff;
 }
-#siteName a:visited {
+#siteName h1 a:visited {
        color: #fff;
        text-decoration: none;
 }
-#siteName a:hover {
+#siteName h1 a:hover {
        color: #fff;
        text-decoration: none;
 }
 
 #siteDescription {
        padding: 7px 5px 5px 10px;
+       margin-right: 150px;
+}
+#header li#loginMember {
+       float: right;
+       padding-top: 7px;
+       padding-right: 10px;
+}
+#header li#loginMember a {
+       color: #fff;
+       text-decoration: underline;
+}
+#header li#loginMember a:visited {
+       color: #fff;
+       text-decoration: underline;
+}
+#header li#loginMember a:hover {
+       color: #ffff99;
+       text-decoration: underline;
 }
+
 #breadCrumb {
        padding: 10px;
        vertical-align: middle;
@@ -146,41 +184,45 @@ table{
 .mainNavi {
        background-color: #616161;
        font-size: 110%;
-       height: 27px;
-       padding-left: 5px;
+       min-height: 27px;
+       height: auto;
+       overflow: hidden;
+       padding-left: 0
        clear: both;
 }
-#nav {
+
+.navi {
        position: relative;
-       display: block;
+       display: inline;
        margin: 0;
        padding: 0;
        background-color: transparent;
        height: 27px;
 }
-#nav li {
+.navi li {
        position: relative;
        display: block;
        list-style: none;
        margin: 0;
-       padding: 0;
+       padding-left: 3px;
        float: left;
 }
-#nav *:hover {
+.navi *:hover {
        background-color: none;
 }
-#nav li a {
+.navi li a {
        display: block;
        color: #fff;
        padding: 5px;
 }
-#nav li a:visited {
+.navi li a:visited {
        color: #fff;
 }
-#nav li a:hover {
+.navi li a:hover {
        color: #FFFF44;
+       background: #818989;
 }
-#nav ul {
+.navi ul {
        position: absolute;
        display: none;
        margin: 0;
@@ -188,39 +230,43 @@ table{
        width: 145px;
        top: 25px;
 }
-* html #nav ul { line-height: 0; } /* IE6 "fix" */
-#nav ul a { zoom: 1; } /* IE6/7 fix */
-#nav ul li {
+* html .navi ul { line-height: 0; } /* IE6 "fix" */
+.navi ul a { zoom: 1; } /* IE6/7 fix */
+.navi ul li {
        float: none;
 }
-#nav ul ul {
+.navi ul ul {
        top: 0;
        left: 146px;
        font-size: 100%;
 }
 
-#nav ul li a {
+.navi ul li a {
        border-right: 2px ridge #eee;
        border-left: 2px ridge #eee;
        background-color: #222;
 }
-#nav ul a.hover {
+.navi ul a.hover {
        background-color: #222;
 }
-#nav ul a {
+.navi ul a {
        border-bottom: 2px groove #eee;
        border-right: none;
 }
-* html #nav ul li  { margin-bottom: -3px; } /* IE6ハック */
-*:first-child+html #nav ul li  { margin-bottom: -4px; }/*IE7ハック */
+* html .navi ul li  { margin-bottom: -3px; } /* IE6ハック */
+*:first-child+html .navi ul li  { margin-bottom: -4px; }/*IE7ハック */
+
+ul#navAdmin li {
+       float: right;
+}
 
 #subNavi {
        background-color: #FFFFFF;
        color: #333333;
        font-size: 90%;
        width: 100%;
-       height: 20px;
        clear: both;
+       margin-bottom: 5px;
 }
 #subNavi ul {
 }
@@ -237,11 +283,14 @@ table{
        color: #0033cc;
        text-decoration: underline;
 }
-
-#content {
-       clear: both;
-       width: 100%;
-       padding: 10px 10px 20px 10px;
+#subNavi ul.CharcterViewNav {
+       padding-top: 3px;
+}
+#subNavi ul.CharcterViewNav li {
+       font-size: 120%;
+}
+#subNavi ul.CharcterViewNav li#CharacterViewTitle {
+       font-weight: bold;
 }
 
 #sideMenu {
@@ -257,239 +306,92 @@ table{
        padding: 5px 0 5px 10px;
        display: block;
 }
+/* 独自Header:ここまで */
 
-
-#footer {
+#content {
        width: 100%;
-       clear: both;
-       padding: 6px 10px;
+       height:100%;
+       min-height:100%;
+       padding: 5px;
+       overflow: hidden;
+       position : relative
+}
+#content div#subNavi,
+#content div.view,
+#content div.index,
+#content div.add,
+#content div.edit,
+#content div.delete,
+#content div.listview,
+#content div.admin_listview
+ {
+       margin-left: 5px;
 }
 
-/* Tables */
-table {
-       border-right:0;
-       clear: both;
-       margin-bottom: 10px;
+#footer {
+       padding-top: 15px;
        width: 100%;
-}
-th {
-       font-weight: bold;
-       text-align: center;
-}
-th a {
-       background:#f2f2f2;
-       display: block;
-       padding: 2px 4px;
-       text-decoration: none;
-}
-th a:hover {
-       background: #ccc;
-       color: #333;
-       text-decoration: none;
-}
-table tr td {
-       text-align: center;
-       vertical-align: middle;
-}
-table tr.altrow td {
-       background: #f5f5f5;
-}
-td.actions {
        text-align: left;
-       white-space: nowrap;
-}
-td.actions a {
-       padding-right: 5px;
-}
-div.actions a {
-       padding-right: 5px;
+       font-size: 90%;
 }
 
 /* Paging */
 div.paging {
-       color: #ccc;
-       margin-bottom: 2em;
-}
-div.paging div.disabled {
-       color: #ddd;
-       display: inline;
-}
-div.paging span {
-}
-div.paging span.current {
-       color: #000;
-}
-div.paging span a {
-}
-
-/* Scaffold View */
-dl {
-       line-height: 2em;
-       margin: 0em 0em;
-       width: 60%;
-}
-dl.altrow {
-       background: #f5f5f5;
-}
-dt {
-       font-weight: bold;
-       padding-left: 4px;
-       vertical-align: top;
-}
-dd {
-       margin-left: 10em;
-       margin-top: -2em;
-       vertical-align: top;
+       background: transparent;
+       margin-bottom: 5px;
 }
 
 /* Forms */
 form {
-       clear: both;
-       margin-right: 20px;
-       padding: 0;
-       width: 80%;
+       width: 95%;
 }
 fieldset {
-       border: 1px solid #ccc;
-       padding: 16px 20px;
-}
-fieldset legend {
-       background:#fff;
-       color: #e32;
-       font-size: 160%;
-       font-weight: bold;
-}
-fieldset fieldset {
-       margin-top: 0px;
-       margin-bottom: 20px;
-       padding: 16px 10px;
-}
-fieldset fieldset legend {
-       font-size: 120%;
-       font-weight: normal;
-}
-fieldset fieldset div {
-       clear: left;
-       margin: 0 20px;
+       margin-top: 0;
 }
 form div {
-       clear: both;
-       margin-bottom: 0.1em;
-       padding: 0.2em;
-       vertical-align: text-top;
-}
-form div.input {
-       color: #444;
+       margin-bottom: 0;
+       padding: 0 0.1em ;
 }
+.caption
 form .required {
        color: #ff3300;
        font-weight: bold;
 }
 form div.submit {
-       border: 0;
-       clear: both;
-       margin-top: 10px;
        margin-left: 35px;
 }
 label {
-       display: block;
-       font-size: 110%;
        padding-right: 5px;
+       font-size: 120%;
+       font-weight: bold;
 }
 input, textarea {
-       clear: both;
-/*     font-size: 140% */;
-       font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif;
+       font-size: 100%;
+       width: 98%;
        padding: 1px;
 }
-select {
-       clear: both;
-       font-size: 120%;
-       vertical-align: text-bottom;
-}
-select[multiple=multiple] {
-       width: 100%;
-}
-option {
-       font-size: 120%;
-       padding: 0 3px;
-}
-input[type=checkbox] {
-       clear: left;
-       float: left;
-       margin: 0px 6px 7px 2px;
+input {
        width: auto;
 }
-input[type=radio] {
-       float:left;
-       width:auto;
-       margin: 0 3px 7px 0;
-}
-div.radio label {
-       margin: 0 0 6px 20px;
-}
-input[type=submit] {
-       display: inline;
-       font-size: 110%;
-       padding: 2px 5px;
-       width: auto;
-       vertical-align: bottom;
+select {
+       font-size: 100%;
+       margin: 0 3px;
 }
-
 /* Notices and Errors */
-div.message {
-       clear: both;
-       color: #900;
-       font-size: 140%;
-       font-weight: bold;
-       margin: 1em 0;
-}
-div.error-message {
-       clear: both;
-       color: #900;
-       font-weight: bold;
-}
-p.error {
-       background-color: #e32;
-       color: #fff;
-       font-family: Courier, monospace;
-       font-size: 120%;
-       line-height: 140%;
-       padding: 0.8em;
-       margin: 1em 0;
-}
-p.error em {
-       color: #000;
-       font-weight: normal;
-       line-height: 140%;
-}
-.notice {
-       background: #ffcc00;
-       color: #000;
-       display: block;
-       font-family: Courier, monospace;
-       font-size: 120%;
-       line-height: 140%;
-       padding: 0.8em;
-       margin: 1em 0;
-}
-.success {
-       background: green;
-       color: #fff;
-}
 
-/* Related */
-div.related {
-       clear: both;
-       display: block;
+/*  Actions  */
+div.actions ul li a {
+       background: transparent;
+       padding-right: 5px;
 }
 
+/* Related */
 
 /* パーツ */
 /* Backボタン */
 .backButton {
        position: relative;
-       top: -43px;
+       top: -38px;
        left: 120px;
        display: inline;
 }
@@ -503,6 +405,11 @@ table {
        border-right: 1px solid #ccc;
        border-bottom: 1px solid #ccc;
 }
+table tr td {
+       border-right: 0 none;
+       vertical-align: middle;
+       text-align: left;
+}
 th, td {
        border: 1px solid #ccc;
        border-right: 0 none;
@@ -511,32 +418,23 @@ th, td {
 }
 th {
        background-color: #ddd;
+       font-weight: bold;
 }
-table tr td {
+td.actions {
        text-align: left;
 }
-td.table {
-       padding: 0;
-       margin: 0;
+td.actions a {
+       padding-right: 5px;
+}
+
+table.right {
+       margin-left : auto;
+       margin-right : 0;
 }
-td.table table {
+table.inner {
+       border: 0px none;
        padding: 0;
        margin: 0;
-       border-top: 0 none;
-       background: #fff;
-}
-td.table th,
-td.table td
-{
-       overflow: hidden;
-}
-td.table td
-{
-       background: #fff;
-}
-td.table tr td input
-{
-       width: auto;
 }
 
 .blank {
@@ -559,6 +457,11 @@ div.inline input[type="checkbox"]  {
        float: none;
        margin: 2px 5px 2px 2px;
 }
+div.input label {
+       display: block;
+       margin-top: 7px;
+       padding-right: 5px;
+}
 div.inline label {
        display: inline;
        padding-right: 5px;
@@ -568,56 +471,20 @@ input.sortOrder {
        width: 2.5em;
 }
 
-/* キャラシ */
-table.right {
-       margin-left : auto;
-       margin-right : 0;
-}
-table.inner {
-       border: 0px none;
-       padding: 0;
-       margin: 0;
-}
-td.SystemRow {
-       padding: 0;
-}
-table.System {
-       border: 0px none;
-       text-align: left;
-       margin: 0;
-}
-table.System th,
-table.System td {
-       border: 0px none;
-}
-table.Character {
-       width: 780px;
+input.editAll {
+       width: 3em;
 }
 
-table.Character th.CharacterName {
-       width: 100px;
-}
-.editLink {
-       padding: 4px;
+/* 管理画面 */
+div.admin_listview table
+{
+       width: 100%;
 }
 
-/* キャラ画像 */
-td.image {
-       width: 160px;
-}
-div.imagefile {
-       border: 1px solid #ccc;
-       width: 150px;
-       height: 150px;
-       padding: 0;
-       margin: 5px;
-       overflow: hidden;
-}
-div.editImageLink {
-       text-align: center;
+div.siteConfigs
+{
+       width: 720px;
 }
-
-/* 管理画面:サイト設定 */
 div.siteConfigs table
 {
        width: 100%;
@@ -634,4 +501,40 @@ div.siteConfigs table td.sizeInput input[type=text]
 {
        width: 48px;
 }
+div.siteConfigs div.submit
+{
+       padding-left: 45px;
+}
+
+/* Attachments */
+img.shadow,
+a.shadow {
+       -moz-box-shadow: 2px 2px 10px #000;
+       -webkit-box-shadow: 2px 2px 10px #000;
+       margin-bottom: 5px;
+}
+
+.center {
+       text-align: center;
+}
+
+/* 公開表示 */
+.publicFlag {
+       color: #900;
+}
+h2 .publicFlag {
+       font-size: 80%;
+}
 
+/* Alert */
+div.noticeNarrow {
+       margin: 3px 0;
+       padding: 5px;
+       line-height: 100%;
+}
+
+/* ハイライト */
+.highlight {
+       background-color: #ffff66;
+       font-weight: bold;
+}
\ No newline at end of file