123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590 |
- $nodeBgColor: #34b29d;
- $nodeColor: #f5f5f5;
- $lineC: #34b29d;
- @mixin flex_center {
- display: flex;
- flex-direction: row;
- justify-content: center;
- }
- @mixin flex_center_v {
- display: flex;
- justify-content: center;
- align-items:center
- }
- @mixin block_center {
- display: block;
- margin: 0 auto;
- float: left;
- }
- @mixin menu {
- .dropdown-menu {
- border-color: #049e9a !important;
- padding: 5px 15px !important;
- min-width: 100px !important;
- .dropdown-item {
- border: none !important;
- border-bottom: 1px solid #049e9a !important;
- color: #049e9a !important;
- padding: 5px 15px !important;
- &:last-child ,&.last-child{
- border: none !important;
- }
- &:focus, &:hover {
- color: #fff !important;
- background-color: #049e9a !important;
- }
- }
- }
- }
- .main-box {
- position: relative;
- display: inline-block;
- top: 10px;
- left: 12px;
- width: calc(100% - 24px);
- height: auto;
- border: 3px solid #049e9a;
- border-radius: 5px;
- overflow: hidden;
- text-align: center;
- padding-top: 10px;
- background: #f0faf9;
- &.main-flow-box {
- height: 700px;
- }
- &.main-package-box {
- height: 590px;
- }
- }
- .iwb-flow-tree {
- $lineW: 8px;
- $lineH: 6px;
- margin: 0 auto;
- .floor-box {
- width: 100%;
- @include flex_center;
- .floor-node {
- width: 100%;
- @include block_center;
- .node-box {
- position: relative;
- margin: 0 auto;
- width: 200px;
- border-radius: 0;
- border: none;
- background: transparent;
- .title {
- /*padding: 3px 0;*/
- background: transparent;
- color: $nodeColor;
- width: 0;
- height: 0;
- background: transparent;
- border: 100px solid transparent;
- border-top: none;
- border-bottom: 60px solid $nodeBgColor;
- cursor: pointer;
- }
- .title-text {
- position: absolute;
- width: 100%;
- text-align: center;
- top: 0;
- color: $nodeColor;
- height: 60px;
- font-size: 12px;
- font-weight: bold;
- cursor: none;
- line-height: 70px;
- }
- .content {
- margin: 0px 12px;
- flex-direction: column;
- padding: 5px;
- border: 1px solid $nodeBgColor;
- border-top: none;
- }
- }
- }
- .line-box {
- width: 100%;
- @include block_center;
- .line-group {
- width: 100%;
- @include flex_center;
- .line {
- @include flex_center;
- .line-u, .line-d {
- height: 30px;
- width: $lineW * 1.5;
- background: $lineC;
- }
- .line-d {
- position: relative;
- margin-bottom: $lineH;
- width: $lineW;
- &:after {
- content: '';
- position: absolute;
- border: 8px solid transparent;
- border-top: 15px solid $lineC;
- left: calc(50% - 8px);
- bottom: -15px;
- }
- &.line-d-l:before, &.line-d-r:before {
- content: '';
- position: absolute;
- top: -$lineH;
- width: $lineW;
- height: $lineH;
- background: $lineC;
- }
- &.line-d-l:before {
- left: 0;
- }
- &.line-d-r:before {
- right: 0;
- }
- }
- }
- .line-m {
- height: $lineH;
- background: $lineC;
- }
- .line-single {
- .line-d {
- height: 72px;
- }
- }
- }
- }
- }
- .setting {
- margin: 3px 5px;
- padding: 4px 0 !important;
- text-align: center;
- color: #fff;
- font-size: 100%;
- border-radius: 3px;
- cursor: pointer;
- background: #34b29d;
- &.path {
- /*background: #34b29d;
- text-align: left;
- padding-left: 15px !important;*/
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- padding: 4px 10px !important;
- }
- /*
- &.scene {
- background: #70ad47;
- }
- &.guide {
- background: #00b050;
- }
- &.pre {
- background: #54e29d;
- }
- &.run {
- background: #00a7e2;
- }
- &.post {
- background: #5b9bd5;
- }*/
- &.no-setting {
- background: #a6a6a6;
- }
- }
- @include menu;
- }
- .iwb-package-tree {
- display: flex;
- flex-direction: column;
- justify-content: start;
- width: 100%;
- .round-box {
- @include flex_center;
- height: auto;
- position: relative;
- padding-bottom: 20px;
- &:first-child {
- padding-bottom: 40px;
- }
- .round-node {
- @include flex_center_v;
- position: relative;
- background: $nodeBgColor;
- color: $nodeColor;
- width: 50px;
- height: 50px;
- border-radius: 50px;
- z-index: 1;
- font-weight: 600;
- &:before {
- content: "";
- position: absolute;
- border-left: 15px solid transparent;
- border-right: 15px solid transparent;
- border-top: 25px solid $nodeBgColor;
- left: 10px;
- top: -25px;
- }
- &.start-node {
- width: auto;
- height: 40px;
- white-space: nowrap;
- padding: 5px 20px;
- border-radius: 20px;
- font-size: 1.125rem;
- &:before {
- border: none;
- }
- }
- }
- .block-node {
- width: 42%;
- height: auto;
- display: flex;
- /*min-height: 150px;*/
- border: 2px solid $nodeBgColor;
- border-radius: 5px;
- position: relative;
- margin-top: 10px;
- --w: 60px;
- --sw: 170px;
- --margin: calc(var(--w) - 20px);
- .title {
- width: 100%;
- text-align: center;
- padding: 2px;
- font-size: 15px;
- font-weight: bold;
- color: $nodeBgColor;
- /*background-image: linear-gradient(rgba(0,0,0,.05),rgba(0,0,0,.18));*/
- background: #f2f2f2;
- border-bottom: 1px solid $nodeBgColor;
- border-radius: 10px 10px 0 0;
- .icon {
- float: right;
- margin-top: 4px;
- margin: 4px 5px 4px;
- color: #00b050;
- cursor: pointer;
- }
- }
- .content {
- width: 100%;
- display: flex;
- height: 100%;
- }
- > .round-setting {
- width: var(--sw);
- border-right: 1px solid $nodeBgColor;
- .content {
- padding: 5px;
- flex-direction: column;
- .setting {
- .value {
- padding-left: 5px;
- }
- span:last-of-type {
- float: right;
- }
- }
- }
- }
- .tab-box {
- width: var(--sw);
- border-left: 1px solid $nodeBgColor;
- height: 100%;
- padding: 0;
- .nav-tabs {
- padding: 5px;
- padding-left: 0;
- height: 198px;
- flex-wrap: nowrap;
- overflow-y: auto;
- border: none;
- .nav-item {
- border-bottom: none;
- .nav-link {
- color: $nodeBgColor;
- border: 1px solid $nodeBgColor;
- border-left: none;
- height: 35px;
- border-radius: 0 35px 35px 0;
- margin: 1px 0;
- padding-left: 5px;
- padding-right: 5px;
- &.active, &:hover, &:focus {
- background: $nodeBgColor;
- color: $nodeColor
- }
- &:hover {
- color: #eee;
- font-weight: bold;
- }
- }
- }
- }
- }
- .tab-content-box {
- width: calc(100% - var(--sw))
- }
- .block-box {
- width: 100%;
- .block-content {
- width: 100%;
- display: flex;
- flex-direction: column;
- .setting-box {
- width: 100%;
- display: flex;
- padding: 5px;
- border-bottom: 1px solid $nodeBgColor;
- .setting {
- text-align: center;
- width: 50%;
- padding: 2px 5px;
- }
- }
- .flow-box {
- width: 100%;
- display: flex;
- flex-direction: column;
- padding: 5px;
- height: 142px;
- .flow-info {
- margin: 2px 5px;
- color: $nodeBgColor;
- display: flex;
- .flow-name {
- padding: 3px 15px;
- border-radius: 35px 0 0 35px;
- border: 1px solid;
- width: 100%;
- text-align: center;
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .flow-setting {
- width: 50px;
- color: #fff;
- background: $nodeBgColor;
- padding: 3px 15px;
- border-radius: 0 35px 35px 0;
- cursor: pointer;
- }
- }
- }
- }
- }
- .obj-block-box {
- width: 100%;
- }
- .evolution-block-box {
- width: 100%;
- }
- &:before {
- content: "";
- position: absolute;
- background: $nodeBgColor;
- width: var(--w);
- height: 10px;
- top: 10px;
- }
- &.left {
- margin-right: var(--margin);
- .block-box {
- width: calc(100% - var(--sw))
- }
- &:before {
- right: calc(0% - var(--w));
- }
- }
- &.right {
- margin-left: var(--margin);
- &:before {
- left: calc(0% - var(--w));
- }
- }
- }
- &:not(:nth-last-of-type(1)) {
- .line-v {
- height: calc(100% - 20px);
- width: 15px;
- background-color: $nodeBgColor;
- position: absolute;
- top: 5px;
- /*left: calc(50% - 5px);*/
- z-index: 0;
- }
- }
- /*&:nth-of-type(1) {
- .round-node:before {
- border: none;
- }
- }*/
- .setting {
- margin: 2px 5px;
- padding: 2px 10px;
- text-align: left;
- color: #fff;
- font-size: 90%;
- border-radius: 3px;
- cursor: pointer;
- background: $nodeBgColor;
- /*&.score {
- background: #34b29d;
- }
- &.rate {
- background: #70ad47;
- }
- &.count {
- background: #00b050;
- }
- &.guide {
- background: #00c392;
- }
- &.pre {
- background: #00d7e2;
- }
- &.run {
- background: #00a7e2;
- }
- &.post {
- background: #5b9bd5;
- }*/
- &.no-setting {
- /*color: #ddd;*/
- background: #a6a6a6;
- }
- }
- }
- @include menu;
- }
- .flow-detail {
- a.table-action {
- color: $nodeBgColor;
- padding: 2px 0;
- cursor: pointer;
- }
- a.table-action:hover {
- color: $nodeBgColor;
- padding: 2px 0;
- font-weight: bold;
- border-bottom: 2px solid $nodeBgColor;
- }
- .table-striped tbody tr:nth-of-type(odd) {
- background-color: #f0faf9;
- }
- }
- .package-detail {
- margin: 0 15px;
- dl {
- display: flex;
- }
- dl, dt, dd {
- margin-bottom: 0;
- cursor:pointer;
- }
- dt {
- white-space: nowrap;
- }
- dd {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- }
|