diff --git a/html/Dein.Equipment/public/javascripts/calendar.js b/html/Dein.Equipment/public/javascripts/calendar.js index 8d32d65..cfe5038 100644 --- a/html/Dein.Equipment/public/javascripts/calendar.js +++ b/html/Dein.Equipment/public/javascripts/calendar.js @@ -153,6 +153,10 @@ } self.$cells.slice(startIndex, endIndex + 1).addClass('unavailable').append('
'); + + $('.unavailable').attr('data-toggle', 'tooltip'); + $('.unavailable').attr('title', 'Artikel nicht verfügbar'); + $('.unavailable').addClass('unavailablePointer'); } }); }, diff --git a/html/Dein.Equipment/public/stylesheets/style.css b/html/Dein.Equipment/public/stylesheets/style.css index 7b7706b..3e89a68 100644 --- a/html/Dein.Equipment/public/stylesheets/style.css +++ b/html/Dein.Equipment/public/stylesheets/style.css @@ -471,4 +471,4 @@ template { border-radius: 0 3px 3px 0; border-right: 1px solid #A33; } -html,body{height:100%}body{font:1em "Lucida Grande",Helvetica,Arial,sans-serif}@media (min-width:768px){body>*{width:600px;margin:auto}}a{color:#f49a34;text-decoration:none}a:hover{text-decoration:none;color:#cecdd2;background-color:rgba(255,255,255,0.5)}a#back{display:block;position:absolute;left:5px;top:5px;line-height:1.2em;font-size:1.8em;font-weight:bold;text-align:center;background-color:rgba(255,255,255,0.1);border:1px solid #cecdd2;border-radius:3px;width:1.5em;height:1.5em;z-index:2}.btn{border-radius:3px}.btn:hover{background-color:#cecdd2;border-color:#cecdd2}.btn.btn-primary{background-color:#f49a34;border-color:#f49a34}.btn.btn-primary:active{background-color:#f49a34;border-color:#f49a34}.btn.btn-primary:active:hover{background-color:#cecdd2;border-color:#cecdd2}#stage{position:relative;width:100%;height:100%;background-image:url('/images/stage-camping-001.jpg');background-position:center center;background-repeat:no-repeat;background-size:cover}#stage .welcome,#stage .location{position:relative;width:100%;top:15%;color:rgba(206,205,210,0.85);font-size:2em;font-weight:bold;text-align:center;background-color:rgba(255,255,255,0.2);border-top:1px solid #f49a34;border-bottom:1px solid #f49a34;padding:10px 0}#stage .welcome span.sub,#stage .location span.sub{display:block;font-size:.8em}#stage .welcome span:nth-child(2),#stage .location span:nth-child(2){margin-top:20px}#stage .welcome span.colored,#stage .location span.colored{color:#f49a34}#stage .location{font-size:1.8em;border-top:0 none}#stage .startLink{display:block;width:70%;margin:auto;position:relative;top:40%;border:1px solid #cecdd2;color:#cecdd2;font-size:1.3em;text-align:center;padding:.6em}#stage .startLink:hover{background-color:rgba(255,255,255,0.5);text-decoration:none;color:#fff}#items{background-color:#cecdd2}#items .item{display:block;position:relative;border-bottom:10px solid #fff}#items .item:last-child{border-bottom:0 none}#items .item:hover{text-decoration:none}#items .item:hover title{background-color:rgba(255,255,255,0.5);color:#cecdd2}#items .item:hover intro{background-color:rgba(255,255,255,0.5)}#items .item .preview{height:auto;width:100%}#items .item title{display:block;position:relative;top:0;width:100%;background-color:rgba(206,205,210,0.5);border-bottom:1px solid #fff;padding:.2em 0;color:#fff;text-align:center;font-weight:bold;font-size:1.1em}#items .item intro{display:none;position:absolute;bottom:0;width:100%;text-align:center;font-size:1em;font-weight:normal;color:#fff;background-color:rgba(206,205,210,0.5);border-top:1px solid #fff}#itemPage #stage{height:auto;border-bottom:1px solid #f49a34;margin-bottom:10px}#itemPage #details{text-align:justify;padding:0 5px}#itemPage #details p{margin-left:25px;margin-right:25px}#itemPage #details .price{text-align:center}#itemPage #details .price .value{color:#f49a34;font-size:2em}#itemPage #details .price .deposit{font-size:1em;color:#cecdd2}footer{margin-top:10px;border-top:1px solid #f49a34;background-color:rgba(206,205,210,0.5);text-align:center}footer a:hover{background-color:inherit}section.cookie{padding:0 3px;overflow:hidden;height:0;margin-top:0;-webkit-animation:slide .5s forwards;-webkit-animation-delay:2s;animation:slide .5s forwards;animation-delay:2s}@-webkit-keyframes slide{100%{height:auto;margin-top:5px}}@keyframes slide{100%{height:auto;margin-top:5px}}section.cookie .infotext{font-size:14px;font-weight:bold;line-height:14px}.lawthings h2{text-align:center;margin-bottom:30px}.input-daterange{flex-direction:column}.input-daterange.input-group .form-control,.input-daterange.input-group .input-group-addon{width:100%;display:block;border:1px solid #cecdd2}.input-daterange.input-group .input-group-addon{text-align:center}.input-daterange.input-group .form-control{border-radius:3px}.request{margin-top:20px}.request h5{font-size:1.2em;font-weight:bold;margin-bottom:10px}.request .datepicker table tr td.today,.request .datepicker table tr td.highlighted{background-image:none;background-color:rgba(244,154,52,0.5)} \ No newline at end of file +html,body{height:100%}body{font:1em "Lucida Grande",Helvetica,Arial,sans-serif}@media (min-width:768px){body>*{width:600px;margin:auto}}a{color:#f49a34;text-decoration:none}a:hover{text-decoration:none;color:#cecdd2;background-color:rgba(255,255,255,0.5)}a#back{display:block;position:absolute;left:5px;top:5px;line-height:1.2em;font-size:1.8em;font-weight:bold;text-align:center;background-color:rgba(255,255,255,0.1);border:1px solid #cecdd2;border-radius:3px;width:1.5em;height:1.5em;z-index:2}.btn{border-radius:3px}.btn:hover{background-color:#cecdd2;border-color:#cecdd2}.btn.btn-primary{background-color:#f49a34;border-color:#f49a34}.btn.btn-primary:active{background-color:#f49a34;border-color:#f49a34}.btn.btn-primary:active:hover{background-color:#cecdd2;border-color:#cecdd2}.pointer{cursor:pointer}.unavailablePointer{cursor:no-drop}#stage{position:relative;width:100%;height:100%;background-image:url('/images/stage-camping-001.jpg');background-position:center center;background-repeat:no-repeat;background-size:cover}#stage .welcome,#stage .location{position:relative;width:100%;top:15%;color:#72534a;font-size:2em;font-weight:bold;text-align:center;background-color:rgba(255,255,255,0.8);border-top:1px solid #f49a34;border-bottom:1px solid #f49a34;padding:10px 0}#stage .welcome span.sub,#stage .location span.sub{display:block;font-size:.8em}#stage .welcome span:nth-child(2),#stage .location span:nth-child(2){margin-top:20px}#stage .welcome span.colored,#stage .location span.colored{color:#f49a34}#stage .location{font-size:1.8em;border-top:0 none}#stage .startLink{display:block;width:70%;margin:auto;position:relative;top:40%;border:1px solid #cecdd2;color:#72534a;background-color:rgba(255,255,255,0.8);font-size:1.3em;font-weight:bold;text-align:center;padding:.6em}#stage .startLink:hover{background-color:rgba(255,255,255,0.5);text-decoration:none;color:#fff}#items{background-color:#cecdd2}#items .item{display:block;position:relative;border-bottom:10px solid #fff}#items .item:last-child{border-bottom:0 none}#items .item:hover{text-decoration:none}#items .item:hover title{background-color:rgba(255,255,255,0.5);color:#cecdd2}#items .item:hover intro{background-color:rgba(255,255,255,0.5)}#items .item .preview{height:auto;width:100%}#items .item title{display:block;position:relative;top:0;width:100%;background-color:rgba(206,205,210,0.5);border-bottom:1px solid #fff;padding:.2em 0;color:#72534a;text-align:center;font-weight:bold;font-size:1.1em}#items .item intro{display:none;position:absolute;bottom:0;width:100%;text-align:center;font-size:1em;font-weight:normal;color:#fff;background-color:rgba(206,205,210,0.5);border-top:1px solid #fff}#itemPage #stage{height:auto;border-bottom:1px solid #f49a34;margin-bottom:10px}#itemPage #details{text-align:justify;padding:0 5px}#itemPage #details p{margin-left:25px;margin-right:25px}#itemPage #details .price{text-align:center}#itemPage #details .price .value{color:#f49a34;font-size:2em}#itemPage #details .price .deposit{font-size:1em;color:#cecdd2}footer{margin-top:10px;border-top:1px solid #f49a34;background-color:rgba(206,205,210,0.5);text-align:center}footer a:hover{background-color:inherit}section.cookie{padding:0 3px;overflow:hidden;height:0;margin-top:0;-webkit-animation:slide .5s forwards;-webkit-animation-delay:2s;animation:slide .5s forwards;animation-delay:2s}@-webkit-keyframes slide{100%{height:auto;margin-top:5px}}@keyframes slide{100%{height:auto;margin-top:5px}}section.cookie .infotext{font-size:14px;font-weight:bold;line-height:14px}.lawthings h2{text-align:center;margin-bottom:30px}.input-daterange{flex-direction:column}.input-daterange.input-group .form-control,.input-daterange.input-group .input-group-addon{width:100%;display:block;border:1px solid #cecdd2}.input-daterange.input-group .input-group-addon{text-align:center}.input-daterange.input-group .form-control{border-radius:3px}.request{margin-top:20px}.request h5{font-size:1.2em;font-weight:bold;margin-bottom:10px}.request .datepicker table tr td.today,.request .datepicker table tr td.highlighted{background-image:none;background-color:rgba(244,154,52,0.5)} \ No newline at end of file diff --git a/html/Dein.Equipment/public/stylesheets/style.less b/html/Dein.Equipment/public/stylesheets/style.less index 6b7109b..0cc93dd 100644 --- a/html/Dein.Equipment/public/stylesheets/style.less +++ b/html/Dein.Equipment/public/stylesheets/style.less @@ -9,6 +9,8 @@ @color_black: #000; @color_grey: #cecdd2; @color_orange: #f49a34; +@color_white_background_font_color: #72534a; +@color_white_fade_default: fade(@color_white, 80%); @radius_border_default: 3px; @@ -81,6 +83,14 @@ a { } } +.pointer { + cursor: pointer; +} + +.unavailablePointer { + cursor: no-drop; +} + #stage { position: relative; width: 100%; @@ -95,11 +105,11 @@ a { position: relative; width: 100%; top: 15%; - color: fade(@color_grey, 85%); + color: @color_white_background_font_color; font-size: 2em; font-weight: bold; text-align: center; - background-color: fade(@color_white, 20%); + background-color: @color_white_fade_default; border-top: 1px solid @color_orange; border-bottom: 1px solid @color_orange; padding: 10px 0; @@ -132,8 +142,10 @@ a { position: relative; top: 40%; border: 1px solid @color_grey; - color: @color_grey; + color: @color_white_background_font_color; + background-color: @color_white_fade_default; font-size: 1.3em; + font-weight: bold; text-align: center; padding: 0.6em; @@ -183,7 +195,7 @@ a { background-color: fade(@color_grey, 50%); border-bottom: 1px solid @color_white; padding: 0.2em 0; - color: @color_white; + color: @color_white_background_font_color; text-align: center; font-weight: bold; font-size: 1.1em;