all property
String
get
all
Getter for all css style pre-define
Implementation
static String get all {
return '''
<style>
body,
p {
margin: 0px;
padding: 0px;
font-family: helvetica;
}
body {
background: #eee;
width: 100%;
font-size: 1.8em
}
.receipt {
width: 576px;
margin: auto;
background: white;
}
.container {
}
hr {
border-top: 4px dashed black;
}
.text-center {
text-align: center;
}
.text-left {
text-align: left;
}
.text-right {
text-align: right;
}
.text-justify {
text-align: justify;
}
.right {
float: right;
}
.left {
float: left;
}
span {
color: black;
font-family: helvetica;
}
.full-width {
width: 100%;
}
.inline-block {
display: inline-block;
}
.text-extra-large {
font-size: 2.2em;
}
.text-large {
font-size: 1.6em;
}
.text-medium {
font-size: 1.2em;
}
.text-small {
font-size: 0.8em;
}
table {
border-collapse: collapse;
}
table td, table td * {
vertical-align: top;
}
td {
margin: 8px 0;
padding: 8px 0;
}
tr {
margin: 8px 0;
padding: 8px 0;
}
.text-ellipsis
{
max-width: 100px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
</style>
''';
}