salix/print/common/css/layout.css

255 lines
3.7 KiB
CSS
Raw Normal View History

2019-10-29 06:46:44 +00:00
/**
* CSS layout elements
*
*/
2019-11-11 10:04:49 +00:00
.grid {
font-family: Helvetica, Arial, sans-serif;
font-size: 16px !important;
2019-11-11 10:04:49 +00:00
width: 100%
}
.grid-row {
background-color: transparent
}
.grid-block {
box-sizing: border-box;
min-height: 40px
}
.grid-block.empty {
height: 40px
}
.grid-block.white {
background-color: #FFF
2019-01-25 14:08:11 +00:00
}
.columns {
2019-11-11 10:04:49 +00:00
overflow: hidden;
box-sizing: border-box;
}
.columns .size100 {
width: 100%;
float: left
}
.columns .size75 {
width: 75%;
float: left
}
.columns .size50 {
2019-11-11 10:04:49 +00:00
box-sizing: border-box;
width: 50%;
float: left
}
.columns .size33 {
width: 33.33%;
float: left
}
.columns .size25 {
width: 25%;
float: left
}
2019-02-04 09:10:57 +00:00
.clearfix {
overflow: hidden;
display: block;
clear: both
}
2019-01-25 14:08:11 +00:00
.panel {
position: relative;
margin-bottom: 15px;
padding-top: 10px;
break-inside: avoid;
break-before: always;
break-after: always;
2019-01-25 14:08:11 +00:00
}
.panel .header {
2019-01-28 11:28:22 +00:00
background-color: #FFF;
padding: 2.5px 10px;
2019-02-04 09:10:57 +00:00
position: absolute;
2019-01-28 11:28:22 +00:00
font-weight: bold;
top: 0px;
2019-02-04 09:10:57 +00:00
left: 17.5px;
}
.panel .body {
border: 1px solid #CCC;
overflow: hidden;
padding: 20px
}
.panel .body h3 {
margin-top: 0
2019-01-25 14:08:11 +00:00
}
.panel.dark .header {
border: 1px solid #808080;
background-color: #FFF;
}
.panel.dark .body {
border: 1px solid #808080;
background-color: #c0c0c0
}
.field {
2019-02-04 09:10:57 +00:00
border-bottom: 1px solid #CCC;
border-left: 1px solid #CCC;
border-top: 1px solid #CCC;
2019-02-04 09:10:57 +00:00
float: left
}
.field span {
border-right: 1px solid #CCC;
2019-02-04 09:10:57 +00:00
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
display: table-cell;
vertical-align: middle;
text-align: center;
2019-02-04 09:10:57 +00:00
font-weight: bold
}
2019-02-04 09:10:57 +00:00
.field.square span {
height: 35.4px;
width: 35.4px
}
2019-05-07 11:40:31 +00:00
.emptyField {
2019-05-09 06:43:28 +00:00
border-bottom: 1px dotted grey;
min-height: 1em;
display: block
2019-05-07 11:40:31 +00:00
}
2019-04-15 12:34:33 +00:00
.field.rectangle span {
height: 2em;
width: 8em
}
.pull-left {
float: left !important
}
.pull-right {
float: right !important
}
2019-02-04 09:10:57 +00:00
.vertical-text {
-moz-transform: rotate(90deg);
-webkit-transform: rotate(90deg);
transform: rotate(90deg);
position: absolute;
text-align: center;
font-size: .65em;
2019-02-04 09:10:57 +00:00
right: -108px;
width: 200px;
top: 50%
}
2019-02-04 09:10:57 +00:00
table {
border-collapse: collapse;
2019-02-04 09:10:57 +00:00
border-spacing: 0;
}
2019-02-04 09:10:57 +00:00
.row-oriented, .column-oriented {
text-align: left;
width: 100%
}
.column-oriented {
margin-bottom: 15px
2019-02-04 09:10:57 +00:00
}
.column-oriented td,
.column-oriented th {
2019-02-04 09:10:57 +00:00
padding: 5px 10px
}
2019-02-04 09:10:57 +00:00
.column-oriented thead {
background-color: #e5e5e5
2019-02-04 09:10:57 +00:00
}
.column-oriented thead tr {
border-bottom: 1px solid #808080;
border-top: 1px solid #808080;
background-color: #e5e5e5
}
.column-oriented tfoot {
border-top: 2px solid #808080;
}
2019-02-04 09:10:57 +00:00
.column-oriented tfoot tr:first-child td {
padding-top: 20px !important;
}
2019-02-04 09:10:57 +00:00
.column-oriented .description {
border-bottom: 1px solid #DDD;
font-size: 0.8em
}
2019-02-04 09:10:57 +00:00
.panel .row-oriented td, .panel .row-oriented th {
2019-11-11 10:04:49 +00:00
padding: 8px 10px
}
2019-02-04 09:10:57 +00:00
.row-oriented > tbody > tr > td {
width: 30%
}
2019-02-04 09:10:57 +00:00
.row-oriented > tbody > tr > th {
padding-left: 30px;
width: 70%
}
.row-oriented .description {
padding: 0 !important;
font-size: 0.6em;
color: #888
}
.line {
border-bottom: 1px solid #DDD;
border-right: 1px solid #DDD;
border-left: 1px solid #DDD;
2019-05-07 11:40:31 +00:00
position: relative;
margin-left: -1px;
margin-right: 1px;
margin-top: 10px;
2019-11-11 10:04:49 +00:00
padding: 5px 0;
color: #999;
2019-05-07 11:40:31 +00:00
}
.line .vertical-aligned {
position: absolute;
text-align: center;
width: 100%;
}
.line span {
background-color: #FFF;
2019-05-07 11:40:31 +00:00
padding: 5px
}
.signature {
2019-05-09 06:43:28 +00:00
width: 100%
}
2019-05-07 11:40:31 +00:00
2019-05-09 06:43:28 +00:00
.signature section {
height: 150px
2019-05-07 11:40:31 +00:00
}
2019-05-09 06:43:28 +00:00
.signature p {
margin-right: 50%;
margin-top: 140px
2019-05-07 11:40:31 +00:00
}