salix/print/common/css/layout.css

259 lines
3.9 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 {
2020-12-16 08:24:11 +00:00
font-family: Arial, Helvetica, 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;
2019-11-19 09:32:09 +00:00
background-color: #FFF;
2019-11-11 10:04:49 +00:00
min-height: 40px
}
.grid-block.empty {
height: 40px
}
.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;
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;
2020-12-16 08:24:11 +00:00
position: relative;
2019-01-28 11:28:22 +00:00
font-weight: bold;
2020-12-16 08:24:11 +00:00
display: inline-block;
2019-02-04 09:10:57 +00:00
left: 17.5px;
2020-12-16 08:24:11 +00:00
top: 10px;
}
.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
}
2021-07-19 08:16:15 +00:00
.field.wide-rectangle {
white-space: nowrap
}
.field.wide-rectangle span {
display: inline-block;
height: 2em;
width: 100%;
}
.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 {
2020-12-16 08:24:11 +00:00
padding: 10px
}
2019-02-04 09:10:57 +00:00
.column-oriented thead {
2020-12-16 08:24:11 +00:00
display: table-header-group
2019-02-04 09:10:57 +00:00
}
.column-oriented thead tr {
2020-12-16 08:24:11 +00:00
border-top: 1px solid #AFB1B2;
background-color: #BABDBD;
border-bottom: 1px solid #AFB1B2;
}
.column-oriented thead.light tr {
background-color: #FFF;
color: #AFB1B2
}
.column-oriented tfoot {
display: table-row-group;
page-break-inside: avoid;
break-inside: avoid;
}
.column-oriented tbody {
border-bottom: 1px solid #DDD;
}
2019-02-04 09:10:57 +00:00
.column-oriented tfoot tr:first-child td {
2020-12-16 08:24:11 +00:00
border-top: 2px solid #AFB1B2;
2019-02-04 09:10:57 +00:00
padding-top: 20px !important;
}
2019-02-04 09:10:57 +00:00
.column-oriented .description {
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
}