app/assets/stylesheets/site.css in rails_admin_content-0.1.3 vs app/assets/stylesheets/site.css in rails_admin_content-0.2.0

- old
+ new

@@ -1,138 +1,6 @@ -html {overflow-y:scroll;} -body { font-family: Verdana, sans-serif; font-size: 12px; color:#484848; margin: 0; margin-bottom: 30px; padding: 0; min-width: 900px; } -a{text-decoration:none;} -h1, h2, h3, h4 {font-family: "Trebuchet MS", Verdana, sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;} -#content h1, h2, h3, h4 {color: #555;} -h2, .wiki h1 {font-size: 20px;} -h3, .wiki h2 {font-size: 16px;} -h4, .wiki h3 {font-size: 13px;} -h4 {border-bottom: 1px dotted #bbb;} - -/***** Layout *****/ - -body { - background-color: #FFFFFF; - color: #555555; - font-family: "Ubuntu",Helvetica,Arial,sans-serif; - font-size: 13px; - line-height: 18px; - text-shadow: 0 -1px 1px rgba(0, 0, 0, 0.2); -} - -.container-fluid .content{ - background-color: #FFF; - margin: 10px 0; - padding: 0; -} - - - - -#account {float:right;} - -#header {min-height:5.3em;margin:0;background-color:#628DB6;color:#f8f8f8; padding: 4px 8px 20px 6px; position:relative;} -#header a {color:#f8f8f8;} -#header h1 a.ancestor { font-size: 80%; } - -/*#main .content { width: 75%; background-color: #fff; margin: 0px; border-right: 1px solid #ddd; padding: 6px 10px 10px 10px; z-index: 10; float: right; }*/ -/** html #content{ width: 75%; padding-left: 0; margin-top: 0px; padding: 6px 10px 10px 10px;}*/ - -/*html>body #content { min-height: 600px; }*/ -#main{display: block; position: relative; } -/*#wrapper3 #main .content{ - float: right; - width: 79%; - padding: 0px; - margin: 10px 0; -}*/ -#sidebar{ float: left; padding: 0; margin: 0; width: 19%;} -* html body .content { height: 600px; min-height: 600px; } /* IE */ - -#main.nosidebar #sidebar{ display: none; } -#main.nosidebar .content{ width: auto; border-right: 0; } - -#footer {clear: both; border-top: 1px solid #bbb; font-size: 0.9em; color: #aaa; padding: 5px; text-align:center; background:#fff;} - - -/***** Tables *****/ -table {font-size: 11px} -table.list { border: 1px solid #e4e4e4; border-collapse: collapse; width: 100%; margin-bottom: 4px; } -table.list th { background-color:#EEEEEE; padding: 4px; white-space:nowrap; } -table.list td { vertical-align: top; padding-right:10px; text-align: center; } -table.list td.id { width: 2%; text-align: center;} -table.list td.checkbox { width: 15px; padding: 2px 0 0 0; } -table.list td.checkbox input {padding:0px;} -table.list td.buttons { width: 15%; white-space:nowrap; text-align: right; } -table.list td.buttons a { padding-right: 0.6em; } -table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } - -tr.version.closed, tr.version.closed a { color: #999; } -tr.version td.name { padding-left: 20px; } -tr.version.shared td.name { background: url(file_icon/link.png) no-repeat 0% 70%; } -tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; } - -tr.user td { width:13%; } -tr.user td.email { width:18%; } -tr.user td { white-space: nowrap; } -tr.user.locked, tr.user.registered { color: #aaa; } -tr.user.locked a, tr.user.registered a { color: #aaa; } - -table.permissions td.role {color:#999;font-size:90%;font-weight:normal !important;text-align:center;vertical-align:bottom;} - -tr.wiki-page-version td.updated_on, tr.wiki-page-version td.author {text-align:center;} - -tr.time-entry { text-align: center; white-space: nowrap; } -tr.time-entry td.issue, tr.time-entry td.comments { text-align: left; white-space: normal; } -td.hours { text-align: right; font-weight: bold; padding-right: 0.5em; } -td.hours .hours-dec { font-size: 0.9em; } - - -table.list tbody tr.group td { padding: 0.8em 0 0.5em 0.3em; font-weight: bold; border-bottom: 1px solid #ccc; } -table.list tbody tr.group span.count {position:relative; top:-1px; color:#fff; font-size:10px; background:#9DB9D5; padding:0px 6px 1px 6px; border-radius:3px; margin-left:4px;} -tr.group a.toggle-all { color: #aaa; font-size: 80%; font-weight: normal; display:none;} -tr.group:hover a.toggle-all { display:inline;} -a.toggle-all:hover {text-decoration:none;} - -table.list tbody tr:hover { background-color:#ffffdd; } -table.list tbody tr.group:hover { background-color:inherit; } -table td {padding:2px;} -table p {margin:0;} -.odd {background-color:#f6f7f8;} -.even {background-color: #fff;} - - - -#sidebar h3{ - padding: 20px; -} - -#sidebar a{ - padding: 5px 0 5px 20px; - line-height: 24px; - -} - -th { - font-weight: bold; - color: #000; - background: #f3f3f3; - background-image: url(./themes/svg_gradient.php?from=ffffff&to=cccccc); -background-size: 100% 100%; -background: -webkit-gradient(linear, left top, left bottom, from(#ffffff), to(#cccccc)); -background: -webkit-linear-gradient(top, #ffffff, #cccccc); -background: -moz-linear-gradient(top, #ffffff, #cccccc); -background: -ms-linear-gradient(top, #ffffff, #cccccc); -background: -o-linear-gradient(top, #ffffff, #cccccc);} - -form { - padding: 0; - margin: 0; - display: inline; -} - /* The rest of this file contains styles related to the mechanics of the editor. You probably shouldn't touch them. */ .CodeMirror { line-height: 1; @@ -279,57 +147,12 @@ @media print { /* Hide the cursor when printing */ .CodeMirror div.CodeMirror-cursor { visibility: hidden; } -} +} -span.cm-keyword, span.cm-statement-verb { - color: #909; -} -span.cm-variable { - color: black; -} -span.cm-comment { - color: #808000; -} -span.cm-mysql-string { - color: #008000; -} -span.cm-operator { - color: fuchsia; -} -span.cm-mysql-word { - color: black; -} -span.cm-builtin { - color: #f00; -} -span.cm-variable-2 { - color: #f90; -} -span.cm-variable-3 { - color: #00f; -} -span.cm-separator { - color: fuchsia; -} -span.cm-number { - color: teal; -} - -/* nav */ -div.nav{ - background-image: linear-gradient(to bottom, #ffffff, #f2f2f2) ; - padding: 5px; - margin: 10px 0px 10px 0px; - font-size: 18px; -} -div.nav a{ - margin-left: 3px; -} - .content h5{ padding: 3px; width: 160px; text-align: center; background-color: #D2E9FF; @@ -338,159 +161,15 @@ padding: 2px 4px 2px 4px; margin: 3px; background-color: #d0d0d0; } -#main-menu li a.selected { - background: none repeat scroll 0 0 #FFFFFF; - color: #555555; -} -#header { - background-color: #507AAA; - color: #F8F8F8; - height: 6.2em; - margin: 0; - padding: 4px 8px 0 6px; - position: relative; -} -#header h1 { - margin-left: 0; - margin-top: 0.3em; -} - -#main-menu { - bottom: 8px; - left: 311px; - position: absolute; -} - -#wrapper { - background: none repeat scroll 0 0 #F1EFE2; -} -#wrapper3 { - background: none repeat scroll 0 0 #FFFFFF; - box-shadow: 1px 1px 5px #999999; - margin: 0 10px; -} - -#main-menu ul { - margin: 0; - padding: 0; -} - - -#main-menu li { - float: left; - list-style-type: none; - margin: 0 2px 0 0; - padding: 0; - white-space: nowrap; -} -#main-menu li a { - /* background: none repeat scroll 0 0 #507AAA; */ - font-weight: bold; -} -#main-menu li a:hover { - background: none repeat scroll 0 0 #759FCF; -} -#main-menu li a.selected { - background: none repeat scroll 0 0 #FFFFFF; - color: #555555; -} - - -#edit_tools{ - width: 100%; - bottom: 0; - position: fixed; - border-spacing: 0; - background-color: #DDD; - text-align: center; - border: 1px solid #d4d4d4; -} - - -#edit_tools span{ - width: 300px; - margin-left: 100px; -} - -.content ul{ - margin: 10px 10px; -} - - .pagination { display: inline; margin: 20px 0; margin-left: 20px; vertical-align: top; } - -.table tr.active{ - background-color: #F0F0F0; - font-weight: bold; -} - -#edit_tools span label{ - float: right; - display: inline; - margin-right: 200px; - vertical-align: top; - margin-top: 10px; -} - -#edit_tools label #select_num{ - width: 0px; - margin: 0px; - font-weight: bold; -} - -.content .search{ - padding: 12px; - margin: 2px; -} - -.content .navbar ul li{ - display: inline; - padding: 5px; - width: 70px; - float: left; -} - -.content .navbar ul li.active{ - display: block; - border: 1px solid #696;padding: 5px 0;text-align: center; - -webkit-border-radius: 8px; - -moz-border-radius: 8px; - border-radius: 8px; - -webkit-box-shadow: #666 0px 0px 10px; - -moz-box-shadow: #666 0px 0px 10px; - box-shadow: #666 0px 0px 10px;background: #EEFF99;behavior: url(/PIE.htc); -} - - -.content .details{ - overflow: auto; -} - -.table tr{ - background-color: #FFF; -} - -.navbar a.btn-icon img{ - width: 54px; - height: 50px; - overflow: hidden; -} - -.navbar li .section{ - margin: 2px; -} -.navbar li .section a{ - padding: 10px; - background-color: #759fcf; -} - +