Skip to content

Commit

Permalink
Merge pull request #28 from AnalyticalGraphicsInc/new-boxes
Browse files Browse the repository at this point in the history
WebGL 2 tab and pipeline
  • Loading branch information
pjcozzi committed Feb 25, 2015
2 parents 6a1639c + 5c1e0cd commit a9c5025
Show file tree
Hide file tree
Showing 3 changed files with 418 additions and 59 deletions.
160 changes: 148 additions & 12 deletions black.css
Expand Up @@ -20,6 +20,7 @@ h1 {

body {
font-family: arial, Sans-Serif;
font-size: 16px;
color: white;
background-image: url(images/mtimoon_fromSTK_3d.jpg);
background-position: right top;
Expand All @@ -34,19 +35,79 @@ body {
text-align: center;
}

img {
display: block;
.main-output {
position: relative;
margin-left: auto;
margin-right: auto;
width: 700px;
text-align: center;
}

table.report {
.main-left-column {
width: 190px;
}

.webglVersionTabs {
text-align: left;
padding-left: 4px;
font-size: 20px;
}

.webglVersionTabs a,
.webglVersionTabs a:visited {
display: inline-block;
background-color: #ddd;
padding: 5px 10px;
border-top-left-radius: 5px;
border-top-right-radius: 5px;
vertical-align: bottom;
color: #218bb0;
}

.webglVersionTabs a.active,
.webglVersionTabs a.active:visited {
background-color: #00A900;
color: #FFF;
padding: 8px 15px;
}

.warn .webglVersionTabs a.active,
.warn .webglVersionTabs a.active:visited {
background-color: #A90000;
color: #FFF;
}

.header {
background: #00A900;
overflow: hidden;
margin-bottom: 8px;
padding: 0 5px;
}

.warn .header {
background: #A90000;
}

.header a,
.header a:visited,
.warn .header a,
.warn .header a:visited {
color: #42CEFF;
}

img {
display: block;
margin-left: auto;
margin-right: auto;
width: 700px;
text-align: center;
}

.report {
position: relative;
width: 100%;
color: black;
font-size: 9pt;
box-sizing: border-box;
font-size: 12px;
text-align: left;
border-style: ridge;
border-width: 3px;
Expand All @@ -55,6 +116,10 @@ table.report {
background-color: #FFFFFF;
}

.report > table {
width: 700px;
}

td, th {
text-align: left;
vertical-align: top;
Expand All @@ -65,19 +130,29 @@ th {
}

.pipeline {
width: 600px;
width: 660px;
height: 660px;
color: white;
position: relative;
}

.webgl2 .pipeline {
height: 730px;
}

.pipeline table {
width: 100%;
}

.pipeline .vertexShader, .pipeline .rasterizer, .pipeline .fragmentShader, .pipeline .framebuffer, .pipeline .textures {
.pipeline .vertexShader,
.pipeline .transformFeedback,
.pipeline .rasterizer,
.pipeline .fragmentShader,
.pipeline .framebuffer,
.pipeline .textures,
.pipeline .uniformBuffers {
position: absolute;
width: 245px;
width: 265px;
}

.pipeline h1 {
Expand All @@ -90,24 +165,60 @@ th {
left: 5px;
}

.pipeline .transformFeedback {
top: 10px;
left: 360px;
}

.pipeline .rasterizer {
top: 220px;
left: 5px;
}

.webgl2 .pipeline .rasterizer {
top: 320px;
}

.pipeline .fragmentShader {
top: 350px;
top: 335px;
left: 5px;
}

.webgl2 .pipeline .fragmentShader {
top: 435px;
}

.pipeline .framebuffer {
top: 520px;
left: 5px;
}

.webgl2 .pipeline .framebuffer {
top: 550px;
left: 360px;
}

.pipeline .textures {
top: 200px;
left: 330px;
top: 140px;
left: 360px;
}

.webgl2 .pipeline .textures {
top: 150px;
}

.pipeline .uniformBuffers {
top: 300px;
left: 360px;
}

.webgl2 .pipeline .uniformBuffers {
top: 345px;
}

.pipeline a,
.pipeline a:visited {
color: #fff;
}

a.extension {
Expand All @@ -116,4 +227,29 @@ a.extension {

a.unsupported {
color: rgb(200, 200, 200);
}
}

.comingSoon {
text-align: center;
padding: 10px;
}

@media only screen and (min-width:1470px) {
.main-output {
width: 1365px;
}
.report {
min-height: 680px;
}
.webgl2 .report {
min-height: 750px;
}
.warn .report {
min-height: 0;
}
.pipeline {
position: absolute;
top: 5px;
right: 0;
}
}

0 comments on commit a9c5025

Please sign in to comment.