forked from gzzfw/frontEnd/gzDyh

dminyi
2024-09-03 c7835eac66cc4a322dd71a79610f5f4f351f304b
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
@import '../../styles/theme.less';
 
.sop {
    background-color: #ffffff;
    box-shadow: -2px 0 8px 2px rgb(31 35 41 / 2%), -2px 0 4px rgb(31 35 41 / 2%), -1px 0 2px -2px rgb(31 35 41 / 2%);
    cursor: default;
    flex-shrink: 0;
    height: 100%;
    position: relative;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 420px;
    word-break: break-word;
    border-left: 1px solid @divider-color;
    display: flex;
    flex-direction: column;
 
    &-close {
        font-size: 16px;
        cursor: pointer;
 
        &:hover {
            color: @main-color;
        }
    }
 
    &-main {
        flex: 1;
        padding: 24px;
        overflow-x: hidden;
        overflow-y: auto;
 
        &-tagBox {
            margin-bottom: 22px;
        }
 
        &-tag {
            background-color: rgba(31, 35, 41, 0.08);
            border-radius: 20px;
            color: #373c43;
            cursor: pointer;
            font-size: 14px;
            line-height: 22px;
            padding: 1px 8px;
 
            &-active {
                color: #ffffff;
                background-color: @main-color;
            }
        }
 
        &-item {
            background-color: #f5f6f7;
            border-radius: 6px;
            padding: 16px 24px 16px 46px;
            position: relative;
            margin-top: 12px;
 
            &-header {
                color: #1f2329;
                font-size: 14px;
                font-weight: 600;
                line-height: 24px;
            }
 
            &-num {
                align-items: center;
                border-radius: 32px;
                cursor: default;
                display: inline-flex;
                justify-content: center;
                position: relative;
                -webkit-user-select: none;
                -ms-user-select: none;
                user-select: none;
                white-space: nowrap;
            }
 
            &-headerNum {
                left: 12px;
                position: absolute;
                top: 21px;
                height: 15px;
                line-height: 15px;
                max-width: 31px;
                min-width: 24px;
                background-color: @main-color;
                color: #fff;
                flex-shrink: 0;
                font-weight: 600;
                padding-left: 4px;
                padding-right: 4px;
            }
 
            &-kr {
                color: #1f2329;
                font-size: 14px;
                line-height: 22px;
                margin-top: 14px;
                position: relative;
            }
 
            &-krNum {
                width: 24px;
                background-color: @main-color-2;
                left: -34px;
                position: absolute;
                top: 4px;
                height: 14px;
                line-height: 14px;
                min-width: 24px;
                color: @main-color;
                flex-shrink: 0;
                font-weight: 600;
                padding-left: 4px;
                padding-right: 4px;
                font-size: 12px;
            }
        }
 
        &-annotatedWord {
            border-bottom: 1px dashed #8f959e;
            padding-bottom: 2px;
 
            &:hover {
                color: @main-color;
                border-color: @main-color;
            }
 
            &-analysis {
                color: #52c41a;
            }
        }
    }
}