diff --git a/images/availability.png b/images/availability.png new file mode 100644 index 0000000..61f9aba Binary files /dev/null and b/images/availability.png differ diff --git a/style/developer.css b/style/developer.css index fb5629a..ae2d978 100644 --- a/style/developer.css +++ b/style/developer.css @@ -47,8 +47,8 @@ .field-ting-refs .subjects h4{float: left; margin: 0 10px 0 0; font-size: 10px; color:#bbb;} .field-ting-refs .subjects li{display:inline; font-size: 10px; color:#bbb;} .field-ting-refs .subjects ul { clear:none; } /* overskriv ".node .content ul" i stylec.css */ -ul.field-ting-refs { margin:0 ! important ; padding: 0 ! important; } -ul.field-ting-refs li { clear:both; margin:0 0 20px 0; padding:10px 0 10px 10px; list-style-type: none ! important; } +.field-ting-refs ul { margin:0 ! important ; padding: 0 ! important; } +.field-ting-refs ul li { clear:both; margin:0 0 20px 0; padding:10px 0 10px 10px; list-style-type: none ! important; } .field-ting-refs img { margin: 0 ! important } .field-ting-refs { font-family:Arial,sans-serif; } /* dubliker regel i ui.all.css, override typography.css */ @@ -129,6 +129,10 @@ iframe.pc-booking { width: 100%; height: 100%; min-height: 600px;} #ting-search-result .ting-search-collection-types .unavailable { background-color: #f85f26; color:#fff; + background-image: url(../images/availability.png); + background-repeat: no-repeat; + background-position: 3px -17px; + padding-left: 17px; } diff --git a/style/dynamo.css b/style/dynamo.css index 554f49b..599d759 100644 --- a/style/dynamo.css +++ b/style/dynamo.css @@ -246,3 +246,17 @@ Crap from modules /*i feel dirty*/ .ui-dialog-content {width:250px !important;} + +/** Skip navigation link **/ +.skip-navigation {display: none;} + +/** Remove default firefox outline **/ +button::-moz-focus-inner, +input::-moz-focus-inner { + border: 0; + outline: 0; +} + +:focus { + outline: black dotted thin; +} diff --git a/style/search.css b/style/search.css index b56851e..0e1aea7 100644 --- a/style/search.css +++ b/style/search.css @@ -49,10 +49,15 @@ #ting-search-result .types li,.types li{clear:none; display:inline; float:left; margin:0 10px 0 0; padding:0; background:none;} #ting-search-result .types li, .types li{font-size: 10px; padding:1px 3px; color: #fff; margin: 1px} #ting-search-result .types li,.types li{background-color:#eee; color:#aaa;} - #ting-search-result .types li.available,.types li.available{background-color:#71bf44; color:#fff;} + #ting-search-result .types li.available,.types li.available{background-color:#71bf44; color:#fff; background-image: url(../images/availability.png); background-position: 3px 3px; background-repeat: no-repeat; padding-left: 17px;} + #ting-search-result .availability {display: none;} #ting-search-result .types li.out,.types li.out{background-color: #f85f26; color:#fff;} - #ting-search-result .types li.reserved,ul.types li.reserved{ background-color: #560036; /*#bc0028*/ color:#fff;} + #ting-search-result .types li.reserved,ul.types li.reserved{ background-color: #560036; /*#bc0028*/ color:#fff; background-image: url(../images/icons/reserved.png); background-repeat: no-repeat; padding-left: 17px;} #ting-search-result .ting-details {color:#bbb;} + + #ting-search-result .subjects li{clear:none; display:inline; float:left; margin:0 10px 0 0; padding:0; background:none; } + #ting-search-result .subjects h4{float: left; margin: 0 10px 0 0; font-size: 10px; color:#bbb;} + #ting-search-result .subjects li{display:inline; font-size: 10px; color:#bbb;} #content-result .taxonomy ul li{float:left; background:none; padding:0 10px 0 0;} #content-result .taxonomy ul {display:block;} diff --git a/template.php b/template.php index caafdc3..3112008 100644 --- a/template.php +++ b/template.php @@ -158,7 +158,13 @@ function dynamo_panels_pane($content, $pane, $display) { $classstr = ' ' . $content->css_class; } - $output = "