Dashboard
PHP:
8.0.30
OS:
Linux
User:
fouamico
/
/
home4
/
fouamico
/
public_html
/
mitsucap
/
sr-calculator
/
css
đ€ Upload
đ New File
đ New Folder
Close
Editing: styles.less
.bordered {border: 1px solid black;} @black: #333333; @lightblack: @black + #888; @inputWidth: 160px; @interactiveWidth: calc(100% - @inputWidth - 30px); @red: #ed1c24; @rulerHeight: 20px; .calculator { padding: 20px; position: relative; max-width: 1200px; margin: 0 auto; font-family: Roboto; font-size: 18px; color: @black; >div { display: inline-block; vertical-align: top; padding: 20px; } .graphs { width: calc(100% - 440px); .value { margin-bottom: 20px; position: relative; .title { font-size: 110%; margin-bottom: 10px; } .subtitle { font-size: 80%; margin-bottom: 10px; } .input { width: @inputWidth; input { border: 0; border-bottom: 1px solid @lightblack; font-size: 100%; color: inherit; width: 100%; margin-top: 75px; margin-bottom: @rulerHeight; outline: none; } input:active {outline: none;} } .reset { position: absolute; width: 15px; height:15px; bottom: @rulerHeight + 6px; cursor: pointer; left: @inputWidth - 15px; svg { width:100%; height: 100%; >* {fill: @lightblack;} } } .reset:hover { opacity: 0.5; svg >* {fill: @red;} } .reset.hidden {display:none;} .graph { height: 100px; position: absolute; bottom: @rulerHeight; right: -5px; left: @inputWidth + 13px; .highcharts-point { fill: @lightblack; transition: 200ms; } .highcharts-point.colored { fill: @red; } } .sliderDiv { height: 4px; position: absolute; bottom: @rulerHeight; right: -5px; left: @inputWidth + 13px; border: 1px solid @lightblack - #111; background-color: @lightblack + #222; border-radius: 5px; .slider { cursor: e-resize; position: absolute; height:100%; width: auto; border:0; background: none; } .ui-slider-handle { cursor: inherit; top: -7px; margin-left: 0px; width: 13px; height: 20px; user-select: none; transition: 100ms; svg { width: 100%; height: 100%; >* { fill: @red; stroke: @black; } } .tooltip { position: absolute; font-size: 50%; padding:5px; border: 1px solid @lightblack + #333; border-radius: 5px; background-color: @lightblack + #333; color: @red; font-weight: bolder; transition: 500ms; } .num { position: absolute; font-size: 50%; top: 22px; color: @black; display: none; } } .ui-slider-handle, .ui-slider-handle.ui-state-active { border: 0; border-radius: 0; background: none; outline: none; } } .ruler { position: absolute; bottom: 0; right: 5px; height: @rulerHeight; width: @interactiveWidth; } } } .summary { width: 350px; font-size:80%; .logo { text-align: right; top: 100%; img { width: 100%; } margin-top: 30px; } .variable { margin-bottom: 20px; padding-bottom:2px; border-bottom: 1px solid transparent; >div { display: inline-block; vertical-align: top; } .name { width: 250px; } .value { font-weight: bolder; text-align: right; } } .variable:hover { border-bottom-color: @red; } .variable#fValue { border-bottom: 0; .name { width: 100%; margin-top: 20px; margin-bottom: 10px; text-align: center; font-size: 150%; } .value { display: block; background-color: @lightblack; color: @red; padding: 20px; font-size: 200%; border: 1px solid @lightblack; border-radius: 5px; text-align: center; } } } .summary.fixed { top: 0; position: fixed; } } @media screen and (max-width: 1000px) { .calculator .graphs .value .sliderDiv .ui-slider-handle { top: -14px; margin-left: 4px; width: 26px; height: 20px; } }
Save
Cancel