Commit a0dd00478126ccf704e442c309e6544e9ef8dff9

Authored by Lars Jørgen Fredheim
1 parent bc484187

Minified stylesheet

Showing 3 changed files with 3 additions and 2 deletions   Show diff stats
css/style.css
... ... @@ -1014,7 +1014,7 @@ ul li {
1014 1014 }
1015 1015  
1016 1016 .offset5 {
1017   - margin-top: 5px;
  1017 + margin-top: 5px;
1018 1018 }
1019 1019  
1020 1020 .offset10 {
... ...
css/style.min.css 0 → 100644
  1 +#setup,body,html{width:100%;height:100%}#main,.hide{display:none}#layoutButtons,.box,.center{margin-left:auto;margin-right:auto}#subtotal,.headline,.subText,body,html{font-family:Arial,Helvetica,sans-serif}#itemTableHead,#itemTableHead thead tr th,#main,#moduleMenuGUI,#shoppingCart,.toolbar-tip{text-align:center}#downloadItemListButton,#shoppingCart,.layoutButton{transition:all .2s ease-in-out}body,html{overflow:hidden;margin:0;padding:0}.angleRow,.btAngle{margin-bottom:10px}button:focus,input:focus,select:focus{font-size:16px;outline:0}label{font-weight:700}ul li{list-style-type:none;text-align:left}#setup{overflow:auto;position:fixed}.custom-terrace-wrapper{overflow-y:auto;overflow-x:hidden;border-top-left-radius:10px;border-bottom-left-radius:10px;position:fixed;right:0;height:100%;width:275px;z-index:20;background:url(../img/wallpapers/funky-lines.png);border:1px solid #000}#renderCanvas{position:fixed;width:100%;height:100%;touch-action:none;z-index:5}#renderCanvas:focus{outline:0}.setup{overflow:auto;background:url(../img/wallpapers/background.jpg) center no-repeat #d3d3d3;height:100%;background-size:cover}.box{background:#fff;border-radius:10px;margin-top:100px;box-shadow:0 4px 8px 0 rgba(0,0,0,.2),0 6px 20px 0 rgba(0,0,0,.19)}#btNext2,#btPrevious2{margin-top:5px;bottom:0}.center{display:block}.full-width{width:100%}.headline{font-weight:400;font-size:2em;padding-top:30px;color:#000}.subText{font-style:normal;font-size:1em;color:#696969}.error{color:red;font-size:10px}#layoutButtons{padding-bottom:20px}.layoutButton:hover{cursor:pointer;transform:scale(1.2)}#btDraw:active,#btNext2:active,#btNext:active,#btPrevious2:active,#btPrevious:active,.scaleOnClick:active{transform:scale(.95)}#lengths{padding-top:20px;padding-bottom:20px}#custom-terrace-gui{width:300px;text-align:center;height:100%}#customTerraceSidePanel{width:100%;height:100%;border-radius:10px;margin-top:20px}#addLength,#deleteLength{width:100%;background-color:#f3f3f3;border:1px solid #000}#addLength:hover,#deleteLength:hover{background-color:#e2e2e2}#bottomRow{position:fixed;bottom:0;background:linear-gradient(to bottom,rgba(249,249,249,0),rgba(249,249,249,1) 25%);margin-left:5px;padding-top:25px}#btPrevious2{margin-right:30px}.btAngle{border-radius:5px;padding:5px;border:1px solid #000;background-color:#fff}#btDraw,#btNext,#btNext2{background-color:#05AE0E}#itemTableFoot,#itemTableHead{left:1%;width:98%;background-color:#ccc;position:relative}.btAngle:hover{cursor:pointer;border:1px solid #05AE0E}#angle-headline,#angle-length{font-size:2em}.angleButtons{margin:20px}.custom-container{height:100%}#btNext,#btNext2{width:100px}#btPrevious,#btPrevious2{background-color:#9f9f9f;width:100px}#btDraw{width:150px}#btDraw,#btNext,#btNext2,#btPrevious,#btPrevious2{position:relative;border:none;color:#fff;padding:10px;margin-bottom:15px;cursor:pointer;font-size:1em;border-radius:5px;transition:all .2s ease-in-out}#btDraw:hover span,#btNext2:hover span,#btNext:hover span{padding-right:15px}#btPrevious2:hover span,#btPrevious:hover span{padding-left:15px}#btDraw span,#btNext span,#btNext2 span,#btPrevious span,#btPrevious2 span{cursor:pointer;display:inline-block;position:relative;transition:.5s}#btDraw span:after,#btNext span:after,#btNext2 span:after{content:'\00bb';position:absolute;opacity:0;top:0;right:-10px;transition:.5s}#btPrevious span:after,#btPrevious2 span:after{content:'\00ab';position:absolute;opacity:0;top:0;left:-10px;transition:.5s}#btDraw:hover span:after,#btNext2:hover span:after,#btNext:hover span:after{opacity:1;right:0}#btPrevious2:hover span:after,#btPrevious:hover span:after{opacity:1;left:0}#downloadItemListButton:hover,#shoppingCart:hover,.cameraButtons:hover{transform:scale(1.05)}#gui{width:100%;height:100%;z-index:10}#shoppingCart{position:fixed;bottom:5px;left:5px;width:80px;z-index:15;cursor:pointer;background-color:rgba(249,249,249,.5);border-radius:15px;border:1px solid #000;padding:5px}#itemList,#totalCostButton{border:1px solid #000;position:fixed}#imgCart{width:40px;bottom:0}#subtotal{font-size:.8em}#totalCostButton{z-index:10;left:0;bottom:0;height:50px;width:200px;font-size:1.4em;border-radius:5px}#itemList{z-index:20;width:800px;height:600px;background:url(../img/wallpapers/funky-lines.png);left:calc(50% - 400px);top:calc(50% - 300px);border-radius:10px;display:none}#itemTableFoot,#itemTableHead,#moduleMenu,.pole-button{border:1px solid #000}#itemListHeader{position:relative;width:100%;height:10%;top:0}#closeItemList{position:absolute;top:-20px;right:10px;cursor:pointer;font-size:50px}#itemTableHead{margin-top:10px}#itemTableDiv{position:relative;top:4%;width:98%;height:65%;border-left:1px solid #000;border-right:1px solid #000;border-top:1px solid #000;margin:0 1%;overflow:auto;background-color:#fff}#itemTable tr{background-color:#e6e6e6}#itemTable,#itemTable td,#itemTable tr{border-collapse:collapse}#itemTable{width:100%;vertical-align:top}#itemTableFoot{top:4%}#itemTableFoot tr th,#itemTableFoot tr th div{text-align:right}#itemListFooter{position:relative;width:100%}#downloadItemListButton{position:relative;right:-355px;top:30px;width:70px;cursor:pointer}.fade-background{position:fixed;top:0;left:0;z-index:19;width:100%;height:100%;background:rgba(0,0,0,.8)}#helpLinesButton,#home{position:fixed;z-index:20}#topButtons{position:fixed;float:right;top:0;left:0;z-index:10}#home{top:0;width:30px;display:none}#helpLinesButton{top:-1px;margin:5px;left:10px;height:40px}.view-nav{position:relative;top:0;left:28px;width:45px}.view-nav li ul{position:absolute;left:0;top:36px;z-index:1}#moduleMenuToggleButton,#zoom-in,#zoom-out{z-index:20;position:fixed}.view-nav li ul li{overflow:hidden;max-height:0;width:55px;-webkit-transition:max-height .5s ease;-moz-transition:max-height .5s ease;-o-transition:max-height .5s ease;transition:max-height .5s ease}#info,#moduleMenu{overflow-y:auto;overflow-x:hidden}.view-nav ul>li:hover ul li{max-height:100px}.view{width:45px}.dropdown-view{padding-top:5px;padding-left:40px}.cameraButtons{width:35px;margin-left:5px;margin-top:5px}#glassHeader,#zoom-in,#zoom-out,.menuHeader{margin-top:10px}#zoom-out{top:0;height:30px;left:125px}#zoom-in{top:0;height:30px;left:170px}#helpButton{position:fixed;top:6px;left:210px;height:25px;margin:5px}#moduleMenuToggleButton{top:10px;right:245px;border:none;height:20px;transform:rotate(180deg);transition:all .5s}#moduleMenuGUI{width:300px;height:100%}#moduleMenu,.poleButtons{position:fixed;width:275px;right:0}#moduleMenu{height:100%;top:0;z-index:10;background:url(../img/wallpapers/funky-lines.png);border-top-left-radius:10px;border-bottom-left-radius:10px;transition:right .5s}.poleButtons{margin-bottom:30px}.pole-button{border-radius:5px;background-color:#fff;margin-left:5px;margin-right:5px;width:42%}#glassMenu,#poleMenu{height:55px;background:rgba(211,211,211,.8);border:1px solid #000;transition:bottom .5s}.pole-row{margin-bottom:5px}.pole-description{width:50%;float:left;margin-bottom:20px}.pole-description-center{width:100%;margin-bottom:20px}.menuHeader{font-size:2em}#glassButtons{position:relative}#decreaseGlassWidth{width:10%;position:absolute;left:0;top:40%}#increaseGlassWidth{width:10%;transform:rotate(180deg);position:absolute;right:0;top:40%}#autoGenInfo,#glassMenu,#poleMenu,.toolbar-tip{position:fixed;z-index:15}#glass-type-selection,#glass-width-selection,.option-dropdown{width:80%;left:10%}#glassTypeInfo,#glassWidthInfo{width:35%}#glassTypeSelect,#glassWidthSelect{width:65%}#poleMenu{left:calc(50% - 180px);width:190px;border-top-left-radius:10px;border-top-right-radius:10px}#glassMenu{left:calc(50% - 233px);width:295px;border-top-left-radius:10px;border-top-right-radius:10px;padding-left:5px}#glassButton{width:55%;transform:scale(1.4,1)}.no-width{width:0}.toolbar-tip{bottom:60px;width:190px;left:calc(50% - 180px);background-color:#fff;border:1px solid #000;padding:5px;border-radius:5px}.meshControlsButtonsDiv{height:40px;float:left;margin:1%}#autoGenButton,.meshControlsButtons{height:100%;margin-top:5px;border:1px solid #000;background-color:#fff}.meshControlsButtons{border-radius:5px}#autoGenButton{border-radius:5px;cursor:pointer}#autoGenButton:hover,.meshControlsButtons:hover{background-color:#f0f0f0}#glassMenuType{width:140px}#glassMenuTypeSelect{position:relative;left:-27px;margin-top:8px;border:1px solid #000;height:40px}.autoGenPoleButton{height:80px;border:1px solid #000;border-radius:5px}#autoGenSuggestions{display:none;margin-bottom:5px;width:640px;height:400px;border:1px solid #000;overflow:auto}#suggestionsTable td,#suggestionsTable th{margin:5px}#suggestionsTableBody{cursor:pointer}#suggestionsTable,#suggestionsTable td,#suggestionsTable tr{border-collapse:collapse}#suggestionsTable{vertical-align:top;width:100%}#suggestionsTable tr:hover td{background-color:#ceffbc}#autoGenInfo{height:115px;width:500px;top:5px;left:calc(50% - 250px);background-color:#fff;border:1px solid #000;border-radius:5px;padding:5px;display:none;transition:all .5s;overflow:hidden}.info,.init-info{height:100%;top:0;position:fixed}#autoGenInfoHeader{font-size:1.3em;margin:0}#autoGenSuggestions{font-size:1em;margin:0}.init-info{left:0;z-index:20;width:100%;background:rgba(0,0,0,.5)}.init-info-box{position:fixed;background-color:#fff;border:1px solid #000;border-radius:5px;width:300px;left:calc(50% - 150px);bottom:calc(50% - 65px)}.btn-no,.btn-yes,.img,.info-pole-buttons{border:1px solid #000}.btn-yes{margin-left:10px;margin-right:5px}.btn-no{margin-right:10px;margin-left:5px}.btn-no,.btn-yes{display:inline;width:130px;margin-top:10px;margin-bottom:10px;background-color:#eee}.btn-no:hover,.btn-yes:hover{transform:scale(1.05)}.info{z-index:30;width:100%;left:0;background-color:rgba(0,0,0,.8)}#info{font-size:1.25em}.infotext,.infotextonly{margin-top:5px;font-size:.8em}.infotext{color:#fff;float:left;text-align:left}.right,.scaled-img,.select-img{float:right}.infotextonly{color:red;text-align:center;font-weight:700;margin-bottom:10px}.close,.close:hover{color:#fff}.close{position:fixed;top:10px;right:25px;z-index:31;font-size:3em;cursor:pointer}.info-pole-buttons{background-color:#fff;border-radius:5px;height:60px;width:60px}.element-row{margin-top:8px}.select-img{height:30px}.scaled-img{height:60px;transform:scaleX(1.4);padding-left:40px}.img,.shopping-cart{height:30px;background-color:rgba(255,255,255,.9)}.glass-row{margin-right:20px}.img{border-radius:5px}.shopping-cart{border:1px solid #000;border-radius:5px;padding:2px}.pdf{height:55px;right:-30px}.perspective{height:45px}.ruler{height:40px}.zoom{height:30px;margin-bottom:50px}.offset5{margin-top:5px}.offset10{margin-top:10px}.offset15{margin-top:15px}.offset20{margin-top:20px}
0 2 \ No newline at end of file
... ...
index.html
... ... @@ -8,7 +8,7 @@
8 8 <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css">
9 9  
10 10 <!-- Custom CSS -->
11   - <link rel="stylesheet" type="text/css" href="css/style.css">
  11 + <link rel="stylesheet" type="text/css" href="css/style.min.css">
12 12  
13 13 <!-- JavaScript -->
14 14 <script src="lib/babylon.js"></script>
... ...