123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315 |
- body {
- font-family: Arial, sans-serif;
- background-color: #f0f0f0;
- display: flex;
- justify-content: center;
- align-items: flex-start;
- min-height: 100vh;
- margin: 0;
- padding-top: 20px;
- }
- .card-container {
- width: 90%;
- max-width: 1200px;
- display: flex;
- flex-wrap: wrap;
- gap: 1em;
- }
- .card {
- background: white;
- border-radius: 10px;
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
- overflow: hidden;
- padding: 1em;
- text-align: center;
- cursor: pointer;
- width: calc(33% - 1em);
- }
- .add-card {
- display: flex;
- justify-content: center;
- align-items: center;
- cursor: pointer;
- height: 150px;
- font-size: 2em;
- color: #888;
- border: 2px dashed #ccc;
- width: calc(33% - 1em);
- order: 999;
- }
- .add-icon {
- font-weight: bold;
- }
- .card img {
- width: 100%;
- height: auto;
- border-radius: 10px;
- margin-bottom: 0.5em;
- }
- .card .title {
- font-size: 1.2em;
- font-weight: bold;
- margin-bottom: 0.5em;
- }
- .card .content {
- font-size: 1em;
- color: #555;
- }
- .card .date {
- font-size: 0.8em;
- color: #999;
- margin-top: 0.5em;
- }
- .card-modal {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background: rgba(0, 0, 0, 0.5);
- display: flex;
- visibility: hidden;
- }
- .card-modal.active {
- visibility: visible;
- }
- .card-modal-container {
- width: 100%;
- display: flex;
- flex-wrap: wrap;
- gap: 1em;
- }
- .card-modal-left {
- width: 10%;
- background: #f3f3f3;
- }
- .card-modal-right {
- width: 85%;
- background: #f3f3f3;
- }
- .card-modal-group-box-container {
- margin-left: 250px;
- display: flex;
- flex-wrap: wrap;
- gap: 1em;
- }
- .card-modal-group-box {
- background: white;
- border-radius: 10px;
- box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
- overflow: hidden;
- padding: 1em;
- margin-left: 25px;
- margin-top: 30px;
- text-align: center;
- cursor: pointer;
- width: calc(18% - 1em);
- }
- .card-modal-group-box .state-box {
- width: 100%;
- height: 90px;
- display: flex;
- justify-content: center;
- align-items: center;
- background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
- border-radius: 12px;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- font-size: 16px;
- font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
- color: #333;
- }
- .card-modal-group-box .title {
- font-size: 1.2em;
- font-weight: bold;
- margin-bottom: 0.5em;
- }
- .card-modal-group-box .content {
- font-size: 1em;
- color: #555;
- }
- .card-modal-close-button {
- position: absolute;
- top: 10px;
- left: 10px;
- background: #007bff;
- color: #fff;
- border: none;
- border-radius: 5px;
- padding: 0.5em 1em;
- cursor: pointer;
- }
- .menu-bar {
-
- background: #ffffff;
- border: 1px solid #ccc;
- border-radius: 5px;
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
- padding: 0.5em;
- visibility: hidden;
- }
- .menu-bar button {
- display: block;
- width: 100%;
- margin-bottom: 0.5em;
- padding: 0.5em;
- background: #007bff;
- color: #fff;
- border: none;
- border-radius: 5px;
- cursor: pointer;
- }
- .menu-bar button:last-child {
- margin-bottom: 0;
- }
- .card-modal-group-box:hover .menu-bar {
- visibility: visible;
- }
- .modal-content input {
- width: 100%;
- padding: 0.5em;
- margin: 0.5em 0;
- border: 1px solid #ccc;
- border-radius: 5px;
- }
- .modal-buttons {
- display: flex;
- justify-content: space-between;
- margin-top: 1em;
- }
- .group-node-modal {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- display: none;
- justify-content: center;
- align-items: center;
- background-color: rgba(0, 0, 0, 0.3);
- z-index: 9999;
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
- }
- .group-node-modal.active {
- display: flex;
- }
- .group-node-modal-container {
- background-color: #f9f9f9;
- padding: 20px;
- border-radius: 15px;
- width: 500px;
- max-width: 90%;
- max-height: 90%;
- overflow-y: auto;
- position: relative;
- box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
- }
- .group-node-modal-close-button {
- position: absolute;
- top: 10px;
- right: 10px;
- background: none;
- border: none;
- font-size: 18px;
- color: #007aff;
- cursor: pointer;
- }
- .group-node-modal-content p {
- background-color: #fff;
- padding: 10px;
- border-radius: 10px;
- border: 1px solid #e5e5ea;
- margin-bottom: 10px;
- box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
- font-size: 16px;
- color: #333;
- display: flex;
- flex-direction: column;
- word-break: break-word;
- overflow-wrap: break-word;
- }
- .group-node-modal-content p strong {
- color: #8e8e93;
- margin-bottom: 5px;
- }
- .group-node-modal-content h3 {
- margin-bottom: 15px;
- font-size: 20px;
- color: #333;
- font-weight: bold;
- text-align: center;
- }
- .group-node-modal-container button {
- background-color: #007aff;
- color: white;
- border: none;
- padding: 10px 15px;
- border-radius: 10px;
- font-size: 16px;
- cursor: pointer;
- margin-top: 15px;
- width: 100%;
- box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
- }
- .group-node-modal-container button:hover {
- background-color: #005dbb;
- }
- .group-node-modal-content p {
- max-height: 80px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .group-node-modal-content p:hover {
- white-space: normal;
- max-height: none;
- overflow: visible;
- }
|