app/assets/stylesheets/scrapbook/application.tailwind.css in scrapbook-0.2.2 vs app/assets/stylesheets/scrapbook/application.tailwind.css in scrapbook-0.3.0
- old
+ new
@@ -20,13 +20,26 @@
font-weight: normal;
font-size: unset;
line-height:inherit;
}
- body > nav a:hover {
- background-color: theme('colors.sky.50');
+ turbo-frame {
+ display: block;
}
+}
- body > nav a:active {
- background-color: theme('colors.sky.200');
- }
+summary { list-style: none; }
+summary::-webkit-details-marker { display: none; }
+
+details > summary::before {
+ content: "▶︎";
+ font-size: 0.8rem;
+ flex: none;
+ line-height: 1.6rem;
+ margin-right: 0.4rem;
+ transition: rotate 0.2s ease-in-out;
+}
+
+details[open] > summary::before {
+ rotate: 90deg;
+ transition: rotate 0.2s ease-in-out;
}