198 lines
3.8 KiB
CSS
198 lines
3.8 KiB
CSS
|
html, body {
|
||
|
margin: 0px;
|
||
|
padding: 0px;
|
||
|
}
|
||
|
|
||
|
body {
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
#calculator {
|
||
|
height: 100%;
|
||
|
width: 100%;
|
||
|
display: table;
|
||
|
border-collapse: collapse;
|
||
|
background-color: #f8f8f8;
|
||
|
}
|
||
|
|
||
|
#display {
|
||
|
font-family: Courier;
|
||
|
display: table-row;
|
||
|
background-color: white;
|
||
|
}
|
||
|
|
||
|
#display_cell {
|
||
|
display: table-cell;
|
||
|
vertical-align: bottom;
|
||
|
background-image: -webkit-gradient(linear, left top, 15 top, from(#f3f3f3), color-stop(0.9, #f3f3f3), color-stop(0.9, white), to(white));
|
||
|
}
|
||
|
|
||
|
#display_scroll {
|
||
|
overflow: auto;
|
||
|
}
|
||
|
|
||
|
#display_grid {
|
||
|
font-size: 14px;
|
||
|
width: 100%;
|
||
|
}
|
||
|
|
||
|
#display_gutter {
|
||
|
width: 15px;
|
||
|
}
|
||
|
|
||
|
#display_grid .line_number {
|
||
|
font-size: 10px;
|
||
|
vertical-align: top;
|
||
|
font-family: arial;
|
||
|
font-weight:bold;
|
||
|
padding: 10px 0px;
|
||
|
}
|
||
|
|
||
|
#display_grid .expression_editor {
|
||
|
outline-style: none;
|
||
|
font-weight:bold;
|
||
|
font-size: 20px;
|
||
|
word-break: break-all;
|
||
|
}
|
||
|
|
||
|
#display_grid .expression_cell {
|
||
|
padding: 10px 0px;
|
||
|
}
|
||
|
|
||
|
#display_grid .result_cell {
|
||
|
padding: 10px 0px;
|
||
|
text-align: right;
|
||
|
vertical-align: bottom;
|
||
|
}
|
||
|
|
||
|
.result_display {
|
||
|
border-radius: 6px;
|
||
|
-moz-border-radius: 6px;
|
||
|
-webkit-border-radius: 6px;
|
||
|
padding: 0px 7px;
|
||
|
color: #4993d2;
|
||
|
background-color: #e6eef9;
|
||
|
font-family: arial;
|
||
|
font-weight:bold;
|
||
|
font-size: 16px;
|
||
|
}
|
||
|
|
||
|
#divide {
|
||
|
display: table-row;
|
||
|
height: 0.5em;
|
||
|
}
|
||
|
|
||
|
#divide > div {
|
||
|
border-top: 1px solid #d0d0d0;
|
||
|
border-bottom: 1px solid #d0d0d0;
|
||
|
}
|
||
|
|
||
|
#divide button {
|
||
|
border: 1px solid #f8f8f8;
|
||
|
display: block;
|
||
|
margin-right: auto;
|
||
|
margin-left: auto;
|
||
|
text-align: center;
|
||
|
font-size: xx-small;
|
||
|
background-color: #f8f8f8;
|
||
|
color: #909090;
|
||
|
cursor: hand;
|
||
|
}
|
||
|
|
||
|
#divide button:hover {
|
||
|
border: 1px solid #acacac;
|
||
|
border-radius: 6px;
|
||
|
-moz-border-radius: 6px;
|
||
|
-webkit-border-radius: 6px;
|
||
|
background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#d0d0d0));
|
||
|
}
|
||
|
|
||
|
#divide button:active {
|
||
|
background: -webkit-gradient(linear, left top, left bottom, from(#d0d0d0), to(#fafafa));
|
||
|
}
|
||
|
|
||
|
#button_pad {
|
||
|
display: table-row;
|
||
|
height: 130px;
|
||
|
}
|
||
|
|
||
|
#button_pad table {
|
||
|
border-collapse: collapse;
|
||
|
border-spacing: 0px;
|
||
|
margin: 5px auto;
|
||
|
border-style: none;
|
||
|
}
|
||
|
|
||
|
#button_pad table td {
|
||
|
padding: 0px;
|
||
|
}
|
||
|
|
||
|
.pad_button {
|
||
|
border-top: 1px solid #acacac;
|
||
|
border-left: 1px solid #acacac;
|
||
|
border-right: none;
|
||
|
border-bottom: none;
|
||
|
width: 45px;
|
||
|
height: 30px;
|
||
|
background: -webkit-gradient(linear, left top, left bottom, from(#fafafa), to(#d0d0d0));
|
||
|
font-weight: bold;
|
||
|
text-align: center;
|
||
|
cursor: hand;
|
||
|
font-size: small;
|
||
|
}
|
||
|
|
||
|
.round_pad_button {
|
||
|
border-radius: 20px;
|
||
|
-moz-border-radius: 20px;
|
||
|
-webkit-border-radius: 20px;
|
||
|
border: 1px solid #acacac;
|
||
|
width: 30px;
|
||
|
height: 28px;
|
||
|
margin: 1px 3px;
|
||
|
}
|
||
|
|
||
|
#kp_7 {
|
||
|
border-top-left-radius: 10px;
|
||
|
-moz-border-top-left-radius: 10px;
|
||
|
-webkit-border-top-left-radius: 10px;
|
||
|
}
|
||
|
|
||
|
#kp_9 {
|
||
|
border-top-right-radius: 10px;
|
||
|
-moz-border-top-right-radius: 10px;
|
||
|
-webkit-border-top-right-radius: 10px;
|
||
|
}
|
||
|
|
||
|
#kp_3 {
|
||
|
border-bottom-right-radius: 10px;
|
||
|
-moz-border-bottom-right-radius: 10px;
|
||
|
-webkit-border-bottom-right-radius: 10px;
|
||
|
}
|
||
|
|
||
|
#kp_0 {
|
||
|
border-bottom-right-radius: 10px;
|
||
|
border-bottom-left-radius: 10px;
|
||
|
-moz-border-bottom-right-radius: 10px;
|
||
|
-moz-border-bottom-left-radius: 10px;
|
||
|
-webkit-border-bottom-right-radius: 10px;
|
||
|
-webkit-border-bottom-left-radius: 10px;
|
||
|
}
|
||
|
|
||
|
#kp_9, #kp_6, #kp_3, #kp_0 {
|
||
|
border-right: 1px solid #acacac;
|
||
|
}
|
||
|
|
||
|
#kp_0, #kp_2, #kp_3 {
|
||
|
border-bottom: 1px solid #acacac;
|
||
|
}
|
||
|
|
||
|
#kp_eq {
|
||
|
border-bottom: 1px solid #acacac;
|
||
|
width: 40px;
|
||
|
}
|
||
|
|
||
|
.pad_button:active {
|
||
|
background: -webkit-gradient(linear, left top, left bottom, from(#d0d0d0), to(#fafafa));
|
||
|
}
|