(function () { var bHeight, bWidth, block, bname, closeBtn, closeContent, content, expand, openContent, updateValues, wHeight, wWidth, xVal, yVal; block = $('.blocks__block'); bname = $('.blocks__name'); content = $('.blocks-content__content'); closeBtn = $('.blocks__content-close'); wHeight = $(window).outerHeight(); wWidth = $(window).outerWidth(); bHeight = block.outerHeight(); bWidth = block.outerWidth(); xVal = Math.round(wWidth / bWidth) + 0.03; yVal = wHeight / bHeight + 0.03; expand = function () { var aBlock, num; num = $(this).index(); aBlock = block.eq(num); if (!aBlock.hasClass('active')) { bname.css('opacity', '0'); aBlock.css({ 'transform': 'scale(' + xVal + ',' + yVal + ')', '-webkit-transform': 'scale(' + xVal + ',' + yVal + ')' }); aBlock.addClass('active'); openContent(num); } }; openContent = function (num) { var aContent; content.css({ 'transition': 'all 0.3s 0.4s ease-out', '-webkit-transition': 'all 0.3s 0.4s ease-out' }); aContent = content.eq(num); aContent.addClass('active'); }; closeContent = function () { bname.css('opacity', '1'); content.css({ 'transition': 'all 0.1s 0 ease-out', '-webkit-transition': 'all 0.1s 0 ease-out' }); block.css({ 'transform': 'scale(1)', '-webkit-transform': 'scale(1)' }); block.removeClass('active'); content.removeClass('active'); }; updateValues = function () { var yVal; var xVal; var bWidth; var bHeight; var wWidth; var wHeight; var aBlock; if (block.hasClass('active')) { aBlock = $('.blocks__block.active'); wHeight = $(window).height(); wWidth = $(window).width(); bHeight = block.height(); bWidth = block.width(); xVal = Math.round(wWidth / bWidth) + 0.03; yVal = wHeight / bHeight + 0.03; aBlock.css({ 'transform': 'scale(' + xVal + ',' + yVal + ')', '-webkit-transform': 'scale(' + xVal + ',' + yVal + ')' }); } }; $(window).on('resize', updateValues); bname.on('click', expand); closeBtn.on('click', closeContent); }).call(this); //# sourceURL=coffeescript

Bubala

Bubala opened mid Sept 2019 and has already received much critical acclaim including rave reviews from The Guardian, Telegraph & The Times. We are a Middle Eastern vegetarian restaurant with a strong emphasis on big flavours whilst letting the veg take centre stage. Behind Bubala is Marc Summers (founder and ex GM of Berber & Q) and Head Chef Helen Graham, who has worked at The Palomar, The Barbary, The Good Egg and Ottolenghi. We have a 36 cover restaurant, with a newly opened private dining room upstairs which seats 22.