summaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/ng2/pages/interface-operation/interface-operation.page.component.less
blob: 435502066eae061b419b8e5899ec3d501d8af9c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
@import '../../../../assets/styles/variables.less';

.interface-operation {
    .add-btn {
        position: relative;
        top: -31px;
        text-transform: uppercase;
        font-size: 14px;
    }

    a:not(.disabled) {
        &:hover {
            cursor: pointer;
        }
    }

    .operation-list {
        border-top: 1px solid @main_color_o;
        padding-top: 25px;

        .operation-row {
            width: 100%;
            border: 1px solid @main_color_o;
            display: flex;
            justify-content: space-between;
            align-items: center;
            height: 100px;

            &:hover {
                border-color: @main_color_c;
                cursor: pointer;
            }

            &:not(:first-child) {
                margin-top: 20px;
            }

            .operation-info-container {
                height: 100%;
                display: flex;
                align-items: center;
                margin-right: 60px;

                .operation-title, .operation-description {
                    display: flex;
                    align-items: center;

                    .operation-text {
                        overflow: hidden;
                        margin-bottom: 0;
                        max-height: 5rem;
                    }
                }

                .operation-title {
                    flex-shrink: 0;
                    width: 200px;
                    height: calc(100% - 13px);
                    border-right: 1px solid @main_color_o;
                    margin: 4px 0;
                    padding: 0 30px;

                    .operation-text {
                        white-space: nowrap;
                        text-overflow: ellipsis;
                    }
                }

                .operation-description {
                    padding-left: 30px;
                    text-align: left;
                    font-family: @font-opensans-regular;

                    .operation-text {
                        word-break: break-word;
                    }
                }
            }

            .operation-dumbo {
                padding-right: 20px;
                display: flex;
                flex-direction: column;
                align-items: left;
            }
        }
    }
}