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 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208
|
/*公共样式*/ *{ padding: 0; margin: 0; box-sizing: border-box; } body{ background-color: #fafafa } header{ height: 60px; line-height: 60px; background-color: #DB4C3F; } header h2{ width: 900px; color: #fff; font-weight: 400; margin: 0 auto; } /*等所有的数据加载完毕再显示*/ [v-cloak]{ display: none; } /*右上角皮肤选择按钮*/ .skin{ float: right; } .skin a{ display: inline-block; width: 25px; height: 25px; /*border-radius: 50%;*/ border: 2px solid #fff; vertical-align: -3px; position: relative; } .skin a:first-child{ background-color: #DB4C3F; } .skin a:last-child{ background-color: #41b883; } .skin .cur:before{ content:" "; background-color: #fff; font-size:20px; position: absolute; top: 3px; left: 3px; line-height: 1; width: 15px; height: 15px;
} /*内容区域*/ .content{ width: 900px; margin: 0 auto; } .tit{ margin: 15px 0; font-size: 22px; font-weight: 400 } .newtodo{ padding: 10px 15px; border:1px solid #ddd; box-shadow: inset 0 -2px 1px rgba(0,0,0,0.03); width: 100%; font-size: 24px; } :focus { /*outline: 0;*/ outline-color: #DB4C3F /*background-color: #FCF1F1*/ } .tabBar{ margin: 15px 0; display: flex; justify-content: space-between; align-items: center; font-size: 18px; } .notDone{ color: #DB4C3F } .tabTit a{ display: inline-block; /*border: 1px solid transparent;*/ padding: 10px 20px; text-decoration: none; color: #000; } .tabTit a.cur{ background-color: #DB4C3F; color: #fff; /*border: 1px solid #DB4C3F;*/ border-radius: 5px; } .todolist li{ padding: 10px; border-bottom: 1px solid #e6e6e6; list-style: none; } .todolist li label{ display: block; } .todolist li input,.todolist li a{ display: inline-block; width: 45px; } .todolist li input{ height: 25px; vertical-align: -5px;} .todolist li a{ float: right; display: none; font-size: 20px } .todolist li:hover a{color: #af5b5e; display: block; } .todolist li span{ font-size: 1.5em; } .todolist li:last-child { border-bottom: none; } .tabPanel{ position: relative; } /*解决列表过渡动画bug*/ .tabPanel ul{ width: 100%; position: absolute; background-color: #fff; min-height: 100px; } /*事项完成时*/ .completed{color: #d9d9d9;text-decoration: line-through;} /*暂无任务请添加*/ .nolist{ text-align: center; line-height: 80px; font-size: 20px; color: #999; } /*过渡样式*/
.v-enter-active{ animation: shake 0.5s; } /*.v-leave-active{ animation: shake 1s; }*/ /*动画关键帧*/ @keyframes tada { from { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); }
10%, 20% { -webkit-transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); transform: scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg); }
30%, 50%, 70%, 90% { -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg); }
40%, 60%, 80% { -webkit-transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); transform: scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg); }
to { -webkit-transform: scale3d(1, 1, 1); transform: scale3d(1, 1, 1); } }
@keyframes shake { from, to { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
10%, 30%, 50%, 70%, 90% { -webkit-transform: translate3d(-10px, 0, 0); transform: translate3d(-10px, 0, 0); }
20%, 40%, 60%, 80% { -webkit-transform: translate3d(10px, 0, 0); transform: translate3d(10px, 0, 0); } }
|