Subversion Repositories Integrator Subversion

Rev

Rev 182 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
179 espaco 1
.invoice {
2
    padding: 2rem;
3
 
4
    .invoice-header {
5
        @include flex();
6
        @include flex-justify-between();
7
    }
8
 
9
    .invoice-company {
10
        .logo-image {
11
            width: 120px;
12
            margin-bottom: .5rem;
13
        }
14
 
15
        div {
16
            margin-bottom: .5rem;
17
        }
18
 
19
        .company-name {
20
            font-weight: 700;
21
            font-size: 1.5rem;
22
        }
23
    }
24
 
25
    .invoice-title {
26
        font-size: 2rem;
27
        margin-bottom: 2rem;
28
        text-align: right;
29
    }
30
 
31
    .invoice-details {
32
        width: 15rem;
33
        @include flex();
34
        @include flex-wrap(wrap);
35
 
36
        > div {
37
            width: 50%;
38
            margin-bottom: .5rem;
39
        }
40
 
41
        .invoice-label {
42
            text-align: left;
43
            font-weight: 700;
44
        }
45
 
46
        .invoice-value {
47
            text-align: right;
48
        }
49
    }
50
 
51
    .invoice-to {
52
        margin-top: 1.5rem;
53
        padding-top: 2rem;
54
        border-top: 1px solid $dividerColor;
55
 
56
        .bill-to {
57
            font-size: 1.25rem;
58
            font-weight: 700;
59
            margin-bottom: .5rem;
60
        }
61
 
62
        .invoice-to-info {
63
            div {
64
                margin-bottom: .5rem;
65
            }
66
        }
67
    }
68
 
69
    .invoice-items {
70
        margin-top: 2rem;
71
        padding-top: 2rem;
72
 
73
        table {
74
            width: 100%;
75
            border-collapse: collapse;
76
 
77
            tr {
78
                border-bottom: 1px solid $dividerColor;
79
            }
80
 
81
            th {
82
                font-weight: 700;
83
            }
84
 
85
            th, td {
86
                padding: 1rem;
87
                text-align: right;
88
            }
89
 
90
            th:first-child, td:first-child {
91
                text-align: left;
92
            }
93
        }
94
    }
95
 
96
    .invoice-summary {
97
        @include flex();
98
        @include flex-justify-between();
99
        margin-top: 2.5rem;
100
        padding-top: 2.5rem;
101
 
102
        .invoice-value {
103
            font-weight: 700;
104
        }
105
    }
106
}
107
 
108
@media print {
109
    .invoice {
110
        padding: 0;
111
        margin: 0;
112
        background: #ffffff;
113
        color: #424242;
114
    }
115
}
116
 
117
 
118