123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743 |
- @import "~assets/less/variable";
- .wrapper{
- width: 100%;
- height: 100%;
- display: flex;
- flex-direction: column;
- overflow-y: auto;
- .toolbar {
- width: 100%;
- height: 54px;
- flex-shrink: 0;
- background-color: @white;
- display: flex;
- align-items: center;
- .menu {
- display: flex;
- width: 42%;
- padding: 0 5%;
- .selectMenu {
- color: @blue;
- border-bottom: 1px solid @blue;
- }
- p {
- margin-right: 30px;
- padding: 4px 0;
- cursor: pointer;
- }
- }
- .searchs {
- width: 42%;
- position: relative;
- input {
- height: 32px;
- padding: 0 36px 0 18px;
- outline: none;
- border: none;
- background-color: #F5F5F5;
- width: 320px;
- border-radius: 100px 100px;
- &::placeholder{
- color: #CCCCCC;
- font-weight: 500;
- }
- }
- .searchButton{
- background-size: 16px 16px;
- border: 0;
- border-radius: 0 3px 3px 0;
- -moz-context-properties: fill;
- fill: rgba(249, 249, 250, 0.6);
- height: 100%;
- offset-inline-end: 0;
- position: absolute;
- left: 290px;
- visibility: middle;
- width: 36px;
- &:focus, &:hover {
- color: rgba(12, 12, 13, 0.9);
- cursor: pointer;
- }
- &:active {
- color: rgba(12, 12, 13, 0.3);
- }
- i{
- display: inline-block;
- line-height: 32px;
- }
- }
- }
- .create {
- flex: 1 0 auto;
- text-align: center;
- }
- }
- .content {
- flex: 1;
- margin: 24px 5%;
- .noprojects {
- height: 100%;
- margin-bottom: -16px;
- background-color: #fff;
- display: flex;
- justify-content: center;
- align-items: center;
- .desc{
- font-size: 24px;
- font-weight: 700;
- }
- }
- .flex{
- margin-bottom: -16px;
- .unit {
- height: 134px;
- background-color: #fff;
- margin-right: 16px;
- margin-bottom: 16px;
- border-radius: 2px;
- box-shadow: @block-box-shadow;
- cursor: pointer;
- transform: translate3d(0, 0, 0);
- transition: transform 200ms linear,
- box-shadow 200ms linear,
- background-size 500ms linear;
- &:hover {
- box-shadow: @block-active-box-shadow;
- }
- .thumbnail {
- height: 100px;
- background-color: #fff;
- background-repeat: no-repeat;
- background-size: 100%;
- background-position: center center;
- transform: translate3d(0, 0, 0);
- transition: transform 200ms linear,
- box-shadow 200ms linear,
- background-size 500ms linear;
- position: relative;
- &:hover {
- background-size: 110%;
- transform: translate3d(0, -5px, 0);
- .createIcon {
- color: @blue;
- }
- .createText {
- color: @blue;
- }
- }
- 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;
- }
- .tags {
- text-align: right;
- height: 24px;
- // padding: 4px;
- padding-top: 4px;
- .tag {
- font-size: 10px;
- padding: 1px 4px;
- border-radius: 2px;
- color: @white;
- margin-right: 4px;
- }
- .create {
- background-color: #108EE9;
- }
- .fork {
- background-color: #F24724;
- }
- .favorite {
- background-color: #F24724;
- }
- .join {
- background-color: #FA8C15;
- }
- }
-
- .title {
- padding: 2px 80px 0 12px;
- color: @white;
- font-size: 1.15em;
- font-weight: normal;
-
- .ellipsis;
- }
-
- .descs {
- padding: 8px 12px 24px;
- color: @white;
- font-size: .85em;
-
- .ellipsis;
- }
- }
- .itemToolbar {
- height: 34px;
- background-color: @white;
- display: flex;
- padding: 0 6px 0 8px;
- justify-content: space-between;
- align-items: center;
- .stars {
- align-self: center;
- }
- .others {
- align-self: center;
- }
- i {
- margin-left: 8px;
- }
- }
- }
- }
- }
- .searchListWrapper{
- margin: 0 auto 16px auto;
- flex-shrink: 0;
- z-index: 9;
- .listPadding{
- padding: 0 12px 12px 12px;
- }
- }
- }
- .starWrapperPosition {
- position: absolute;
- right: 6px;
- bottom: 6px;
- }
- .overflowY {
- overflow-y: auto;
- }
- .createIcon {
- font-size: 28px;
- color: #a6a6a6;
- }
- .createText {
- font-size: 16px;
- color: #a6a6a6;
- }
- .formWrapper {
- padding: 16px;
- text-align: left;
- .header {
- .title{
- font-size: 24px;
- color:@rich-text;
- font-weight: 600;
- }
- .desc{
- margin-top: 4px;
- font-size: 14px;
- color:@light-text-color;
- }
- }
- .body {
- margin: 16px auto;
- }
- .footer{
- button {
- margin-right: 6px;
- }
- }
- }
- .selectOption {
- display: flex;
- justify-content: space-between;
- align-items: center;
- .title{
- display: flex;
- align-items: center;
- }
- .owner{
- // color: @rich-text;
- font-size: 18px;
- font-weight: 600;
- margin-right: 8px;
- }
- }
- .groupList {
- padding: 8px 24px 8px 18px;
- box-shadow: 0 -1px 0 @grey-line-color;
- display: flex;
- justify-content: space-between;
- cursor: pointer;
- &:hover {
- color: @blue;
- }
- .orgHeader {
- display: flex;
- .avatar {
- display: flex;
- align-items: center;
- img {
- vertical-align: top;
- }
- }
- .name {
- display: flex;
- flex-direction: column;
- margin-left: 14px;
- .title {}
- .desc {
- font-size: 12px;
- color: @light-text-color;
- }
- }
- }
- .setting {
- align-self: center;
- font-size: 18px;
- cursor: pointer;
- }
- }
- .searchList {
- padding: 8px 18px 8px 18px;
- // box-shadow: 0 -1px 0 @grey-line-color;
- border: 1px solid rgba(0, 0, 0, 0.15);
- border-radius: 2px;
- display: flex;
- justify-content: space-between;
- margin-bottom: 16px;
- cursor: pointer;
- &:hover {
- color: @blue;
- }
- .orgHeader {
- display: flex;
- .avatar {
- display: flex;
- align-items: center;
- img {
- vertical-align: top;
- }
- }
- .name {
- display: flex;
- flex-direction: column;
- margin-left: 14px;
- .title {
- font-weight: 400;
- font-size: 14px;
- }
- .desc {
- font-size: 12px;
- color: @light-text-color;
- }
- }
- }
- .others{
- position: relative;
- .star {
- position: absolute;
- right: -9px;
- top: 16px;
- }
- }
- }
- .projectItemWrap{
- padding: 8px 8px;
- margin-top: 16px;
- border-radius: 4px;
- border: 1px solid #ccc;
- display: flex;
- &:hover {
- background-size: 110%;
- box-shadow: @block-active-box-shadow;
- transform: translate3d(0, -5px, 0);
- }
- .avatarWrapper{
- width: 260px;
- height: 120px;
- margin-right: 20px;
- background-color: @body-background;
- background-repeat: no-repeat;
- background-size: 100%;
- background-position: center center;
- 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;
- }
- .detailWrapper {
- display: flex;
- flex-direction: column;
- .title {
- font-size: 18px;
- font-weight: 600;
- margin-bottom: 16px;
- color: @blue;
- cursor: pointer;
- }
- .desc {
- font-size: 12px;
- color: @light-text-color;
- margin-bottom: 8px;
- }
- .tag {
- margin-bottom: 8px;
- span {
- font-size: 12px;
- }
- }
- .others {
- display: flex;
- .updateTime {
- color: @rich-text;
- margin-right: 32px;
- .label {
- color: @light-text-color;
- margin-right: 8px;
- }
- }
- .stars {
- margin-right: 32px;
- cursor: pointer;
- color: @rich-text;
- }
- .delete {
- cursor: pointer;
- }
- }
- }
- }
- .mask {
- position: fixed;
- top: 0;
- right: 0;
- left: 0;
- bottom: 0;
- background-color: #373737;
- background-color: rgba(55, 55, 55, 0.55);
- height: 100%;
- z-index: 6;
- filter: blur(10px);
- backdrop-filter: blur(10px);
- }
- @media only screen and (min-width: 1601px) {
- .wrap {
- width: 1570px;
- }
- .search, .searchListWrapper, .searchKeywords{
- width: 1570px;
- }
- .mime{
- margin: 0 16px 16px 0;
- }
- }
- @media only screen and (max-width: 1600px) and (min-width: 1400px) {
- .wrap {
- width: 1246px;
- }
- .search, .searchListWrapper, .searchKeywords{
- width: 1246px;
- }
- .mime, .join{
- margin: 0 16px 16px 0;
- }
- }
- @media only screen and (min-width: 1200px) and (max-width: 1400px) {
-
- .wrapper {
- .toolbar{
- .menu {
- p {
- margin-right: 22px;
- }
- }
- .searchs {
- input {
- width: 320px;
- }
- .searchButton{
- left: 290px;
- }
- }
- }
- }
- }
- @media only screen and (max-width: 1199px) and (min-width: 991px) {
- .wrapper {
- .toolbar{
- .menu {
- p {
- margin-right: 30px;
- }
- }
- .searchs {
- input {
- width: 320px;
- }
- .searchButton{
- left: 290px;
- }
- }
- }
- }
- }
- @media only screen and (max-width: 990px) and (min-width: 870px) {
- .wrapper {
- .toolbar{
- .menu {
- width: 46%;
- p {
- margin-right: 30px;
- }
- }
- .searchs {
- width: 38%;
- input {
- width: 320px;
- }
- .searchButton{
- left: 290px;
- }
- }
- }
- }
- }
- @media only screen and (max-width: 870px) and (min-width: 768px) {
- .wrapper {
- .toolbar{
- .menu {
- width: 48%;
- p {
- margin-right: 28px;
- }
- }
- .searchs {
- width: 36%;
- input {
- width: 270px;
- }
- .searchButton{
- left: 245px;
- }
- }
- }
- }
- }
- @media only screen and (max-width: 767px) and (min-width: 640px) {
- .wrapper {
- .toolbar{
- .menu {
- width: 48%;
- p {
- margin-right: 19px;
- }
- }
- .searchs {
- width: 36%;
- input {
- width: 224px;
- }
- .searchButton{
- left: 198px;
- }
- }
- }
- }
- }
- @media only screen and (max-width: 640px) and (min-width: 300px) {
- .wrapper {
- .toolbar{
- .menu {
- width: 54%;
- p {
- margin-right: 13px;
- }
- }
- .searchs {
- width: 30%;
- input {
- width: 140px;
- }
- .searchButton{
- left: 114px;
- }
- }
- }
- }
- }
- .filterConfig {
- height: 540px;
- margin: -24px;
- display: flex;
- flex-direction: row;
- :global(.ant-menu-inline), :global(.ant-menu-vertical), :global(.ant-menu-vertical-left) {
- border-right: none;
- }
- :global(.ant-menu) {
- :global(li) {
- margin-top: 0;
- margin-bottom: 0
- }
- }
- :global(.ant-menu-item:not(:last-child)){
- margin-top: 0;
- margin-bottom: 0;
- }
- .left {
- flex-shrink: 0;
- display: flex;
- flex-direction: column;
- width: 160px;
- border-right: 1px solid @border-color-split;
- }
- .center {
- flex: 1;
- display: flex;
- overflow-y: auto;
- flex-direction: column;
- }
- // .bottom {
- // min-height: 90px;
- // border-top: 1px solid @border-color-split;
- // display: flex;
- // flex-direction: column;
- // }
- }
- .basic {
- padding: 24px;
- .owner {
- margin-top: 16px;
- .title {
- font-weight: 500;
- font-size: 14px;
- }
- .button {
- font-weight: 600;
- font-size: 18px;
- color: @blue;
- }
- }
- .save {
- margin-top: 16px;
- }
- .Zone{
- .title {
- font-weight: 500;
- font-size: 14px;
- margin: 24px auto 16px auto;
- }
- .titleDesc {
- width: 210px;
- padding: 16px;
- border-radius: 4px;
- border: 1px solid #ccc;
- display: inline-block;
- .button {
- font-weight: 600;
- font-size: 18px;
- color: @rich-text;
- }
- .desc{
- .label {
- display: inline-block;
- min-width: 58px;
- padding: 0 4px;
- border-radius: 2px;
- font-weight: 300px;
- }
- margin-bottom: 8px;
- font-size: 12px;
- }
- }
- }
- .dangerZone{
- .title {
- font-weight: 500;
- font-size: 14px;
- margin: 24px auto 16px auto;
- color: crimson;
- }
- .titleDesc {
- padding: 16px;
- border-radius: 4px;
- border: 1px solid crimson;
- display: inline-block;
- .button {
- font-weight: 600;
- font-size: 18px;
- color: @rich-text;
- }
- .desc{
- margin-bottom: 8px;
- font-size: 12px;
- color: crimson;
- }
- }
- }
- :global(.ant-form-item) {
- margin-bottom: 4px;
- }
- }
- .crimson {
- color :crimson;
- }
- .crimsonBorder {
- border: 1px solid crimson;
- }
- .role {
- padding: 24px;
- .tableWrap {
- padding: 24px 0px 8px 0px;
- }
- }
- .admin{
- padding: 24px;
- .tableWrap {
- padding: 24px 0px 8px 0px;
- }
- }
- .auth {
- padding: 8px;
- .module {
- margin: 8px auto 24px auto;
- .title {
- margin-bottom: 8px;
- font-weight: 600;
- font-size: 15px;
- }
- }
- .dv{
- margin: 8px auto 24px auto;
- .title {
- margin-bottom: 8px;
- font-weight: 600;
- font-size: 15px;
- }
- }
- }
- .ft16 {
- font-size: 16px;
- }
- .mainColor {
- color: @blue;
- }
|