aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/directives/user-header-details/user-header-details-directive.less
blob: e432581f3bba58cfb72df1f188533e9286ee529b (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
.w-sdc-header-user-container {
    .b_7;
    width: 400px;
    .flex-fixed(400px);
    padding: 0 23px;
    display: flex;
    justify-content: flex-end;
}

.w-sdc-header-user-icon {
    background: no-repeat url('/assets/styles/images/anonymous.jpg');
    border-radius: 50%;
    height: 47px;
    width: 47px;
    background-size: cover;
    border: solid 2px @color_m;
    .flex-fixed(47px);
}

.w-sdc-header-user-details {
    padding: 4px 4px 4px 14px;
    .vcenter;
}

.w-sdc-header-user-name {
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;

    .bold;
    display: inline-block;
}

.w-sdc-header-user-role {
    .bold;
    display: inline-block;
    margin-left: 6px;

    &:before {
        content: '';
        margin-right: 8px;
        border-left: 1px solid @color_m;
    }
}

.w-sdc-header-user-last-login {
    .font-type._3;
    display: block;
}

.w-sdc-header-logout-icon {
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAAUCAYAAACAl21KAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMDE0IDc5LjE1Njc5NywgMjAxNC8wOC8yMC0wOTo1MzowMiAgICAgICAgIj4gPHJkZjpSREYge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