|
@@ -50,7 +50,7 @@ a:hover {
|
|
|
background-color: hsl(0, 0%, 21%) !important;
|
|
|
}
|
|
|
|
|
|
-.tfa {
|
|
|
+.tfa-grid {
|
|
|
border-radius: 6px;
|
|
|
text-align: center;
|
|
|
background-color: hsl(0, 0%, 10%); /*black-bis from Bulma*/
|
|
@@ -58,8 +58,23 @@ a:hover {
|
|
|
margin: 0.5rem;
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 768px) {
|
|
|
- .tfa {
|
|
|
+.tfa-list {
|
|
|
+ text-align: inherit;
|
|
|
+ border-bottom: 1px solid hsl(0, 0%, 21%);
|
|
|
+ background-color: hsl(0, 0%, 14%); /*black-ter from Bulma*/
|
|
|
+ margin: 0 1%;
|
|
|
+ padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
|
|
+ width: 31.3%;
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 1217px) {
|
|
|
+ .tfa-list {
|
|
|
+ width: 48%;
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
+@media screen and (max-width: 769px) {
|
|
|
+ .tfa-list {
|
|
|
border-radius: unset;
|
|
|
text-align: inherit;
|
|
|
border-bottom: 1px solid hsl(0, 0%, 21%);
|
|
@@ -67,6 +82,7 @@ a:hover {
|
|
|
margin: 0;
|
|
|
padding: 0.5rem 0.5rem 0.5rem 0.5rem;
|
|
|
max-width: none;
|
|
|
+ width: auto;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -74,82 +90,63 @@ a:hover {
|
|
|
align-items: center;
|
|
|
display: flex;
|
|
|
justify-content: left;
|
|
|
+}
|
|
|
+
|
|
|
+.tfa-grid .tfa-container {
|
|
|
flex-direction: column;
|
|
|
padding: 0 1.5rem;
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 768px) {
|
|
|
- .tfa-container {
|
|
|
- flex-direction: row;
|
|
|
+.tfa-list .tfa-container {
|
|
|
+ flex-direction: row;
|
|
|
padding: 0;
|
|
|
- }
|
|
|
+}
|
|
|
|
|
|
- .tfa-container > div:first-of-type {
|
|
|
- padding: 0 0 0 0.5rem;
|
|
|
- }
|
|
|
+.tfa-list .tfa-container > div:first-of-type {
|
|
|
+ padding: 0 0 0 0.5rem;
|
|
|
+}
|
|
|
|
|
|
- .tfa-container > div:last-of-type {
|
|
|
- padding: 0 1rem 0 0;
|
|
|
- }
|
|
|
+.tfa-list .tfa-container > div:last-of-type {
|
|
|
+ padding: 0 1rem 0 0;
|
|
|
}
|
|
|
|
|
|
-.tfa-checkbox, .tfa-dots, .tfa-edit {
|
|
|
+.tfa-grid .tfa-checkbox,
|
|
|
+.tfa-grid .tfa-dots,
|
|
|
+.tfa-grid .tfa-edit {
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
padding: 0.5rem 0 0 0;
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 768px) {
|
|
|
- .tfa-checkbox, .tfa-dots, .tfa-edit {
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- padding: 0
|
|
|
- }
|
|
|
+.tfa-list .tfa-checkbox,
|
|
|
+.tfa-list .tfa-dots,
|
|
|
+.tfa-list .tfa-edit {
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ padding: 0
|
|
|
+}
|
|
|
|
|
|
- .tfa-dots {
|
|
|
- margin-left: 1.5rem;
|
|
|
- }
|
|
|
+.tfa-list .tfa-dots {
|
|
|
+ margin-left: 1.5rem;
|
|
|
}
|
|
|
|
|
|
-.tfa-content {
|
|
|
+.tfa-grid .tfa-content {
|
|
|
flex-grow: 1;
|
|
|
- // order: 1;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
-
|
|
|
-.tfa-checkbox {
|
|
|
- // order: 2;
|
|
|
+.tfa-list .tfa-content {
|
|
|
+ width: 100%;
|
|
|
}
|
|
|
|
|
|
.tfa-dots {
|
|
|
cursor: grab;
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 768px) {
|
|
|
- .tfa-checkbox {
|
|
|
- order: 1;
|
|
|
- }
|
|
|
-
|
|
|
- .tfa-content {
|
|
|
- order: 2;
|
|
|
- }
|
|
|
-
|
|
|
- .tfa-edit {
|
|
|
- order: 3;
|
|
|
- }
|
|
|
-
|
|
|
- .tfa-dots {
|
|
|
- order: 4;
|
|
|
- }
|
|
|
-}
|
|
|
-
|
|
|
-@media screen and (min-width: 769px) {
|
|
|
- .is-checkradio[type="checkbox"] + label, .is-checkradio[type="radio"] + label {
|
|
|
+.tfa-grid .is-checkradio[type="checkbox"] + label, .tfa-grid .is-checkradio[type="radio"] + label {
|
|
|
padding-left: 0 !important;
|
|
|
margin-top: 0 !important;
|
|
|
margin-bottom: 0 !important;
|
|
|
}
|
|
|
-}
|
|
|
|
|
|
.tfa-text {
|
|
|
display: block;
|
|
@@ -157,13 +154,13 @@ a:hover {
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
|
|
|
-.tfa img {
|
|
|
+.tfa-container img {
|
|
|
height: 0.75em;
|
|
|
width: 0.75em;
|
|
|
margin-right: .1em;
|
|
|
}
|
|
|
|
|
|
-.tfa span {
|
|
|
+.tfa-container span {
|
|
|
display: block;
|
|
|
}
|
|
|
|
|
@@ -411,39 +408,40 @@ footer .field.is-grouped {
|
|
|
animation: fadeOut 500ms
|
|
|
}
|
|
|
|
|
|
-.slideCheckbox-enter-active {
|
|
|
+
|
|
|
+.tfa-grid .slideCheckbox-enter-active {
|
|
|
animation: enterFromTop 500ms
|
|
|
}
|
|
|
|
|
|
-.slideCheckbox-enter-active + .tfa-content {
|
|
|
+.tfa-grid .slideCheckbox-enter-active + .tfa-content {
|
|
|
animation: addTopOffset 500ms
|
|
|
}
|
|
|
|
|
|
-.slideCheckbox-leave-active {
|
|
|
+.tfa-grid .slideCheckbox-leave-active {
|
|
|
animation: leaveToTop 500ms
|
|
|
}
|
|
|
|
|
|
-.slideCheckbox-leave-active + .tfa-content {
|
|
|
+.tfa-grid .slideCheckbox-leave-active + .tfa-content {
|
|
|
animation: removeTopOffset 500ms
|
|
|
}
|
|
|
|
|
|
-@media screen and (max-width: 768px) {
|
|
|
- .slideCheckbox-enter-active {
|
|
|
+// @media screen and (max-width: 768px) {
|
|
|
+ .tfa-list .slideCheckbox-enter-active {
|
|
|
animation: enterFromLeft 500ms
|
|
|
}
|
|
|
|
|
|
- .slideCheckbox-enter-active + .tfa-content {
|
|
|
+ .tfa-list .slideCheckbox-enter-active + .tfa-content {
|
|
|
animation: addLeftOffset 500ms
|
|
|
}
|
|
|
|
|
|
- .slideCheckbox-leave-active {
|
|
|
+ .tfa-list .slideCheckbox-leave-active {
|
|
|
animation: leaveToLeft 500ms
|
|
|
}
|
|
|
|
|
|
- .slideCheckbox-leave-active + .tfa-content {
|
|
|
+ .tfa-list .slideCheckbox-leave-active + .tfa-content {
|
|
|
animation: removeLeftOffset 500ms
|
|
|
}
|
|
|
-}
|
|
|
+// }
|
|
|
|
|
|
/*FadeInOut*/
|
|
|
|