| 1 | /** these MUST stay **/ |
|---|
| 2 | a {text-decoration:none; white-space:nowrap} |
|---|
| 3 | a:hover {text-decoration:underline} |
|---|
| 4 | a.button {text-decoration:none} |
|---|
| 5 | h1,h2,h3,h4,h5,h6 {margin:0.5em 0 0.25em 0; display:block; |
|---|
| 6 | font-family:Helvetica} |
|---|
| 7 | h1 {font-size:4.00em} |
|---|
| 8 | h2 {font-size:3.00em} |
|---|
| 9 | h3 {font-size:2.00em} |
|---|
| 10 | h4 {font-size:1.50em} |
|---|
| 11 | h5 {font-size:1.25em} |
|---|
| 12 | h6 {font-size:1.12em} |
|---|
| 13 | th,label {font-weight:bold; white-space:nowrap;} |
|---|
| 14 | td,th {text-align:left; padding:2px 5px 2px 5px} |
|---|
| 15 | th {vertical-align:middle; border-right:1px solid white} |
|---|
| 16 | td {vertical-align:top} |
|---|
| 17 | form table tr td label {text-align:left} |
|---|
| 18 | p,table,ol,ul {padding:0; margin: 0.75em 0} |
|---|
| 19 | p {text-align:justify} |
|---|
| 20 | ol, ul {list-style-position:outside; margin-left:2em} |
|---|
| 21 | li {margin-bottom:0.5em} |
|---|
| 22 | span,input,select,textarea,button,label,a {display:inline} |
|---|
| 23 | img {border:0} |
|---|
| 24 | blockquote,blockquote p,p blockquote { |
|---|
| 25 | font-style:italic; margin:0.5em 30px 0.5em 30px; font-size:0.9em} |
|---|
| 26 | i,em {font-style:italic} |
|---|
| 27 | strong {font-weight:bold} |
|---|
| 28 | small {font-size:0.8em} |
|---|
| 29 | code {font-family:Courier} |
|---|
| 30 | textarea {width:100%} |
|---|
| 31 | video {width:400px} |
|---|
| 32 | audio {width:200px} |
|---|
| 33 | [type="text"], [type="password"], select { |
|---|
| 34 | margin-right: 5px; width: 300px; |
|---|
| 35 | } |
|---|
| 36 | .w2p_hidden {display:none;visibility:visible} |
|---|
| 37 | .right {float:right; text-align:right} |
|---|
| 38 | .left {float:left; text-align:left} |
|---|
| 39 | .center {width:100%; text-align:center; vertical-align:middle} |
|---|
| 40 | /** end **/ |
|---|
| 41 | |
|---|
| 42 | /* Sticky footer begin */ |
|---|
| 43 | |
|---|
| 44 | .main { |
|---|
| 45 | padding:20px 0 50px 0; |
|---|
| 46 | } |
|---|
| 47 | |
|---|
| 48 | .footer,.push { |
|---|
| 49 | height:6em; |
|---|
| 50 | padding:1em 0; |
|---|
| 51 | clear:both; |
|---|
| 52 | } |
|---|
| 53 | |
|---|
| 54 | .footer-content {position:relative; bottom:-4em; width:100%} |
|---|
| 55 | |
|---|
| 56 | .auth_navbar { |
|---|
| 57 | white-space:nowrap; |
|---|
| 58 | } |
|---|
| 59 | |
|---|
| 60 | /* Sticky footer end */ |
|---|
| 61 | |
|---|
| 62 | .footer { |
|---|
| 63 | border-top:1px #DEDEDE solid; |
|---|
| 64 | } |
|---|
| 65 | .header { |
|---|
| 66 | /* background:<fill here for header image>; */ |
|---|
| 67 | } |
|---|
| 68 | |
|---|
| 69 | |
|---|
| 70 | fieldset {padding:16px; border-top:1px #DEDEDE solid} |
|---|
| 71 | fieldset legend {text-transform:uppercase; font-weight:bold; padding:4px 16px 4px 16px; background:#f1f1f1} |
|---|
| 72 | |
|---|
| 73 | /* fix ie problem with menu */ |
|---|
| 74 | |
|---|
| 75 | td.w2p_fw {padding-bottom:1px} |
|---|
| 76 | td.w2p_fl,td.w2p_fw,td.w2p_fc {vertical-align:top} |
|---|
| 77 | td.w2p_fl {text-align:left} |
|---|
| 78 | td.w2p_fl, td.w2p_fw {padding-right:7px} |
|---|
| 79 | td.w2p_fl,td.w2p_fc {padding-top:4px} |
|---|
| 80 | div.w2p_export_menu {margin:5px 0} |
|---|
| 81 | div.w2p_export_menu a, div.w2p_wiki_tags a, div.w2p_cloud a {margin-left:5px; padding:2px 5px; background-color:#f1f1f1; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;} |
|---|
| 82 | |
|---|
| 83 | /* tr#submit_record__row {border-top:1px solid #E5E5E5} */ |
|---|
| 84 | #submit_record__row td {padding-top:.5em} |
|---|
| 85 | |
|---|
| 86 | /* Fix */ |
|---|
| 87 | #auth_user_remember__row label {display:inline} |
|---|
| 88 | #web2py_user_form td {vertical-align:top} |
|---|
| 89 | |
|---|
| 90 | /*********** web2py specific ***********/ |
|---|
| 91 | div.w2p_flash { |
|---|
| 92 | font-weight:bold; |
|---|
| 93 | display:none; |
|---|
| 94 | position:fixed; |
|---|
| 95 | padding:10px; |
|---|
| 96 | top:48px; |
|---|
| 97 | right:250px; |
|---|
| 98 | min-width:280px; |
|---|
| 99 | opacity:0.95; |
|---|
| 100 | margin:0px 0px 10px 10px; |
|---|
| 101 | vertical-align:middle; |
|---|
| 102 | cursor:pointer; |
|---|
| 103 | color:#fff; |
|---|
| 104 | background-color:#000; |
|---|
| 105 | border:2px solid #fff; |
|---|
| 106 | border-radius:8px; |
|---|
| 107 | -o-border-radius: 8px; |
|---|
| 108 | -moz-border-radius:8px; |
|---|
| 109 | -webkit-border-radius:8px; |
|---|
| 110 | background-image: -webkit-linear-gradient(top,#222,#000); |
|---|
| 111 | background-image: -o-linear-gradient(top,#222,#000); |
|---|
| 112 | background-image: -moz-linear-gradient(90deg, #222, #000); |
|---|
| 113 | background-image: linear-gradient(top,#222,#000); |
|---|
| 114 | background-repeat: repeat-x; |
|---|
| 115 | font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; |
|---|
| 116 | -webkit-font-smoothing: antialiased; |
|---|
| 117 | z-index:2000; |
|---|
| 118 | } |
|---|
| 119 | |
|---|
| 120 | div.w2p_flash #closeflash{color:inherit; float:right; margin-left:15px;} |
|---|
| 121 | .ie-lte7 div.flash #closeflash |
|---|
| 122 | {color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;} |
|---|
| 123 | |
|---|
| 124 | div.w2p_flash:hover { opacity:0.25; } |
|---|
| 125 | |
|---|
| 126 | div.error_wrapper {display:block} |
|---|
| 127 | div.error { |
|---|
| 128 | color:red; |
|---|
| 129 | padding:5px; |
|---|
| 130 | display:inline-block; |
|---|
| 131 | } |
|---|
| 132 | |
|---|
| 133 | .topbar { |
|---|
| 134 | padding:10px 0; |
|---|
| 135 | width:100%; |
|---|
| 136 | color:#959595; |
|---|
| 137 | vertical-align:middle; |
|---|
| 138 | padding:auto; |
|---|
| 139 | background-image:-khtml-gradient(linear,left top,left bottom,from(#333333),to(#222222)); |
|---|
| 140 | background-image:-moz-linear-gradient(top,#333333,#222222); |
|---|
| 141 | background-image:-ms-linear-gradient(top,#333333,#222222); |
|---|
| 142 | background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0%,#333333),color-stop(100%,#222222)); |
|---|
| 143 | background-image:-webkit-linear-gradient(top,#333333,#222222); |
|---|
| 144 | background-image:-o-linear-gradient(top,#333333,#222222); |
|---|
| 145 | background-image:linear-gradient(top,#333333,#222222); |
|---|
| 146 | filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333',endColorstr='#222222',GradientType=0); |
|---|
| 147 | -webkit-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1); |
|---|
| 148 | -moz-box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1); |
|---|
| 149 | box-shadow:0 1px 3px rgba(0,0,0,0.25),inset 0 -1px 0 rgba(0,0,0,0.1); |
|---|
| 150 | } |
|---|
| 151 | |
|---|
| 152 | .topbar a { |
|---|
| 153 | color:#e1e1e1; |
|---|
| 154 | } |
|---|
| 155 | |
|---|
| 156 | #navbar {float:right; padding:5px; /* same as superfish */} |
|---|
| 157 | |
|---|
| 158 | .statusbar { |
|---|
| 159 | background-color:#F5F5F5; |
|---|
| 160 | margin-top:1em; |
|---|
| 161 | margin-bottom:1em; |
|---|
| 162 | padding:.5em 1em; |
|---|
| 163 | border:1px solid #ddd; |
|---|
| 164 | border-radius:5px; |
|---|
| 165 | -moz-border-radius:5px; |
|---|
| 166 | -webkit-border-radius:5px; |
|---|
| 167 | } |
|---|
| 168 | |
|---|
| 169 | .breadcrumbs {float:left} |
|---|
| 170 | |
|---|
| 171 | .copyright {float:left} |
|---|
| 172 | #poweredBy {float:right} |
|---|
| 173 | |
|---|
| 174 | /* #MEDIA QUERIES SECTION */ |
|---|
| 175 | |
|---|
| 176 | /* |
|---|
| 177 | *Grid |
|---|
| 178 | * |
|---|
| 179 | * The default style for SQLFORM.grid even using jquery-iu or another ui framework |
|---|
| 180 | * will look better with the declarations below |
|---|
| 181 | * if needed to remove base.css consider keeping these following lines in some css file. |
|---|
| 182 | */ |
|---|
| 183 | /* .web2py_table {border:1px solid #ccc} */ |
|---|
| 184 | .web2py_paginator {} |
|---|
| 185 | .web2py_grid {width:100%} |
|---|
| 186 | .web2py_grid table {width:100%} |
|---|
| 187 | .web2py_grid tbody td {padding:2px 5px 2px 5px; vertical-align: middle;} |
|---|
| 188 | .web2py_grid .web2py_form td {vertical-align: top;} |
|---|
| 189 | |
|---|
| 190 | .web2py_grid thead th,.web2py_grid tfoot td { |
|---|
| 191 | background-color:#EAEAEA; |
|---|
| 192 | padding:10px 5px 10px 5px; |
|---|
| 193 | } |
|---|
| 194 | |
|---|
| 195 | .web2py_grid tr.odd {background-color:#F9F9F9} |
|---|
| 196 | .web2py_grid tr:hover {background-color:#F5F5F5} |
|---|
| 197 | |
|---|
| 198 | /* |
|---|
| 199 | .web2py_breadcrumbs a { |
|---|
| 200 | line-height:20px; margin-right:5px; display:inline-block; |
|---|
| 201 | padding:3px 5px 3px 5px; |
|---|
| 202 | font-family:'lucida grande',tahoma,verdana,arial,sans-serif; |
|---|
| 203 | color:#3C3C3D; |
|---|
| 204 | text-shadow:1px 1px 0 #FFFFFF; |
|---|
| 205 | white-space:nowrap; overflow:visible; cursor:pointer; |
|---|
| 206 | background:#ECECEC; |
|---|
| 207 | border:1px solid #CACACA; |
|---|
| 208 | -webkit-border-radius:2px; -moz-border-radius:2px; |
|---|
| 209 | -webkit-background-clip:padding-box; border-radius:2px; |
|---|
| 210 | outline:none; position:relative; zoom:1; *display:inline; |
|---|
| 211 | } |
|---|
| 212 | */ |
|---|
| 213 | |
|---|
| 214 | .web2py_console form { |
|---|
| 215 | width: 100%; |
|---|
| 216 | display: inline; |
|---|
| 217 | vertical-align: middle; |
|---|
| 218 | margin: 0 0 0 5px; |
|---|
| 219 | } |
|---|
| 220 | |
|---|
| 221 | .web2py_console form select { |
|---|
| 222 | margin:0; |
|---|
| 223 | } |
|---|
| 224 | |
|---|
| 225 | .web2py_search_actions { |
|---|
| 226 | float:left; |
|---|
| 227 | text-align:left; |
|---|
| 228 | } |
|---|
| 229 | |
|---|
| 230 | .web2py_grid .row_buttons { |
|---|
| 231 | min-height:25px; |
|---|
| 232 | vertical-align:middle; |
|---|
| 233 | } |
|---|
| 234 | .web2py_grid .row_buttons a { |
|---|
| 235 | margin:3px; |
|---|
| 236 | } |
|---|
| 237 | |
|---|
| 238 | .web2py_search_actions { |
|---|
| 239 | width:100%; |
|---|
| 240 | } |
|---|
| 241 | |
|---|
| 242 | .web2py_grid .row_buttons a, |
|---|
| 243 | .web2py_paginator ul li a, |
|---|
| 244 | .web2py_search_actions a, |
|---|
| 245 | .web2py_console input[type=submit], |
|---|
| 246 | .web2py_console input[type=button], |
|---|
| 247 | .web2py_console button { |
|---|
| 248 | line-height:20px; |
|---|
| 249 | margin-right:2px; display:inline-block; |
|---|
| 250 | padding:3px 5px 3px 5px; |
|---|
| 251 | } |
|---|
| 252 | |
|---|
| 253 | .web2py_counter { |
|---|
| 254 | margin-top:5px; |
|---|
| 255 | margin-right:2px; |
|---|
| 256 | width:35%; |
|---|
| 257 | float:right; |
|---|
| 258 | text-align:right; |
|---|
| 259 | } |
|---|
| 260 | |
|---|
| 261 | /*Fix firefox problem*/ |
|---|
| 262 | .web2py_table {clear:both; display:block} |
|---|
| 263 | |
|---|
| 264 | .web2py_paginator { |
|---|
| 265 | padding:5px; |
|---|
| 266 | text-align:right; |
|---|
| 267 | background-color:#f2f2f2; |
|---|
| 268 | |
|---|
| 269 | } |
|---|
| 270 | .web2py_paginator ul { |
|---|
| 271 | list-style-type:none; |
|---|
| 272 | margin:0px; |
|---|
| 273 | padding:0px; |
|---|
| 274 | } |
|---|
| 275 | |
|---|
| 276 | .web2py_paginator ul li { |
|---|
| 277 | display:inline; |
|---|
| 278 | } |
|---|
| 279 | |
|---|
| 280 | .web2py_paginator .current { |
|---|
| 281 | font-weight:bold; |
|---|
| 282 | } |
|---|
| 283 | |
|---|
| 284 | .web2py_breadcrumbs ul { |
|---|
| 285 | list-style:none; |
|---|
| 286 | margin-bottom:18px; |
|---|
| 287 | } |
|---|
| 288 | |
|---|
| 289 | li.w2p_grid_breadcrumb_elem { |
|---|
| 290 | display:inline-block; |
|---|
| 291 | } |
|---|
| 292 | |
|---|
| 293 | .web2py_console form { vertical-align: middle; } |
|---|
| 294 | .web2py_console input, .web2py_console select, |
|---|
| 295 | .web2py_console a { margin: 2px; } |
|---|
| 296 | |
|---|
| 297 | |
|---|
| 298 | #wiki_page_body { |
|---|
| 299 | width: 600px; |
|---|
| 300 | height: auto; |
|---|
| 301 | min-height: 400px; |
|---|
| 302 | } |
|---|
| 303 | |
|---|
| 304 | /* fix some IE problems */ |
|---|
| 305 | |
|---|
| 306 | .ie-lte7 .topbar .container {z-index:2} |
|---|
| 307 | .ie-lte8 div.w2p_flash{ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#222222', endColorstr='#000000', GradientType=0 ); } |
|---|
| 308 | .ie-lte8 div.w2p_flash:hover {filter:alpha(opacity=25);} |
|---|
| 309 | .ie9 #w2p_query_panel {padding-bottom:2px} |
|---|
| 310 | |
|---|
| 311 | .web2py_console .form-control {width: 20%; display: inline;} |
|---|
| 312 | .web2py_console #w2p_keywords {width: 50%;} |
|---|
| 313 | .web2py_search_actions a, .web2py_console input[type=submit], .web2py_console input[type=button], .web2py_console button { padding: 6px 12px; } |
|---|