body { background: #777; } a { color: lighten(#C83737, 30%); text-decoration: none; } a:before { content: ""; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; position: relative; top: 2px; left: 12px; transform: translateY(15px); opacity: 0; transition: all 0.3s; border-bottom: 5px solid rgba(0, 0, 0, 0.2); } a:after { content: attr(data-help); display: inline-block; font-size: 12px; color: #F1F1F1; background: rgba(0, 0, 0, 0.2); padding: 10px; margin-top: 7px; border-radius: 5px; position: absolute; left: 35%; transition: all 0.4s; transform: translateY(10px); opacity: 0; } a:hover { color: #FFF; &:after { transform: translateY(0px); opacity: 1; } &:before { transform: translateY(0px); opacity: 1; } } @keyframes eyes { 0% { transform: translateX(0px); } 30% { transform: translateX(15px); } 60% { transform: translateX(15px); } 90% { transform: translateX(0px); } } @keyframes load { 0% { width: 5px; } 30% { width: 40px; } 60% { width: 140px; } 76% { width: 200px; } 100% { width: 300px; } } .eyes { content: ""; display: inline-block; height: 10px; width: 10px; border-radius: 50%; border: 2px solid #FFF; background: #444; position: relative; top: -20px; animation: eyes 18s infinite; } .hide { opacity: 0; height: 0px; overflow: hidden; display: none; } .frame { width: 320px; margin: 0 auto; display: block; } .ui { padding: 0px; margin: 0px; h3 { display: block; background: #F9F9F9; color: #000; font-size: 56px; padding: 5px; margin: 0px; text-align: left; } ul { width: 100%; height: 30px; list-style-type: none; background: #222; color: #FFF; margin: 0px 0px 20px 0px; padding: 15px 0px 0px 20px; li { display: inline; padding-right: 15px; } } } header { margin-top: 50px; font-size: 88px; color: #FFF; text-align: center; text-shadow: 0px 3px 10px #555; font-family: 'Roboto Condensed', sans-serif; & b:before { @extend .eyes; left: 65px; } & b:after { @extend .eyes; right: 90px; } } .selector { width: 250px; height: 20px; display: block; background: #FFF; margin: 30px auto; padding: 20px; box-shadow: 0px 0px 20px #666; border-bottom: 3px solid #555; overflow: hidden; transition: all 0.4s; code { opacity: 0.6; width: 98%; height: 100%; padding: 10px; border: 0px; font-size: 14px; font-weight: 400; } button { width: 100%; height: 40px; margin-top: 20px; display: block; background: #428bca; color: #FFF; border: 0px; transition: background 0.2s; &:hover { background: lighten(#428bca, 8%); } } } .lightsOut { background: #111 !important; } .modal { position: absolute; left: 30%; top: 50%; background: #222; color: #FFF; padding: 20px; .loader { width: 300px; height: 30px; margin: 5px 0px 5px 0px; background: #FFF; &:after { content: ""; height: 30px; width: 5px; background: red; position: absolute; left: 20px; animation: load 300s infinite; } } } select { width: 200px; background: #FFF; border: 0px; border-radius: 0px; font-weight: 600; } footer { display: block; margin-top: -20px; text-align: center; color: #FFF; text-shadow: 0px 3px 10px #555; }