Blame view

prestige-vue-4.0.0/src/assets/sass/layout/_main.scss 2.73 KB
5b5ab7e5   함상기   20240409
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
  * {
      box-sizing: border-box;
  }
  
  html {
      height: 100%;
      font-size: $fontSize;
  }
  
  body {
  
      font-family: $fontFamily;
      font-size: $fontSize;
      color: $textColor;
      padding: 0;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      margin: 0;
      min-height: 100%;
  
      @if variable-exists(backgroundImage) {
          background-image: url("../images/layout/#{$backgroundImage}");
          background-size: cover;
          background-repeat: no-repeat;
          background-attachment: fixed;
      }
      @else {
          @include background-gradient-left2right($backgroundLeftColor,$backgroundRightColor);
      }
  
      a {
          text-decoration: none;
          color: $primaryColor;
      }
  }
  
  .layout-mask {
      display: none;
      background-color: $maskBgColor;
      position: fixed;
      z-index: 1000001;
      height: 100%;
      width: 100%;
      left: 0;
      top: 0;
      opacity: 0.9;
      animation-name: fadeinmask;
      animation-duration: $transitionDuration;
      @include opacity(.8);
      cursor: pointer;
  }
  
  .layout-wrapper {
      padding: $bodyPadding;
  
      .layout-content-wrapper {
  		display: flex;
  		flex-direction: column;
  		justify-content: space-between;
  		min-height: calc(100vh - 50px);
      }
  
      .layout-content {
          flex: 1 1 0;
          padding: 2em;
          background: $contentBgColor;
      }
      .layout-menu-tooltip{
          display: none;
      }
      .layout-mask {
          display: none;
      }
  
      &.layout-fullwidth {
          padding: $normalBodyPadding;
  
          .layout-topbar,.layout-menu-container {
              padding: 0 15px;
          }
          .layout-footer {
              padding: 35px 50px;
          }
  
          &.layout-menu-overlay {
              .overlay-menu-button {
                  top: 100px;
              }
          }
      }
  }
  
  @media screen and (max-width: $responsiveLayoutBreakpoint) {
      body {
          .layout-wrapper{
              padding: $mobileBodyPadding;
          }
  
          @if variable-exists(backgroundImage) {
              background: none;
          }
  
          &.blocked-scroll {
              overflow: hidden;
          }
  
          &:not(.exception-body):not(.login-body):before {
              @if variable-exists(backgroundImage) {
                  position: fixed;
                  top: 0;
                  left: 0;
                  height: 100%;
                  width: 100%;
                  z-index: -99999;
                  content: '';
                  background-image: url("../images/layout/#{$backgroundImage}");
                  background-size: cover;
                  background-repeat: no-repeat;
              }
          }
  
          &.layout-fullwidth {
              &.layout-menu-overlay {
                  .layout-actionbar {
                      padding-left: 0;
                  }
              }
          }
      }
  
  }