123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264 |
- @import "~assets/less/variable";
- .slides {
- position: absolute;
- top: 0;
- bottom: 0;
- left: 0;
- right: 0;
- overflow-y: auto;
- }
- .unit {
- height: 120px;
- background-color: @body-background;
- background-repeat: no-repeat;
- background-size: 100%;
- background-position: center center;
- margin-bottom: 20px;
- border-radius: 2px;
- box-shadow: @block-box-shadow;
- transform: translate3d(0, 0, 0);
- transition: transform 200ms linear,
- box-shadow 200ms linear,
- background-size 500ms linear;
- position: relative;
- cursor: pointer;
- &:hover {
- background-size: 110%;
- box-shadow: @block-active-box-shadow;
- transform: translate3d(0, -5px, 0);
- }
- &.editing {
- opacity: .3;
- }
- header {
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
- border-radius: 2px 2px 0 0;
- }
- .title {
- padding: 12px 80px 0 12px;
- color: @white;
- font-size: 1.15em;
- font-weight: normal;
- .ellipsis;
- }
- .content {
- padding: 8px 12px 24px;
- color: @white;
- font-size: .85em;
- .ellipsis;
- }
- .portalActions {
- position: absolute;
- right: 8px;
- top: 8px;
- .edit, .delete {
- opacity: .7;
- font-size: 15px;
- margin-left: 8px;
- color: @white;
- transition: transform 200ms ease;
- &:hover {
- opacity: 1;
- transform: scale(1.1, 1.1);
- }
- }
- }
- .central {
- height: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- &:hover {
- .add,.text {
- color: @blue;
- cursor: pointer;
- }
- }
- .item {
- color: @light-text-color;
- &.add {
- font-size: 28px;
- }
- &.text {
- font-size: 16px;
- }
- }
- }
- }
- .excludeList{
- margin: 8px 8px;
- b{
- margin-left: 6px;
- }
- }
- .searchAdmin, .addCol {
- padding: 0 4px;
- text-align: right;
- }
- @media (max-width: 768px) {
- .searchAdmin {
- margin-bottom: 8px;
- }
- }
- .searchUser {
- float: right;
- }
- .searchInputAdmin {
- margin-right: 10px;
- }
- .controlTab {
- overflow: auto;
- max-height: 400px;
- }
- .display {
- height: 120px;
- background-color: @body-background;
- background-repeat: no-repeat;
- background-position: center;
- background-size: 100%;
- margin-bottom: 20px;
- border-radius: 2px;
- box-shadow: @block-box-shadow;
- transform: translate3d(0, 0, 0);
- transition: all 200ms linear;
- transition: transform 200ms linear,
- box-shadow 200ms linear,
- background-size 500ms linear;
- cursor: pointer;
- &.editing {
- opacity: .3;
- }
- header {
- background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0) 100%);
- border-radius: 2px 2px 0 0;
- }
- .container {
- position: absolute;
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- .central {
- flex: 1;
- height: 100%;
- width: 100%;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- &:hover {
- .icon,.text {
- color: @blue;
- cursor: pointer;
- }
- }
- .item {
- color: @light-text-color;
- &.icon {
- font-size: 28px;
- }
- &.text {
- font-size: 16px;
- }
- }
- }
- }
- &:hover {
- background-size: 110%;
- box-shadow: @block-active-box-shadow;
- transform: translate3d(0, -5px, 0);
- .pic {
- transform: translate(0, -5px);
- }
- }
- .title {
- padding: 12px 40px 0 12px;
- color: @white;
- font-size: 1.15em;
- font-weight: normal;
- .ellipsis;
- }
- .content {
- padding: 8px 12px 24px;
- color: @white;
- font-size: .85em;
- .ellipsis;
- }
- .displayActions {
- position: absolute;
- right: 8px;
- top: 8px;
- .delete, .copy, .edit {
- color: @white;
- margin-left: 8px;
- font-size: 15px;
- opacity: .5;
- transition: transform 200ms ease;
- &:hover {
- opacity: 1;
- transform: scale(1.1, 1.1);
- }
- }
- }
- }
- .listPadding{
- padding: 0 12px 12px 12px;
- }
- .spliter11 {
- height: 11px;
- }
- .spliter16 {
- height: 16px;
- }
|