react-cnhf
Version:
Long press event for react. Click and hold wrapper component.
249 lines (213 loc) • 4.12 kB
CSS
html {
overflow-left: hidden;
min-height: 100%;
}
* {
font-family: 'Roboto', sans-serif;
font-size: 1em;
height: 100%;
margin: 0 ;
padding: 0 ;
}
input {
height: auto;
}
li {
list-style: none;
height: auto;
font-size: 24px;
}
.container {
width: 100%;
height: calc(100% - 26px);
}
ul {
padding: 100px ;
overflow: auto;
width: 100%;
}
.middle{
line-height: 100%;
text-align: center;
}
.middleAligned {
max-width: 100%;
position:absolute;
left:50%;
top:50%;
margin:auto ;
height: auto;
transform: translate(-50%,-50%);
-moz-transform: translate(-50%,-50%);
-webkit-transform: translate(-50%,-50%);
}
button {
white-space: nowrap;
color: pink;
height: 100px;
background-color: white;
border-style: solid;
border-radius: 3px;
border-width: 3px;
text-transform: uppercase;
font-weight: bolder;
margin:auto ;
font-size: 2em;
line-height: 100px;
padding: 0px 30px ;
vertical-align: middle;
border-color: pink ;
outline: none;
box-shadow: none ;cursor:pointer;
}
button:focus:active:hover{
cursor: pointer;
border-radius: 3px;
border-width: 3px;
border-color: pink ;
outline: none;
box-shadow: none ;
}
form {
color: #444;
}
/*Radio*/
input[type=number] {
-moz-appearance: textfield;
appearance: textfield;
margin: 0;
}
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
#timeinput {
width: 40px;
outline: none;
border: none;
border-bottom: 3px solid rgba(141, 181, 128, 1);;
color: rgba(141, 181, 128, 1);;
font-family: Roboto;
font-size: 20px;
font-weight: bolder;
text-align: center;
margin-right: 4px ;
}
#timelabel {
text-align: center;
padding-right: 4px ;
color: rgba(141, 181, 128, 1);
font-family: Roboto;
font-size: 20px;
font-weight: bolder;
}
#timeunits {
text-align: center;
padding-left: 4px ;
color: rgba(141, 181, 128, 1);
font-family: Roboto;
font-size: 20px;
font-weight: bolder;
}
#timeinput:hover:,#timeinput:active, #timeinput:focus{
outline: none;
border: none;
}
.left {
float:left;
}
.dot {
vertical-align: middle;
position:relative;
float:right;
cursor: pointer;
width: 20px;
margin: 3px ;
height: 20px;
display: inline-block;
border-radius: 20px;
background-color: pink;
opacity: 0.4;
color:transparent;
-webkit-transition: all 2s; /* Safari */
transition: all 2s;
}
.dot:hover {
border: 4px solid white;
}
.dotselected {
opacity: 1;
}
#code {
}
#css_code {
padding-top: 40px ;
}
.pre {
background-color: #eeeeee;
border-radius: 10px;
padding: 40px ;
padding-top: 60px ;
line-height: 25px;
font-size: 20px;
color:rgba(141, 181, 128, 1);
text-align: left;
width: 60%;
height: auto ;
margin: auto ;
}
}
.alignLeft {
text-align: left;
}
.b {color: pink;}
.g {color: rgba(126, 137, 135, 1);}
.jsx {color: #db7093;}
.com {color: #777;}
h3 {
line-height: 50px;
height:50px;
color: #999;
text-transform: uppercase;
font-size: 2em;
}
#anim {
margin-top: -25px ;
}
.myCol {
text-align: center;
min-height: 100%;
height:auto;
}
@media screen and (max-width: 700px) {
.pre {
width:90%;
}
}
.down {
cursor: pointer;
font-size: 1.3em;
height: 1em;
display:block;
line-height: 1.2em;
color:rgba(126, 137, 135, 0.6);
text-decoration: none ;
}
.down a {
color:rgba(126, 137, 135, 0.6);
text-decoration: none ;
}
.up {
font-size: 1.2em;
display:block;
line-height: 1.2em;
color:rgba(126, 137, 135, 0.6);
text-decoration: none ;
}
h1 {
font-size: 2.6em;
color: pink;
line-height: 50px;
height: auto;
}