/** * * Generic CSS for CakePHP * * CakePHP(tm) : Rapid Development Framework (http://cakephp.org) * Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) * * Licensed under The MIT License * Redistributions of files must retain the above copyright notice. * * @copyright Copyright 2005-2010, Cake Software Foundation, Inc. (http://cakefoundation.org) * @link http://cakephp.org CakePHP(tm) Project * @package cake * @subpackage cake.app.webroot.css * @since CakePHP(tm) * @license MIT License (http://www.opensource.org/licenses/mit-license.php) */ @fonte: ~"'lucida grande',verdana,helvetica,arial,sans-serif"; @font-heading: ~"'Gill Sans','lucida grande', helvetica, arial, sans-serif"; @font-input: ~'"frutiger linotype", "lucida grande", "verdana", sans-serif'; .rounded-corners (@radius: 2px) { -webkit-border-radius:@radius; -moz-border-radius:@radius; -o-border-radius:@radius; border-radius:@radius; } .linear-gradient (@direction : top, @color1 : #000,@color2: #fff) { background: @color2; background: -webkit-gradient(linear, left top, left bottom, from(@color1), to(@color2)); background-image: -moz-linear-gradient(top, @color1, @color2); background-image: -o-linear-gradient(top, @color1, @color2); background-image: linear-gradient(top, @color1, @color2); } .set-transition(@properties, @duration) { -moz-transition-property: ~"@{properties}"; -moz-transition-duration: @duration; -webkit-transition-property: ~"@{properties}"; -webkit-transition-duration: @duration; -o-transition-property: ~"@{properties}"; -o-transition-duration: @duration; transition-property: ~"@{properties}"; transition-duration: @duration; } .box-shadow(@spread, @color: #000, @offX: 1, @offY: 1) { -moz-box-shadow: @offX @offY @spread @color; -webkit-box-shadow: @offX @offY @spread @color; -o-box-shadow: @offX @offY @spread @color; -ms-box-shadow: @offX @offY @spread @color; box-shadow: @offX @offY @spread @color; } * { margin:0; padding:0; } /** General Style Info **/ body { background: #fff; color: #222; font-family: @fonte; font-size:90%; margin: 0; } a { color: #003d4c; text-decoration: underline; font-weight: bold; img { border:none; } &:hover { color: #367889; text-decoration:none; } } h1, h2, h3, h4 { font-weight: normal; margin-bottom:0.5em; } h1 { background:#fff; color: #003d4c; font-size: 100%; } h2 { background:#fff; color: #e32; font-family:@font-heading; font-size: 190%; } h3 { color: #003d4c; font-family:@font-heading; font-size: 165%; a { text-decoration: none; &:hover { text-decoration: underline; } } } h4 { color: #993; font-weight: normal; } ul, li { margin: 0 12px; } /** Layout **/ #container { text-align: left; width:1000px; margin: 0 auto; border-right: 1px #888 solid; border-left: 1px #888 solid; background-color: #fff; } #header{ padding: 10px 20px; background: url("../img/header_afbeelding.png") no-repeat scroll 920px top #FFFFFF; #langpicker { float: right; padding: 10px; width: 32px; a { text-decoration: none; } ul { .set-transition("width, height", 0.3s); margin: 0; height: 0; display: block; overflow: hidden; position: absolute; li { margin: 0; list-style-type: none; } } &:hover, &:active, &:focus, &.active { ul{ height: 48px; } img.pijltje{ height: 0; } } img.pijltje { .set-transition("width, height", 0.3s); height: 8px; display: block; margin: 0 auto; } } h1 { line-height:20px; color: #fff; background: url("../img/logo.png") no-repeat scroll left 35px #FFFFFF; text-indent: -10000px; height: 65px; padding: 30px 0 0 0; margin: 0; border-bottom: none; width: 50%; a { color: #fff; background: #003d4c; font-weight: normal; text-decoration: none; &:hover { color: #fff; background: #003d4c; text-decoration: underline; } } } } #content { background: #fff; clear: both; width: 802px; display: inline-block; vertical-align: top; color: #333; padding: 10px 20px 40px 20px; overflow: auto; } aside { display: inline-block; vertical-align: top; width: 250px; margin-top: 10px; } #footer { clear: both; padding: 6px 10px; text-align: right; } /** containers **/ div.form, div.index, div.view { width:980px; padding:10px 10px; } .beheer-dashboard-lijst { list-style: none; li { margin: 0; padding: 0 1em 2em 0; display: block; float: left; text-align: center; width: 300px; a { display: inline; border: 1px solid black; height: 100%; display: block; text-decoration: none; } } } .beheer-dashboard-clear { clear: left; height: 2em; } /** * * Menu CSS for w3build CakePHP applications * * */ #w3b-menu{ background: url('../img/menu_bg.png') repeat-x; ul{ list-style-type: none; padding: 7px; li{ display: inline; margin: 2px; padding: 5px; a{ color: #fff; text-decoration: none; } .selected a{ color: #aaaaff; } ul { display: none; li.selected { background-color: #8888ff; } } .selected ul { display: block; } } } } .breadcrumbs { float: right; a { color: #555555; font-size: 90%; font-weight: normal; } } .infoblock { display: inline-block; width: 230px; height: 150px; background-color: #dd3322; vertical-align: top; margin-right: 25px; } .infoblock > div { padding: 0 10px 0 15px; } .infoblock a.beheerbutton { float: right; margin-right: 3px; } /* events view*/ .events.display .details { border: 1px solid black; margin-top: 3px; padding: 2px; > span { margin-right: 25px; } span.label { font-weight:bold; } } .calendaritem, .newsitem { background-color: #eee; padding: 5px; margin: 5px 0px; .h3wrap{ margin: 3px 0; } } /** Tables **/ table { background: #fff; border-right:0; clear: both; color: #333; margin-bottom: 10px; width: 100%; } th { border:0; border-bottom:2px solid #555; text-align: left; padding:4px; } th a { display: block; padding: 2px 4px; text-decoration: none; } th a.asc:after { content: ' ⇣'; } th a.desc:after { content: ' ⇡'; } table tr td { background: #fff; padding: 6px; text-align: left; vertical-align: top; border-bottom:1px solid #ddd; } table tr:nth-child(2n) td { background: #f5f5f5; } table .altrow td { background: #f5f5f5; } td.actions { text-align: center; white-space: nowrap; } table td.actions a { margin: 0px 6px; padding:2px 5px; } .cake-sql-log table { background: #f4f4f4; } .cake-sql-log td { padding: 4px 8px; text-align: left; font-family: Monaco, Consolas, "Courier New", monospaced; } .cake-sql-log caption{ background-color: #555; } /** Paging **/ div.paging { background:#fff; color: #ccc; margin-top: 1em; clear:both; } div.paging span.disabled { color: #ddd; display: inline; } div.paging span.current { color: #c73e14; } div.paging span a { } /** Scaffold View **/ dl { line-height: 2em; margin: 0em 0em; width: 60%; } dl .altrow { background: #f4f4f4; } dt { font-weight: bold; padding-left: 4px; vertical-align: top; } dd { margin-left: 10em; margin-top: -2em; vertical-align: top; } /** Forms **/ form { clear: both; //margin-right: 20px; padding: 0; width: 100%; div { clear: both; margin-bottom: .5em; padding: .1em; vertical-align: text-top; } /* > div { margin-bottom: 0; padding: 10px 70px 0 10px; } */ .input { color: #444; } .sterretje{ color: red; } .required { font-weight: bold; label:after { color: #e32; content: '*'; display:inline; } } div.error-message { padding: 0em; color: #CB1E51; background-color: transparent; max-width: 60%; margin-left: auto; margin-right: 0; border-left: 2px solid #CB1E51; padding-left: 2px; margin-bottom: 0; } div.submit { border: 0; clear: both; /*display: inline-block;*/ margin-top: -10px; padding: 10px; } .submit { input[type="submit"] { border-color: #b5dc4a; color: #000; text-shadow: none; .rounded-corners(4px); .linear-gradient(top, #b5dc4a, #a4cb39) } input[type="submit"]:hover { .linear-gradient(top, #a4cb39, #b5dc4a) } } &.contactformulier .submit input[type="submit"]{ margin-left: 60px; } } .platform input[type="text"], .platform input[type="email"], .platform input[type="number"], .platform input[type="range"], .platform input[type="tel"], .platform textarea, .platform .replacedInput { width:60%; float: right; &.hasSlider { width: 9%; margin-left: 0.7em; margin-right: 20%; text-align: center; } } .platform { label{ width: 150px; display: inline; } input.datepicker[type="text"], { width: 30%; clear: left; } .ui-slider { float: right; clear: none; margin-top: 5px; width: 30%; } } .hcard { margin:5px 0 0 10px; span, div { margin-bottom:5px; &.tel { font-style: italic; } &.fn { font-weight: bold; } } p { padding:0; margin:0; } } fieldset { border: 1px solid #ccc; margin-bottom: 1em; padding: 16px 20px; legend { background:#fff; color: #e32; font-size: 160%; font-weight: bold; } fieldset { margin-top: 0px; margin-bottom: 20px; padding: 16px 10px; legend { font-size: 120%; font-weight: normal; } div { clear: left; margin: 0 20px; } } } label { display: block; font-size: 100%; margin-bottom:3px; } input, textarea, button { clear: both; font-size: 100%; font-family: @font-input; padding: 1px; width:98%; border:1px solid #999; } textarea{ -moz-resize: vertical; -webkit-resize: vertical; -o-resize: vertical; -ms-resize: vertical; resize: vertical; } option { font-size: 100%; padding: 0 3px; } select { clear: none; font-size: 100%; vertical-align: text-bottom; } select[multiple=multiple] { width: 100%; } input[type=checkbox] { clear: left; float: left; margin: 0px 6px 7px 2px; width: auto; } input[type=radio] { float:left; width:auto; margin: 0 3px 7px 0; } input[type=submit] { display: inline; font-size: 110%; width: auto; } div.radio label { margin: 0 0 6px 20px; } div.checkbox label { display: inline; } button { border: #636363 solid thin; color: #000; width: auto; font-size: 1.1em; padding: 4px 8px; .linear-gradient(top, #eaeaea, #afafaf); .rounded-corners(4px); text-shadow: #eeeeee 0px 1px 0px; } button:hover { .linear-gradient(top, #e5e5e5, #a8a8a8) } /*check kleuren: error, valid en focus*/ form .input { .set-transition("background", 0.6s); } form div.error.text input, form div.error.textarea textarea{ .box-shadow(3px, #CB1E51, 1px, 1px); .set-transition("box-shadow", 0.6s); } form div.valid.text input, form div.valid.textarea textarea{ .box-shadow(3px, #a4cb39, 1px, 1px); .set-transition("box-shadow", 0.6s); } form div.text input:focus, form div.textarea textarea:focus{ .box-shadow(3px, #0090b2, 1px, 1px); .set-transition("box-shadow", 0.6s); } /** Zoeken en filteren**/ form.searchandfilter div.search{ margin: 0; padding: 0; border: 0; float: right; div { display: inline; margin: 0; padding: 0; } input[type=text]{ width: 12em; border: 1px solid #666; padding: 2px 5px; } input[type=submit]{ border: 1px solid #666; color: none; padding: 1px 5px; text-shadow: none; .rounded-corners(0); margin: 0px 3px; padding: 0 5px 1px; } } th div.filter{ position: absolute; background-color: #ddd; border: 1px solid black; display: none; } th:hover div.filter{ display: block; } /* Bookings formulieren*/ #bookingform form fieldset#part1, #bookingform form fieldset#part2 { padding-right:0; >div.input { width: 134px; height: 184px; float: left; clear: none; margin-right: 10px; margin-left: 1px; padding: 8px 2px; background: #dcdcdc; text-align: center; border: 2px solid white; .rounded-corners(8px); &.valid{ background-color: #56722a; } &.error{ background-color: #cc2222; } label { width: 100%; display: block; text-align:center; color: #111; } input { width:95%; float: none; margin-top:25px; text-align:center; &.hasSlider{ width:45%; height:35%; font-size:300%; margin: 0 auto; } } .comments-right { display: block; width: 100%; text-align: center; font-weight: normal; font-style: italic; color: #111; } .comments-bottom { width: 100%; float: left; text-align: left; padding-left: 0.5em; font-weight: normal; font-style: italic; color: #111; } .ui-slider{ width: 85%; float: none; margin: 0.5em auto; } .replacedInput { width: 100%; } div.error-message { max-width: 95%; color: #eee; border-color: #eee; } } } /** Kaart **/ #kaart { margin-top: 1em; width: 70%; height: 600px; } #details { float: right; width: 28%; } #bookingform form fieldset#part1>div.input + #bookingform form fieldset#part1>div.input { float: none; margin-left: 10px; } /** Elementen voor verschillende pagina's **/ span.readmore { float: right; margin-left: 20px; margin-top: -10px; } /** Notices and Errors **/ div.message { clear: both; color: #fff; font-size: 140%; font-weight: bold; margin: 0 0 1em 0; background: #c73e14; padding: 5px; } div.error-message { clear: both; color: #fff; font-weight: bold; background: #c73e14; } p.error { background-color: #e32; color: #fff; font-family: Courier, monospace; font-size: 120%; line-height: 140%; padding: 0.8em; margin: 1em 0; 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; } } input[type=submit], div.actions>a, td.actions>a { font-weight:normal; padding: 4px 8px; color:#333; border:1px solid #aaac62; .linear-gradient(top, #f1f1d4, #e6e49f); .rounded-corners(8px); text-decoration:none; text-shadow: #fff 0px 1px 0px; min-width: 0; display: inline-block; margin: 3px; } input[type=submit]:hover, td.actions>a:hover { .linear-gradient(top, #f7f7e1, #eeeca9); background: #f0f09a; } /** Actions **/ div.actions, nav.actions { background-color: #A0B8DE; padding: 0 0; margin-bottom: 4px; h3 { display: inline; padding-top:0; color:#777; } ul { margin: 0; display: block; li { margin:0 0 0.5em 0; list-style-type: none; white-space: nowrap; padding: 0; display: inline; font-weight:normal; padding: 4px 8px; color:#333; border:1px solid #aaac62; .linear-gradient(top, #f1f1d4, #e6e49f); .rounded-corners(8px); text-decoration:none; text-shadow: #fff 0px 1px 0px; min-width: 0; display: inline-block; margin: 3px; &:hover{ .linear-gradient(top, #f7f7e1, #eeeca9); background: #f0f09a; } a { display: inline-block; clear: both; padding-left: 20px; &.delete { background: url('../img/buttons/delete.png') no-repeat; } &.add { background: url('../img/buttons/add.png') no-repeat; } &.view { background: url('../img/buttons/view.png') no-repeat; } &.edit { background: url('../img/buttons/edit.png') no-repeat; } &.index { background: url('../img/buttons/list.png') no-repeat; } &.planbord { background: url('../img/buttons/planbord.png') no-repeat; } &.beheer { background: url('../img/buttons/instellingen.png') no-repeat; } &.categories { background: url('../img/buttons/categories.png') no-repeat; } &.calendar { background: url('../img/buttons/calendar.png') no-repeat; } &.sub { background: url('../img/buttons/sub.png') no-repeat; } &.addphoto { background: url('../img/buttons/addphoto.png') no-repeat; } &:hover { text-decoration: underline; } } } } } /** Related **/ div.related { clear: both; display: block; } /** Debugging **/ pre { color: #000; background: #f0f0f0; padding: 1em; &.cake-debug { background: #ffcc00; font-size: 120%; line-height: 140%; margin-top: 1em; overflow: auto; position: relative; } } div.cake-stack-trace { background: #fff; color: #333; margin: 0px; padding: 6px; font-size: 120%; line-height: 140%; overflow: auto; position: relative; } div.cake-code-dump pre { position: relative; overflow: auto; } div.cake-stack-trace pre, div.cake-code-dump pre { color: #000; background-color: #F0F0F0; margin: 0px; padding: 1em; overflow: auto; } div.cake-code-dump pre, div.cake-code-dump pre code { clear: both; font-size: 12px; line-height: 15px; margin: 4px 2px; padding: 4px; overflow: auto; } div.cake-code-dump span.code-highlight { background-color: #ff0; padding: 4px; } div.code-coverage-results div.code-line { padding-left:5px; display:block; margin-left:10px; } div.code-coverage-results div.uncovered span.content { background:#ecc; } div.code-coverage-results div.covered span.content { background:#cec; } div.code-coverage-results div.ignored span.content { color:#aaa; } div.code-coverage-results span.line-num { color:#666; display:block; float:left; width:20px; text-align:right; margin-right:5px; } div.code-coverage-results span.line-num strong { color:#666; } div.code-coverage-results div.start { border:1px solid #aaa; border-width:1px 1px 0px 1px; margin-top:30px; padding-top:5px; } div.code-coverage-results div.end { border:1px solid #aaa; border-width:0px 1px 1px 1px; margin-bottom:30px; padding-bottom:5px; } div.code-coverage-results div.realstart { margin-top:0px; } div.code-coverage-results p.note { color:#bbb; padding:5px; margin:5px 0 10px; font-size:10px; } div.code-coverage-results span.result-bad { color: #a00; } div.code-coverage-results span.result-ok { color: #fa0; } div.code-coverage-results span.result-good { color: #0a0; }