diff options
author | crupest <crupest@outlook.com> | 2023-08-26 21:36:58 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2023-08-26 21:36:58 +0800 |
commit | f5dfd52f6efece2f4cad227044ecf4dd66301bbc (patch) | |
tree | 0d64daae438ac6d95f0848a0b3387134d9528438 /FrontEnd/src/components/index.css | |
parent | 4daa84ede781cdf6f424d68c967a17c7e1c79f59 (diff) | |
download | timeline-f5dfd52f6efece2f4cad227044ecf4dd66301bbc.tar.gz timeline-f5dfd52f6efece2f4cad227044ecf4dd66301bbc.tar.bz2 timeline-f5dfd52f6efece2f4cad227044ecf4dd66301bbc.zip |
...
Diffstat (limited to 'FrontEnd/src/components/index.css')
-rw-r--r-- | FrontEnd/src/components/index.css | 100 |
1 files changed, 100 insertions, 0 deletions
diff --git a/FrontEnd/src/components/index.css b/FrontEnd/src/components/index.css new file mode 100644 index 00000000..a8f5e9a5 --- /dev/null +++ b/FrontEnd/src/components/index.css @@ -0,0 +1,100 @@ +@import "./theme.css";
+
+* {
+ box-sizing: border-box;
+ margin-inline: 0;
+ margin-block: 0;
+}
+
+body {
+ font-family: var(--cru-default-font-family);
+ background: var(--cru-body-background-color);
+ color: var(--cru-text-primary-color);
+ line-height: 1.2;
+}
+
+.cru-page {
+ padding: var(--cru-page-padding);
+}
+
+.cru-page-no-top-padding {
+ padding-top: 0;
+}
+
+.cru-text-center {
+ text-align: center;
+}
+
+.cru-text-end {
+ text-align: end;
+}
+
+.cru-float-left {
+ float: left;
+}
+
+.cru-float-right {
+ float: right;
+}
+
+.cru-align-text-bottom {
+ vertical-align: text-bottom;
+}
+
+.cru-align-middle {
+ vertical-align: middle;
+}
+
+.cru-clearfix::after {
+ clear: both;
+}
+
+.cru-fill-parent {
+ width: 100%;
+ height: 100%;
+}
+
+.cru-avatar {
+ width: 60px;
+ height: 60px;
+}
+
+.cru-avatar.large {
+ width: 100px;
+ height: 100px;
+}
+
+.cru-avatar.small {
+ width: 40px;
+ height: 40px;
+}
+
+.cru-round {
+ border-radius: 50%;
+}
+
+.cru-tab-pages-action-area {
+ display: flex;
+ align-items: center;
+}
+
+.alert-container {
+ position: fixed;
+ z-index: 1070;
+}
+
+@media (min-width: 576px) {
+ .alert-container {
+ bottom: 0;
+ right: 0;
+ }
+}
+
+@media (max-width: 575.98px) {
+ .alert-container {
+ bottom: 0;
+ right: 0;
+ left: 0;
+ text-align: center;
+ }
+}
\ No newline at end of file |