123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223 |
- /* home */
- .home-body {
- padding-top: 60px;
- }
- /* home-header */
- .home-header {
- position: fixed;
- width: 100%;
- padding: 10px 0;
- height: 60px;
- top: 0;
- left: 0;
- z-index: 99;
- color: #fff;
- line-height: 40px;
- background: #4f63db;
- }
- .head-logo {
- width: 240px;
- float: left;
- color: #fff;
- height: 60px;
- margin-top: -10px;
- padding: 10px 20px;
- font-size: 20px;
- text-align: left;
- transition: width 0.2s ease;
- .icon {
- margin-right: 12px;
- margin-top: -2px;
- cursor: pointer;
- }
- img {
- display: block;
- margin: 0 auto;
- width: 160px;
- height: 40px;
- }
- &-tiny {
- width: 60px;
- padding: 10px;
- font-size: 18px;
- overflow: hidden;
- img {
- width: 40px;
- height: 40px;
- }
- }
- }
- .head-switch {
- float: left;
- padding: 5px 25px 5px 15px;
- height: 40px;
- line-height: 30px;
- cursor: pointer;
- &:hover {
- color: $--color-primary;
- }
- i {
- vertical-align: middle;
- font-size: 20px;
- }
- }
- .rotate-icon {
- transform: rotate(-90deg);
- }
- .head-info {
- float: left;
- padding: 13px 0;
- height: 40px;
- }
- .head-user {
- padding-right: 20px;
- float: right;
- height: 40px;
- line-height: 40px;
- position: relative;
- color: $--color-text-regular;
- cursor: pointer;
- }
- .user-avatar {
- display: inline-block;
- vertical-align: top;
- }
- .user-help {
- display: inline-block;
- vertical-align: top;
- color: #fff;
- font-size: 20px;
- .icon {
- margin-right: 12px;
- margin-top: -2px;
- }
- }
- .user-name {
- display: inline-block;
- vertical-align: top;
- margin-left: 10px;
- min-width: 60px;
- max-width: 120px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- font-weight: 600;
- }
- .user-logout {
- display: inline-block;
- vertical-align: top;
- margin-left: 10px;
- font-size: 20px;
- cursor: pointer;
- i {
- vertical-align: middle;
- margin-top: -3px;
- }
- &:hover {
- color: $--color-danger;
- }
- }
- /* home-footer */
- .home-footer {
- position: relative;
- width: 100%;
- height: 60px;
- bottom: 0;
- left: 0;
- z-index: auto;
- padding: 20px 0;
- line-height: 20px;
- color: $--color-text-secondary;
- text-align: center;
- font-size: 13px;
- a {
- color: $--color-text-secondary;
- &:hover {
- color: $--color-text-primary;
- }
- }
- }
- /* part */
- .part-box {
- box-shadow: 0 0 2px 1px #e9e9e9;
- padding: 20px 30px;
- margin-bottom: 15px;
- background-color: #fff;
- .ivu-form-item-label {
- text-align: right;
- }
- .part-title {
- font-size: 16px;
- margin-bottom: 15px;
- height: 32px;
- line-height: 32px;
- }
- .part-title h2 {
- float: left;
- font-weight: 600;
- }
- .part-title-infos {
- float: right;
- > .ivu-btn:not(:first-child) {
- margin-left: 5px;
- }
- }
- .part-page {
- margin-top: 15px;
- text-align: right;
- }
- .part-filter {
- border-bottom: 1px dashed #e0e0e0;
- margin-bottom: 20px;
- }
- .part-none {
- padding: 100px;
- font-size: 20px;
- color: $--color-text-secondary;
- text-align: center;
- }
- }
- /* table */
- .table {
- width: 100%;
- border-spacing: 0;
- border-collapse: collapse;
- text-align: center;
- margin-bottom: 30px;
- th {
- padding: 10px;
- line-height: 20px;
- letter-spacing: 1px;
- border: 1px solid $--border-color-light;
- }
- td {
- padding: 10px;
- line-height: 20px;
- border: 1px solid $--border-color-light;
- }
- .td-th {
- font-weight: 600;
- color: $--color-text-primary;
- }
- &.table-white {
- background-color: #fff;
- }
- }
- // other
- .tips-info {
- font-size: 14px;
- height: 25px;
- line-height: 25px;
- color: $--color-text-secondary;
- }
- .tips-error {
- color: $--color-danger;
- }
|