Blame view
src/app/component/import-vessels/import-vessels.component.scss
1.88 KB
632c4ac2f import vessels |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 |
.container { width: 450px; height: 200px; padding: 2rem; text-align: center; //border: dashed 1px #979797; position: relative; margin: 0 auto; input { opacity: 0; position: absolute; z-index: 2; width: 100%; height: 100%; top: 0; left: 0; } label { color: white; width: 183px; height: 44px; border-radius: 21.5px; background-color: #db202f; padding: 8px 16px; } h3 { font-size: 20px; font-weight: 600; color: #38424c; } } .fileover { animation: shake 1s; animation-iteration-count: infinite; } .files-list { margin-top: 1.5rem; .single-file { display: flex; padding: 0.5rem; justify-content: space-between; align-items: center; border: dashed 1px #979797; margin-bottom: 1rem; img.delete { margin-left: 0.5rem; cursor: pointer; align-self: flex-end; } flex-grow: 1; .name { font-size: 14px; font-weight: 500; color: #353f4a; margin: 0; } .size { font-size: 12px; font-weight: 500; color: #a4a4a4; margin: 0 0 0.25rem; } .info { width: 100% } } } /* Shake animation */ @keyframes shake { 0% { transform: translate(1px, 1px) rotate(0deg); } 10% { transform: translate(-1px, -2px) rotate(-1deg); } 20% { transform: translate(-3px, 0px) rotate(1deg); } 30% { transform: translate(3px, 2px) rotate(0deg); } 40% { transform: translate(1px, -1px) rotate(1deg); } 50% { transform: translate(-1px, 2px) rotate(-1deg); } 60% { transform: translate(-3px, 1px) rotate(0deg); } 70% { transform: translate(3px, 1px) rotate(-1deg); } 80% { transform: translate(-1px, -1px) rotate(1deg); } 90% { transform: translate(1px, 2px) rotate(0deg); } 100% { transform: translate(1px, -2px) rotate(-1deg); } } |