summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/components/_selectActionTable.scss
blob: 90b45a5a49d66a831eeff6446987c3f9d6c162e3 (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
89
90
91
92
93
94

@media only all and (prefers-color-scheme: dark) {
.highlight .hll { background-color: #49483e }
.highlight .c { color: #75715e } /* Comment */
.highlight .err { color: #960050; background-color: #1e0010 } /* Error */
.highlight .k { color: #66d9ef } /* Keyword */
.highlight .l { color: #ae81ff } /* Literal */
.highlight .n { color: #f8f8f2 } /* Name */
.highlight .o { color: #f92672 } /* Operator */
.highlight .p { color: #f8f8f2 } /* Punctuation */
.highlight .ch { color: #75715e } /* Comment.Hashbang */
.highlight .cm { color: #75715e } /* Comment.Multiline */
.highlight .cp { color: #75715e } /* Comment.Preproc */
.highlight .cpf { color: #75715e } /* Comment.PreprocFile */
.highlight .c1 { color: #75715e } /* Comment.Single */
.highlight .cs { color: #75715e } /* Comment.Special */
.highlight .gd { color: #f92672 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .gi { color: #a6e22e } /* Generic.Inserted */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #75715e } /* Generic.Subheading */
.highlight .kc { color: #66d9ef } /* Keyword.Constant */
.highlight .kd { color: #66d9ef } /* Keyword.Declaration */
.highlight .kn { color: #f92672 } /* Keyword.Namespace */
.highlight .kp { color: #66d9ef } /* Keyword.Pseudo */
.highlight .kr { color: #66d9ef } /* Keyword.Reserved */
.highlight .kt { color: #66d9ef } /* Keyword.Type */
.highlight .ld { color: #e6db74 } /* Literal.Date */
.highlight .m { color: #ae81ff } /* Literal.Number */
.highlight .s { color: #e6db74 } /* Literal.String */
.highlight .na { color: #a6e22e } /* Name.Attribute */
.highlight .nb { color: #f8f8f2 } /* Name.Builtin */
.highlight .nc { color: #a6e22e } /* Name.Class */
.highlight .no { c
.select-action-table-view {
    .svg-icon-wrapper {
        flex-direction: row;
        .svg-icon {
            &:not(.__plus) {
                margin-left: 5px;
                margin-right: 5px;
                width: 16px;
                height: 16px;
            }
        }
    }
    .dummy-icon {
        background-color: $white;
        fill: $white;
        .locked {
            fill: $white;
        }
    }

    .select-action-table-controllers {
        display: flex;
        .svg-icon-wrapper {
            &:hover {
                cursor: pointer;
            }
            &:first-child {
                margin-left: auto;
            }
        }
    }
    .select-action-table {
        display: flex;
        flex-direction: column;
        border-color: $light-gray;

        .select-action-table-headers {
            display: flex;
            background-color: $tlv-light-gray;
            border-color: inherit;
            .select-action-table-header {
                @extend .body-1-semibold;
                flex: 1;
                border-top: 1px solid;
                border-right: 1px solid;
                border-color: inherit;
                padding: 8px 0 7px 20px;
                &:first-child {
                    border-left: 1px solid;
                    border-color: inherit;
                }
            }
        }
        .select-action-table-row-wrapper {
            display: flex;
            flex-direction: row;
            margin-bottom: 14px;
            .svg-icon-wrapper.hideDelete {
                .svg-icon {
                    fill: $white;
                }
            }
            .select-action-table-row {
                display: flex;
                flex: 1;
                border: 1px solid;
                border-color: $light-gray;
                &.has-error {
                    border-color: $red;
                }

                .select-action-table-cell {
                    flex: 1;
                    border-right: 1px solid;
                    border-color: $light-gray;
                    @extend .body-1;
                    .dropdown-multi-select {
                        .form-group {
                            .Select {
                                &.is-open {
                                    border: 1px solid $blue;
                                }
                            }
                        }
                    }
                    .form-group {
                        margin: 0;
                        .Select-control {
                            height: 36px;
                            border: none;
                            .is-open {
                                border-left-color: $blue;
                                border-right-color: $blue;
                            }
                            .Select-value,
                            .Select-placeholder,
                            .Select-input {
                                padding-left: 20px;
                                padding-right: 50px;
                                padding-top: 4px;
                            }
                            .Select-placeholder {
                                color: $dark-gray;
                            }
                            .Select-arrow-zone {
                                padding-right: 15px;
                            }
                        }
                    }
                    &:last-child {
                        border-right: none;
                    }
                }
                .Select-menu-outer {
                    border-left: 1px solid $blue;
                    border-right: 1px solid $blue;
                    border-bottom: 1px solid $blue;
                    overflow: auto;
                    .Select-menu {
                        .Select-option {
                            overflow: hidden;
                            text-overflow: ellipsis;
                            border-bottom: 1px solid $light-gray;
                            &:hover {
                                background-color: $blue;
                                color: $white;
                                &.is-focused {
                                    background-color: $blue;
                                }
                                &.is-focused {
                                    background-color: $blue;
                                }
                            }
                            &.is-selected {
                                background-color: transparent;
                            }
                            &.is-focused {
                                background-color: transparent;
                            }
                        }
                    }
                }
            }
        }
    }
}