body { padding:0px; overflow:hidden; } #title { position: fixed; top: 0px; left: 0px; width: 100%; height: 150px; margin: 0px; background-color: #2b2b2b; z-index: 100; } a { color:#5fd0f1; text-decoration:none; } #title img { padding-top:25px; height: 100px; } #title .rightLogo { float:right; margin-right:25px; } nav { position: fixed; top:0px; left:0px; width: 380px; height: 100%; padding: 0px; padding-top: 150px; background-color: #F1F1F1; border-right: 2px solid #2b2b2b; z-index: 50; margin:0; } nav .onglet { position:relative; margin:0; text-align:center; font-size: 22px; height: 45px; width: 50%; color: #ffffff; background-color: #2b2b2b; margin-bottom:20px; padding-top:15px; margin-right:-2px; border-right: 1px solid #fff; } nav .onglet:hover { background-color: #414141; } #onglet-esir { float: left; } #onglet-ext { left: 0px; float: right; } #hamburgerMenu { background-color:#fff; } #hamburgerMenu h2 { font-size:22px; color:#2b2b2b; margin-left:5%; margin-top:5%; } form { margin-top:-20px; margin-left:20%; margin-bottom:-20px; } input[type="checkbox"] { display:none; } input[type="checkbox"] + label span { display:inline-block; width:19px; height:19px; margin:-1px 4px 0 0; vertical-align:middle; background:url(images/check_radio_sheet.png) left top no-repeat; cursor:pointer; } input[type="checkbox"]:checked + label span { background:url(images/check_radio_sheet.png) -19px top no-repeat; } #AddEvent { position:absolute; bottom:150; width:100%; margin:0; margin-top:20px; text-align:center; font-size: 20px; padding-top:15px; height: 40px; width: 100%; color: #ffffff; background-color: #2b2b2b; } #AddEvent:hover { color: #2b2b2b; background-color: #40c1e6; } #calendar { height:100%; margin:0; margin-left:-10px; background-color:#f1f1f1; } #footer { position:fixed; background-color:#f1f1f1; bottom:0px; height:54px; color:#2b2b2B; margin:0; width:100%; border:1px solid #2b2b2b; } #Export { float: right; margin-right:25px; } #exMois { margin-bottom:-10px; margin-top:-10px; height:30px; width:30%; margin-left:auto; margin-right:auto; } #Mois { text-align:center; font-size: 30px; margin-bottom:-30px; } #exLess { width:40px; height:40px; margin-top:-5px; margin-left:290px; } #exMore { width:40px; height:40px; margin-bottom:-45px; margin-left:80px; } /*Calendar*/ table { width:100%; margin:0; padding:0; border-style:none; table-layout: fixed; } tr { height:250px; border-style:none; margin:0; width:100%; padding:0; } td { border-style:none; height:100%; margin:0; padding:0; } td:hover { background-color: #40c1e6; } tr #date { font-size:30px; margin:20px; color:#2b2b2b; } #calendar #event { margin:0; border:1px solid #2b2b2b; height:100%; width:100%; } #link { margin-left:10px; font-size:12px; } /*BURGER BUTTON*/ .items { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-box-pack: justify; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-bottom: 24px; } .item { margin: 12px; } /* ============================================================================= MENU TOGGLE SWITCHES ============================================================================= */ /** * Toggle Switch Globals * * All switches should take on the class `cmn-toggle-switch` as well as their * variant that will give them unique properties. This class is an overview * class that acts as a reset for all versions of the icon. */ .cmn-toggle-switch { display: block; position: relative; overflow: hidden; margin: 0; padding: 0; width: 108px; height: 96px; font-size: 0; text-indent: -9999px; -webkit-appearance: none; -moz-appearance: none; appearance: none; box-shadow: none; border-radius: none; border: none; cursor: pointer; -webkit-transition: background 0.3s; transition: background 0.3s; } .cmn-toggle-switch:focus { outline: none; } .cmn-toggle-switch span { display: block; position: absolute; top: 45px; left: 18px; right: 18px; height: 6px; background: white; } .cmn-toggle-switch span::before, .cmn-toggle-switch span::after { position: absolute; display: block; left: 0; width: 100%; height: 6px; background-color: #fff; content: ""; } .cmn-toggle-switch span::before { top: -27px; } .cmn-toggle-switch span::after { bottom: -27px; } /** * Style 1 * * Rotating hamburger icon (rot), that simply rotates 90 degrees when activated. * Nothing too fancy, simple transition. */ .cmn-toggle-switch__rot { background-color: #28aadc; } .cmn-toggle-switch__rot span { -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; } /* active state, i.e. menu open */ .cmn-toggle-switch__rot.active { background-color: #166888; } .cmn-toggle-switch__rot.active span { -webkit-transform: rotate(90deg); -ms-transform: rotate(90deg); transform: rotate(90deg); } /** * Style 2 * * Hamburger to "x" (htx). Takes on a hamburger shape, bars slide * down to center and transform into an "x". */ .cmn-toggle-switch__htx { background-color: #ff3264; } .cmn-toggle-switch__htx span { -webkit-transition: background 0 0.3s; transition: background 0 0.3s; } .cmn-toggle-switch__htx span::before, .cmn-toggle-switch__htx span::after { -webkit-transition-duration: 0.3s, 0.3s; transition-duration: 0.3s, 0.3s; -webkit-transition-delay: 0.3s, 0; transition-delay: 0.3s, 0; } .cmn-toggle-switch__htx span::before { -webkit-transition-property: top, -webkit-transform; transition-property: top, transform; } .cmn-toggle-switch__htx span::after { -webkit-transition-property: bottom, -webkit-transform; transition-property: bottom, transform; } /* active state, i.e. menu open */ .cmn-toggle-switch__htx.active { background-color: #cb0032; } .cmn-toggle-switch__htx.active span { background: none; } .cmn-toggle-switch__htx.active span::before { top: 0; -webkit-transform: rotate(45deg); -ms-transform: rotate(45deg); transform: rotate(45deg); } .cmn-toggle-switch__htx.active span::after { bottom: 0; -webkit-transform: rotate(-45deg); -ms-transform: rotate(-45deg); transform: rotate(-45deg); } .cmn-toggle-switch__htx.active span::before, .cmn-toggle-switch__htx.active span::after { -webkit-transition-delay: 0, 0.3s; transition-delay: 0, 0.3s; } /** * Style 3 * * Hamburger to left-arrow (htla). Hamburger menu transforms to a left-pointing * arrow. Usually indicates an off canvas menu sliding in from left that * will be close on re-click of the icon. */ .cmn-toggle-switch__htla { background-color: #32dc64; } .cmn-toggle-switch__htla span { -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; } .cmn-toggle-switch__htla span::before { -webkit-transform-origin: top right; -ms-transform-origin: top right; transform-origin: top right; -webkit-transition: -webkit-transform 0.3s, width 0.3s, top 0.3s; transition: transform 0.3s, width 0.3s, top 0.3s; } .cmn-toggle-switch__htla span::after { -webkit-transform-origin: bottom right; -ms-transform-origin: bottom right; transform-origin: bottom right; -webkit-transition: -webkit-transform 0.3s, width 0.3s, bottom 0.3s; transition: transform 0.3s, width 0.3s, bottom 0.3s; } /* active state, i.e. menu open */ .cmn-toggle-switch__htla.active { background-color: #18903c; } .cmn-toggle-switch__htla.active span { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } .cmn-toggle-switch__htla.active span::before, .cmn-toggle-switch__htla.active span::after { width: 50%; } .cmn-toggle-switch__htla.active span::before { top: 0; -webkit-transform: translateX(42px) translateY(3px) rotate(45deg); -ms-transform: translateX(42px) translateY(3px) rotate(45deg); transform: translateX(42px) translateY(3px) rotate(45deg); } .cmn-toggle-switch__htla.active span::after { bottom: 0; -webkit-transform: translateX(42px) translateY(-3px) rotate(-45deg); -ms-transform: translateX(42px) translateY(-3px) rotate(-45deg); transform: translateX(42px) translateY(-3px) rotate(-45deg); } /** * Style 4 * * Hamburger to right-arrow (htra). Hamburger menu transforms to a * right-pointing arrow. Usually indicates an off canvas menu sliding in from * right that will be close on re-click of the icon. */ .cmn-toggle-switch__htra { background-color: #ff9650; } .cmn-toggle-switch__htra span { -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; } .cmn-toggle-switch__htra span::before { -webkit-transform-origin: top left; -ms-transform-origin: top left; transform-origin: top left; -webkit-transition: -webkit-transform 0.3s, width 0.3s, top 0.3s; transition: transform 0.3s, width 0.3s, top 0.3s; } .cmn-toggle-switch__htra span::after { -webkit-transform-origin: bottom left; -ms-transform-origin: bottom left; transform-origin: bottom left; -webkit-transition: -webkit-transform 0.3s, width 0.3s, bottom 0.3s; transition: transform 0.3s, width 0.3s, bottom 0.3s; } /* active state, i.e. menu open */ .cmn-toggle-switch__htra.active { background-color: #e95d00; } .cmn-toggle-switch__htra.active span { -webkit-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); } .cmn-toggle-switch__htra.active span::before, .cmn-toggle-switch__htra.active span::after { width: 50%; } .cmn-toggle-switch__htra.active span::before { top: 0; -webkit-transform: translateX(-6px) translateY(3px) rotate(-45deg); -ms-transform: translateX(-6px) translateY(3px) rotate(-45deg); transform: translateX(-6px) translateY(3px) rotate(-45deg); } .cmn-toggle-switch__htra.active span::after { bottom: 0; -webkit-transform: translateX(-6px) translateY(-3px) rotate(45deg); -ms-transform: translateX(-6px) translateY(-3px) rotate(45deg); transform: translateX(-6px) translateY(-3px) rotate(45deg); }