mirror of
https://github.com/OCA/contract.git
synced 2025-02-13 17:57:24 +02:00
[IMP] contract: Add contract modification + contract: Add fields to contract page in portal
This commit is contained in:
committed by
Pedro M. Baeza
parent
a3275a71f0
commit
632ef42207
70
contract/static/src/scss/frontend.scss
Normal file
70
contract/static/src/scss/frontend.scss
Normal file
@@ -0,0 +1,70 @@
|
||||
/* https://github.com/odoo/odoo/blob/14.0/addons/website/static/src/snippets/s_timeline/000.scss */
|
||||
.s_timeline {
|
||||
.s_timeline_line {
|
||||
position: relative;
|
||||
&:before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
top: 0px;
|
||||
bottom: 0px;
|
||||
left: 50%;
|
||||
background-color: gray("800");
|
||||
}
|
||||
}
|
||||
.s_timeline_row {
|
||||
align-items: center;
|
||||
.s_timeline_content {
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
width: 100%;
|
||||
~ .s_timeline_content {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
&.flex-row-reverse {
|
||||
.s_timeline_content {
|
||||
flex-direction: row-reverse;
|
||||
}
|
||||
}
|
||||
@include media-breakpoint-up(md) {
|
||||
&.flex-row-reverse {
|
||||
.s_timeline_content {
|
||||
flex-direction: row-reverse;
|
||||
&:not(:last-child) {
|
||||
margin-left: 10%;
|
||||
}
|
||||
}
|
||||
}
|
||||
&:not(.flex-row-reverse) {
|
||||
.s_timeline_content:last-child {
|
||||
margin-left: 10%;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
.s_timeline_date {
|
||||
@include media-breakpoint-up(md) {
|
||||
position: absolute;
|
||||
left: 0%;
|
||||
right: 0%;
|
||||
}
|
||||
@include media-breakpoint-down(sm) {
|
||||
position: relative;
|
||||
margin: 20px 0px;
|
||||
}
|
||||
span:not(.fa) {
|
||||
display: inline-block;
|
||||
padding: 5px;
|
||||
}
|
||||
.fa {
|
||||
margin: 0 $grid-gutter-width/2;
|
||||
}
|
||||
text-align: center;
|
||||
}
|
||||
.s_timeline_icon {
|
||||
flex: 0 0 auto;
|
||||
margin: $grid-gutter-width/2;
|
||||
z-index: 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user