Project

General

Profile

1
@import 'src/styles';
2

    
3
.session-timer,
4
.user-hello {
5
  font-size: 0.85em;
6
  margin: 0 auto;
7
  text-align: center;
8
  padding: 0.75em 0.25em;
9
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
10
}
11

    
12
:host ::ng-deep .p-component {
13
  font-weight: 600;
14

    
15
  &.p-menu {
16
    padding: 0;
17
    color: $black;
18
    border: none;
19
    width: 100%;
20

    
21
    .p-menuitem {
22
      text-align: left;
23

    
24
      &:first-child {
25
        margin-top: 5px;
26

    
27
        .p-menuitem-link {
28
          border-top: unset;
29
        }
30
      }
31

    
32
      &:last-child {
33
        margin-bottom: 5px;
34
      }
35

    
36
      .p-menuitem-link {
37
        padding: 15px;
38
        display: block;
39
        background: $light-grey;
40
        transition: 0.2s;
41
        border-top: 1px solid $black;
42

    
43
        &.p-menuitem-link-active {
44
          background: $orange;
45

    
46
          .p-menuitem-text {
47
            color: $white;
48
          }
49

    
50
          .p-menuitem-icon {
51
            color: $white;
52
          }
53

    
54
          &:hover {
55
            background: $orange;
56

    
57
            .p-menuitem-text {
58
              color: $white;
59
            }
60

    
61
            .p-menuitem-icon {
62
              color: $white;
63
            }
64
          }
65
        }
66

    
67
        &:hover {
68
          background: $black;
69

    
70
          .p-menuitem-text {
71
            color: $white;
72
          }
73

    
74
          .p-menuitem-icon {
75
            color: $white;
76
          }
77
        }
78

    
79
        &:focus {
80
          box-shadow: none;
81
        }
82

    
83
        .p-menuitem-text {
84
          color: $black;
85
          transition: 0.2s;
86
        }
87

    
88
        .p-menuitem-icon {
89
          color: $black;
90
          font-size: 1em;
91
          margin-right: 15px;
92
          transition: 0.2s;
93
        }
94
      }
95
    }
96
  }
97
}
(2-2/4)