Skip to content

Commit

Permalink
fix: blue css participantBackgroundColor error
Browse files Browse the repository at this point in the history
  • Loading branch information
danshuitaihejie committed Jul 6, 2024
1 parent 874723c commit 240471d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/template-blue.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
"jsMode": "js",
"layoutMode": 1,
"js": "Client->SGW.\"Get order by id\" {\n svc.Get(id) {\n new X()\n rep.\"load order\" {\n ==\"Start Here\"==\n MF.\"load order from mainframe\"\n ==\"End Here\"==\n if(order == null) {\n @return \n SGW->Client:404\n } else {\n return order\n }\n \n while(true) {\n svc.refresh(data)\n }\n processOrder()\n }\n return order\n }\n return response\n}",
"css": "@fragmentBorderColor: rgba(4, 46, 110, 0.30);\n@nameBackgroundColor: rgba(4, 46, 110, 0.10);\n@labelTextColor: #032C72;\n@messageLineColor: #032C72;\n@occuranceBorderColor: #032C72;\n@occuranceBackgroundColor: #fff;\n@participantLineColor: #032C72;\n@participantBorderColor: #032C72;\n@participantTextColor: #032C72;\n@participantBackgroundColor: rgba(146, 192, 240, 0.30);\n@dividerBackgroundColor: #E28553;\n@dividerBorderColor: #E28553;\n@dividerTextColor: #E28553;\n\n#diagram {\n .sequence-diagram {\n .divider {\n .name {\n padding: 2px 6px 2px 6px;\n border-radius: 4px;\n margin: 0px;\n border-color: @dividerBorderColor;\n color: @dividerTextColor;\n }\n .left {\n background: @dividerBackgroundColor;\n }\n .right {\n background: @dividerBackgroundColor;\n }\n }\n .lifeline {\n .participant {\n font-weight: 400;\n border: 2px solid @participantBorderColor;\n background: @participantBackgroundColor; \n label {\n text-decoration: underline;\n color: @participantTextColor;\n }\n }\n .line {\n border-left-color: @participantLineColor;\n }\n }\n .message {\n .name {\n padding-bottom: 1px;\n color: @messageLineColor;\n }\n border-bottom-color: @messageLineColor;\n svg {\n polyline {\n fill: @messageLineColor;\n stroke: @messageLineColor;\n }\n }\n }\n .message.self {\n svg>polyline:not(.head) {\n fill: none;\n }\n }\n .occurrence {\n background-color: white;\n border: 2px solid @occuranceBorderColor;\n background-color: @occuranceBackgroundColor;\n }\n .fragment {\n margin-top: 8px;\n margin-bottom: 8px;\n border-radius: 4px;\n border: 1px solid @fragmentBorderColor;\n .fragment.par>.block>.statement-container:not(:first-child), .segment:not(:first-child) {\n border-top: 1px solid @fragmentBorderColor;\n }\n .header {\n .name {\n padding: 4px 4px 4px 6px;\n background: @nameBackgroundColor;\n label { /* name label */\n background: transparent;\n padding: 0px;\n color: @labelTextColor;\n }\n }\n }\n }\n .statement-container {\n margin-bottom: 8px;\n }\n }\n}",
"css": "@fragmentBorderColor: rgba(4, 46, 110, 0.30);\n@nameBackgroundColor: rgba(4, 46, 110, 0.10);\n@labelTextColor: #032C72;\n@messageLineColor: #032C72;\n@occuranceBorderColor: #032C72;\n@occuranceBackgroundColor: #fff;\n@participantLineColor: #032C72;\n@participantBorderColor: #032C72;\n@participantTextColor: #032C72;\n@participantBackgroundColor: #dfecfa;\n@dividerBackgroundColor: #E28553;\n@dividerBorderColor: #E28553;\n@dividerTextColor: #E28553;\n\n#diagram {\n .sequence-diagram {\n .divider {\n .name {\n padding: 2px 6px 2px 6px;\n border-radius: 4px;\n margin: 0px;\n border-color: @dividerBorderColor;\n color: @dividerTextColor;\n }\n .left {\n background: @dividerBackgroundColor;\n }\n .right {\n background: @dividerBackgroundColor;\n }\n }\n .lifeline {\n .participant {\n font-weight: 400;\n border: 2px solid @participantBorderColor;\n background: @participantBackgroundColor; \n label {\n text-decoration: underline;\n color: @participantTextColor;\n }\n }\n .line {\n border-left-color: @participantLineColor;\n }\n }\n .message {\n .name {\n padding-bottom: 1px;\n color: @messageLineColor;\n }\n border-bottom-color: @messageLineColor;\n svg {\n polyline {\n fill: @messageLineColor;\n stroke: @messageLineColor;\n }\n }\n }\n .message.self {\n svg>polyline:not(.head) {\n fill: none;\n }\n }\n .occurrence {\n background-color: white;\n border: 2px solid @occuranceBorderColor;\n background-color: @occuranceBackgroundColor;\n }\n .fragment {\n margin-top: 8px;\n margin-bottom: 8px;\n border-radius: 4px;\n border: 1px solid @fragmentBorderColor;\n .fragment.par>.block>.statement-container:not(:first-child), .segment:not(:first-child) {\n border-top: 1px solid @fragmentBorderColor;\n }\n .header {\n .name {\n padding: 4px 4px 4px 6px;\n background: @nameBackgroundColor;\n label { /* name label */\n background: transparent;\n padding: 0px;\n color: @labelTextColor;\n }\n }\n }\n }\n .statement-container {\n margin-bottom: 8px;\n }\n }\n}",
"html": ""
}

0 comments on commit 240471d

Please sign in to comment.