Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
19c8e9c7bThis file is pinned to the selected release. Download the original to open it in your design tool.
/*
* style.css for index.html of http://OpenJSCAD.org/
*/
html, body {
margin: 0px; /* not inherited */
border: 0px none black; /* not inherited */
padding: 0px; /* not inherited */
font-family: Helvetica, Arial, Sans;
/* ensure that the document uses the whole width and height of the browser */
min-height: 100%;
height: 100%;
min-width: 100%;
width: 100%;
/* viewer/canvas is full screen so when window
is resized all remains intact, but we make sure no scrollbar appears */
overflow: hidden;
}
a {
text-decoration: none;
color: #6020a0;
font-weight: bold;
}
a:visited {
color: #6020a0;
}
#header {
position: absolute;
top: 1em;
left: 1em;
z-index: 20;
}
.ace_gutter {
border-left: 1px solid #ccc;
background: transparent !important;
}
#editor {
margin: inherit;
position: inherit;
top: inherit;
bottom: inherit;
left: inherit;
right: inherit;
width: 100%;
z-index: 6;
/*
background: transparent;
*/
background: rgba(255,255,255,0.15);
}
#viewerContext {
margin: 0px; /* not inherited */
border: 0px none black; /* not inherited */
padding: 0px; /* not inherited */
/* ensure that the canvas uses the whole width and height of the document */
background: white;
height: 100%;
width: 100%;
top: 0px;
bottom: 0px;
}
canvas {
margin: 0px; /* not inherited */
border: 0px none black; /* not inherited */
padding: 0px; /* not inherited */
/* ensure that the canvas uses the whole width and height of the document */
height: 100%;
width: 100%;
cursor: move; /* show that we can change orientation of view */
}
#about {
position: absolute;
width: 30%;
left: 30%;
top: 10%;
font-size: 0.75em;
box-shadow: 0px 0px 20px black;
color: #404040;
border-radius: 20px;
background: white;
display: none;
padding: 1.5em;
text-align: center;
z-index: 100;
}
#footer {
font-size: 0.7em;
text-align: left;
position: absolute;
margin-left: 1.5em;
bottom: 0.5em;
opacity: 0.5;
-moz-opacity: 0.5; /* css mess (why do it simple, when we can do it complicate!) */
}
#tail {
z-index: 4;
position: absolute;
bottom: 1em;
margin: 1em;
user-select: none;
}
#busy {
vertical-align: middle;
}
#menu, #menu nav a {
transition: all 0.4s;
-o-transition: all 0.4s;
-moz-transition: all 0.4s;
-webkit-transition: all 0.4s;
}
#menu {
background: white;
opacity: 0.8;
-moz-opacity: 0.8;
border-right: 1px solid black;
height: inherit;
width: 250px;
padding-left: 20px;
padding-right: 10px;
position: fixed;
z-index: 5;
font-size: 0.9em;
box-shadow: 4px 0 10px rgba(0,0,0,0.25);
-moz-box-shadow: 4px 0 10px rgba(0,0,0,0.25);
-webkit-box-shadow: 4px 0 10px rgba(0,0,0,0.25);
}
#menu {
left: 0;
}
#menu nav {
position: relative;
top: 50px;
}
#menu nav .navlink {
}
#menu nav .navlink:hover {
}
#menu #examples {
font-size: 0.6em;
}
#menu #examples .newExample {
border-radius: 5px;
background: yellow;
padding-left: 4px;
padding-right: 4px;
}
#menu #examples, #menu #examples a {
margin-top: 0px;
}
#menu .info {
border-spacing: 0;
border-collapse: collapse;
margin-bottom: 0.5em;
}
#menu .info td {
margin: 0px;
padding-left: 2px;
padding-right: 2px;
padding-top: 0px;
padding-bottom: 0px;
font-size: 0.6em;
}
#examples {
/* width: 60em; */
width: auto;
z-index: 12;
position: absolute;
display: none;
background: #f8e8ff;
border: solid 1px #888;
padding: 1em;
border-radius: 5px;
box-shadow: 0px 0px 10px #849;
}
#examples td {
white-space: nowrap;
}
#examples li {
list-style-type: none;
}
#options {
width: auto;
z-index: 12;
position: absolute;
display: none;
background: #f8e8ff;
border: solid 1px #888;
padding: 0.5em;
border-radius: 5px;
box-shadow: 0px 0px 10px #849;
font-size: 0.8em;
}
/* arrows */
.arrow {
width: 0px;
height: 0px;
border: 50px solid transparent;
position: absolute;
z-index: 100;
margin-left: 30px;
margin-top: 30px;
}
.arrow-left {
border-right-color: #666;
margin-left: -90px;
}
.arrow-right {
border-left-color: #666;
margin-left: 150px;
}
.arrow-top {
border-bottom-color: #666;
margin-top: -90px;
}
.arrow-bottom {
border-top-color: #666;
margin-top: 150px;
}
.shift-vertical .arrow-left,
.shift-vertical .arrow-right,
.shift-horizontal .arrow-top,
.shift-horizontal .arrow-bottom {
display: none;
}