Web Dev Solutions

Catalin Mititiuc

aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'public/assets/css/style.css')
-rw-r--r--public/assets/css/style.css45
1 files changed, 27 insertions, 18 deletions
diff --git a/public/assets/css/style.css b/public/assets/css/style.css
index f3dbc4d..bd90a4e 100644
--- a/public/assets/css/style.css
+++ b/public/assets/css/style.css
@@ -271,26 +271,35 @@ div#content {
overflow-x: hidden;
}
-.soldier-record {
- display: none;
-}
-
-#record-sheet [data-view-squad-number="1"].records .soldier-record[data-squad="1"] {
- display: block;
-}
-
-#record-sheet [data-view-squad-number="2"].records .soldier-record[data-squad="2"] {
- display: block;
+#record-sheet .records [class^="squad-"] {
+ transition: transform 0.125s;
}
-
-#record-sheet [data-view-squad-number="3"].records .soldier-record[data-squad="3"] {
- display: block;
-}
-
-#record-sheet [data-view-squad-number="4"].records .soldier-record[data-squad="4"] {
- display: block;
-}
+#record-sheet .records > :not(:first-child) {
+ display: none;
+ transform: translateX(100%);
+}
+
+/*.soldier-record {*/
+/* display: none;*/
+/*}*/
+
+/*#record-sheet [data-view-squad-number="1"].records .soldier-record[data-squad="1"] {*/
+/* display: block;*/
+/*}*/
+/**/
+/*#record-sheet [data-view-squad-number="2"].records .soldier-record[data-squad="2"] {*/
+/* display: block;*/
+/*}*/
+/**/
+/**/
+/*#record-sheet [data-view-squad-number="3"].records .soldier-record[data-squad="3"] {*/
+/* display: block;*/
+/*}*/
+/**/
+/*#record-sheet [data-view-squad-number="4"].records .soldier-record[data-squad="4"] {*/
+/* display: block;*/
+/*}*/
#record-sheet .name {
text-transform: capitalize;