123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349 |
- /* home */
- .home {
- position: absolute;
- width: 100%;
- height: 100%;
- z-index: auto;
- min-width: 1200px;
- }
- .home-body {
- position: absolute;
- left: 0;
- top: 61px;
- right: 0;
- bottom: 0;
- overflow: auto;
- background: $--color-background;
- z-index: 98;
- }
- .home-main {
- position: relative;
- padding: 20px 20px 60px 260px;
- min-height: 100%;
- transition: padding-left 0.2s ease;
- min-width: 1366px;
- }
- .home-body-big .home-main {
- padding-left: 80px;
- }
- /* view-footer */
- .home-footer {
- position: absolute;
- 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;
- }
- .home-footer a {
- color: $--color-text-secondary;
- }
- .home-footer a:hover {
- color: $--color-text-primary;
- }
- /* navs */
- .home-navs {
- position: absolute;
- width: 240px;
- top: 60px;
- left: 0;
- bottom: 0;
- z-index: 99;
- overflow: auto;
- background: #fff;
- padding: 15px 0;
- text-align: left;
- transition: width 0.2s ease;
- border-right: 1px solid #e9e9e9;
- }
- .nav-item {
- overflow: hidden;
- }
- .nav-item-main {
- padding: 15px 35px 15px 45px;
- line-height: 20px;
- min-height: 50px;
- position: relative;
- cursor: pointer;
- font-weight: 600;
- }
- .nav-item-main-act,
- .nav-item-main-act .nav-item-icon-right {
- color: $--color-primary;
- }
- .nav-item-main:hover {
- color: $--color-primary;
- }
- .nav-item-icon {
- display: block;
- position: absolute;
- width: 20px;
- height: 20px;
- top: 14px;
- text-align: center;
- }
- .nav-item-icon-left {
- left: 15px;
- font-size: 18px;
- transition: all 0.2s ease;
- }
- .nav-item-icon-right {
- right: 10px;
- color: $--color-text-secondary;
- }
- .nav-item-sublist {
- overflow: hidden;
- transition: height 0.2s linear;
- }
- .nav-sublist-hide {
- height: 0 !important;
- }
- .nav-item-sub {
- line-height: 20px;
- padding: 10px 5px 10px 45px;
- border-right: 2px solid transparent;
- cursor: pointer;
- position: relative;
- }
- .nav-item-sub:hover {
- color: $--color-primary;
- }
- .nav-item-sub-act {
- background-color: mix(#ffffff, $--color-primary, 90%);
- color: $--color-primary !important;
- border-color: $--color-primary;
- }
- /* tiny */
- .home-navs-tiny {
- width: 60px;
- overflow: visible;
- }
- .home-navs-tiny .nav-item-main {
- padding: 10px;
- }
- .home-navs-tiny .nav-item-cont,
- .home-navs-tiny .nav-item-sublist,
- .home-navs-tiny .nav-item-icon-right {
- display: none;
- }
- .home-navs-tiny .nav-item-icon-left {
- left: 17px;
- font-size: 24px;
- }
- /* head */
- .home-header {
- position: absolute;
- width: 100%;
- padding: 10px 0;
- height: 60px;
- top: 0;
- left: 0;
- z-index: 100;
- background: #fff;
- box-shadow: 0 0 1px 0 $--border-color-light;
- line-height: 40px;
- }
- .head-logo {
- width: 240px;
- float: left;
- color: $--color-primary;
- height: 60px;
- margin-top: -10px;
- padding: 10px 20px;
- font-size: 20px;
- text-align: center;
- transition: width 0.2s ease;
- }
- .head-logo img {
- display: block;
- margin: 0 auto;
- width: 160px;
- height: 40px;
- }
- .head-logo-tiny {
- width: 60px;
- padding: 10px;
- font-size: 18px;
- overflow: hidden;
- }
- .head-logo-tiny img {
- width: 40px;
- height: 40px;
- }
- .head-switch {
- float: left;
- padding: 5px 25px 5px 15px;
- height: 40px;
- line-height: 30px;
- cursor: pointer;
- }
- .head-switch:hover {
- color: $--color-primary;
- }
- .head-switch 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-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;
- }
- .user-logout i {
- vertical-align: middle;
- margin-top: -3px;
- }
- .user-logout:hover {
- color: $--color-danger;
- }
- /* 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;
- }
- .table th {
- padding: 10px;
- line-height: 20px;
- letter-spacing: 1px;
- border: 1px solid $--border-color-light;
- }
- .table td {
- padding: 10px;
- line-height: 20px;
- border: 1px solid $--border-color-light;
- }
- .table .td-th {
- font-weight: 600;
- color: $--color-text-primary;
- }
- /* list */
- .list-lr-right {
- float: right;
- width: 300px;
- }
- .list-lr-left {
- margin-right: 320px;
- }
- /* user reset */
- h3.account-title {
- text-align: center;
- font-weight: 600;
- }
- .account-form {
- width: 60%;
- min-width: 600px;
- margin: 50px auto;
- }
- .vlcode {
- height: 36px;
- }
- .vlcode-left {
- margin-right: 135px;
- }
- .vlcode-right {
- float: right;
- width: 120px;
- }
- // other
- .tips-info {
- font-size: 14px;
- height: 25px;
- line-height: 25px;
- color: $--color-text-secondary;
- }
- .tips-error {
- color: $--color-danger;
- }
|