123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171 |
- .example-list {
- max-width: 100%;
- border: solid 1px #323232;
- min-height: 60px;
- display: block;
- background: transparent;
- border-radius: 4px;
- overflow: hidden;
- }
- .damage-list{
- display: flex;
- flex-direction: column;
- }
- .damage-row{
- display: flex;
- flex-direction: row;
- justify-content: center;
- align-items: center;
- gap: 0.1rem;
- // margin: 0.5rem;
- }
- .damage-icon{
- height: 1rem;
- width: 1rem;
- }
- .example-box {
- padding: 20px 10px;
- border-bottom: solid 1px #ccc;
- color: rgba(0, 0, 0, 0.87);
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: space-between;
- box-sizing: border-box;
- cursor: move;
- background: white;
- font-size: 14px;
- input{
- border: none;
- background: transparent;
- text-align: center;
-
- }
- }
- //////////////// list item elemens ////////////////
- .vertical-line{
- width: 1px;
- height: 3rem;
- border-left: solid 1px rgb(121, 121, 121)
- }
- .weapon-type{
- width: 2rem;
- text-align: center;
- }
- .weapon-proficient{
- width: 2rem;
- text-align: center;
- }
- .weapon-name{
- width: 6rem;
- text-align: center;
- }
- .weapon-attack-bonus{
- width: 2rem;
- text-align: center;
- }
- .weapon-damage{
- width: 3rem;
- text-align: center;
- }
- .weapon-range{
- width: 4rem;
- text-align: center;
- }
- .weapon-edit{
- width: 3rem;
- text-align: center;
- }
- //////////////////////////////////////////////////
- .add-box{
- text-align: center;
- }
- .add-form-group{
- display: flex;
- flex-direction: column;
- gap: 1rem;
-
- }
- .form-element{
- display: flex;
- flex-direction: column;
- // gap: 0.1rem;
- // align-items: center;
- // justify-content: center;
- }
- .form-element-row{
- display: flex;
- flex-direction: row;
- // gap: 2rem;
- justify-content: space-around;
- text-align:center;
- }
- // Drag and Drop
- .cdk-drag-preview {
- box-sizing: border-box;
- border-radius: 4px;
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2),
- 0 8px 10px 1px rgba(0, 0, 0, 0.14),
- 0 3px 14px 2px rgba(0, 0, 0, 0.12);
- }
- .cdk-drag-placeholder {
- opacity: 0;
- }
- .cdk-drag-animating {
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
- }
- .example-box:last-child {
- border: none;
- }
- .example-list.cdk-drop-list-dragging .example-box:not(.cdk-drag-placeholder) {
- transition: transform 250ms cubic-bezier(0, 0, 0.2, 1);
- }
|