Skip to content

Instantly share code, notes, and snippets.

@jaisonoh
Created November 4, 2014 16:43
Show Gist options
  • Save jaisonoh/1cf5248e65e499f5d495 to your computer and use it in GitHub Desktop.
Save jaisonoh/1cf5248e65e499f5d495 to your computer and use it in GitHub Desktop.
SmartFaucet_style
@charset "utf-8";
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd,
q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
margin: 0;
padding: 0;
border: 0;
font-size: 100%;
font: inherit;
vertical-align: baseline;
outline: none;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
h1 {
color: #fff;
padding: 3px 5px 3px 5px;
font-size: 12px;
text-align: right;
}
h2 {
color: #fff;
background-color: black;
opacity:0.6;
padding: 4px 5px 3px 20px;
font-size: 12px;
}
#title {
color: white;
padding: 5px 5px 5px 5px;
font-size: 12px;
text-align: right;
background-color: green;
opacity: 0.3;
}
#panel-menu {
position: fixed;
width: 100%;
height: 7%;
background-color: #fff;
top: 0;
}
#menu-button {
position: absolute;
bottom: 0;
margin-left: 0px;
font-size: 12px;
color: #4B4B4B;
width: 6em;
height: 2em;
color: white;
float: left;
background-color: #ededed;
border: 1px solid transparent;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
}
#panel-page {
position: fixed;
width: 100%;
height: 93%;
background-color: #ededed;
bottom: 0;
}
#bath-section {
margin: 0 auto;
margin-top: 3vh;
width: 16em;
height: 1.5em;
background-color: #fff;
border: 1px solid transparent;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#depth {
position: relative;
color: white;
padding: 5px 20px 5px 20px;
font-size: 12px;
text-align: center;
background-color: blue;
opacity: 0.5;
float:left;
}
#degree {
background-color: white;
width: 13.5em;
position: relative;
padding-top: 2px;
font-size: 12px;
text-align: center;
opacity: 0.5;
}
#control-section {
margin: 0 auto;
margin-top: 2vh;
width: 16em;
height: 10em;
background-color: #fff;
border: 1px solid transparent;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#button-section {
height: 1.5em;
margin: 0 auto;
margin-top: 2vh;
width: 16em;
}
#panel-height, #panel-bar, #panel-temp {
position: relative;
margin: 0.7em ;
float:left;
}
#panel-height {
margin-left: 1.2em;
width: 9em;
}
#panel-bar {
width: 3em;
height: 5.5em;
}
#degree, #height, #bar1, #bar2, #cold, #hot, #start {
position: relative;
z-index: 5;
font-size: 12px;
border: 1px solid transparent;
box-sizing: border-box;
-moz-box-sizing: border-box;
outline: none;
}
#height:hover {
background-color: blue;
opacity:0.5;
}
.height {
color: transparent;
height: 1.7em;
background-color: #ededed;
opacity: 0.5;
width: 100%;
float: bottom;
}
.height-bottom {
color: transparent;
height: 1.6em;
background-color: #ededed;
opacity: 0.5;
width: 100%;
float: bottom;
border-bottom-left-radius: 20px;
border-bottom-right-radius: 20px;
}
#bar1, #bar2 {
opacity: 0.5;
color: white;
position: absolute;
width: 4em;
height: 7.2em;
position: right;
float: bottom;
}
#bar2 {
position: relative;
background-color: blue;
z-index: 5;
}
#bar1 {
height: 5.1em;
z-index: 6;
}
#caption1, #caption2, #caption3 {
color: white;
padding: 2px 2px 2px 2px;
font-size: 12px;
background-color: blue;
opacity: 0.3;
text-align: center;
position: relative;
}
#caption1 {
margin-left: 1.4em;
}
#caption2 {
margin-left: 1em;
}
#caption3 {
background-color: red;
margin-left: 0.6em;
}
#color {
margin: 1.2em 0em 0.3em 0.45em;
width: 13.35em;
height: 1.5em;
}
#cold, #hot {
margin-left: 7px;
margin-right: 10px;
height: 2.5em;
width: 3em;
color: transparent;
}
#cold {
border-top-left-radius: 20px;
border-bottom-left-radius: 20px;
}
#cold:hover {
background-color: blue;
opacity: 0.5;
}
#hot {
border-top-right-radius: 20px;
border-bottom-right-radius: 20px;
}
#hot:hover {
background-color: red;
opacity: 0.5;
}
.start {
background-color: #fff;
width: 100%;
margin: 0 auto;
margin-top: 4px;
padding: 5px 20px 5px 20px;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
#start:hover {
color: #fff;
background-color: blue;
opacity:0.5;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment