@color-blue: #0d96f0; @color-orange: #fb5531; .btn { border-radius: 4px; &:hover { opacity: 0.8; } &.btn-orange { background: @color-orange; } &.btn-primary { background: @color-blue; } &.starting { display: block; width: 280px; height: 60px; font-size: 20px; color: #ccc; margin: 120px auto; margin-bottom: 20px; pointer-events: none; background: #f5f5f5; border: none; position: relative; #progress-text { position: relative; z-index: 9; } } } #start, #stop { display: inline-block; vertical-align: middle; width: 200px; height: 280px; border-radius: 4px; background: #fff; margin: 80px 40px; transition: all 0.3s; transform: translate(0, 0); &:hover { transform: translate(0, -2px); } &.border-orange { border: 1px solid @color-orange; &:hover { box-shadow: 2px 2px 4px fade(@color-orange, 40%); } } &.border-blue { border: 1px solid @color-blue; &:hover { box-shadow: 2px 2px 4px fade(@color-blue, 60%); } } img { display: block; height: 120px; margin: 52px auto; } button { width: 180px; height: 40px; border: none; color: #ccc; padding: 8px 0; outline: none; border: none; font-size: 16px; } } #progress-log, #progress-message { color: @color-orange; font-size: 16px; .progress-log-event { border: none; } } @-webkit-keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } @keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } #progress-bar { position: absolute; top: 0; left: 0; width: 0; height: 100%; border-radius: 4px; background-color: #fb5531; border: none; animation: progress-bar-stripes 2s linear infinite; background-image: linear-gradient( 45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent ); background-size: 40px 40px; transition: width 0.6s ease; box-shadow: inset 0 -1px 0 rgb(0 0 0 ~'/' 15%); height: 100%; } .running_container { margin: 0; margin-top: -20px; width: 100%; height: calc(100vh); padding: 0; position: relative; overflow: hidden; .bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } .content { position: relative; z-index: 9; } }