nextcloud-unroundedcorners/css/unround.css

91 wiersze
2.9 KiB
CSS

2023-08-23 19:23:38 +00:00
:root { /* Body container settings, mostly for removing the side margins, and for applying the styles to guest pages */
2022-10-21 11:57:31 +00:00
--body-container-margin: 0px !important;
--body-container-radius: 0px !important;
2023-08-23 19:23:38 +00:00
--border-radius-large: 4px !important;
--border-radius-rounded: 4px !important;
--border-radius-pill: 4px !important;
2022-10-20 19:44:46 +00:00
}
2022-11-23 23:53:51 +00:00
[data-theme-default], [data-theme-light], [data-theme-dark], [data-theme-light-highcontrast], [data-theme-dark-highcontrast]{ /* For sitewide buttons, both themes */
2021-09-12 16:42:03 +00:00
--border-radius-large: 4px !important; /* Used on the dashboard */
2023-08-21 13:11:44 +00:00
--border-radius-rounded: 4px !important; /* Used on the dashboard */
2021-09-12 16:42:03 +00:00
--border-radius-pill: 4px !important; /* Used everywhere else */
}
2022-10-20 19:44:46 +00:00
#app-navigation:not(.vue) {
--border-radius-pill: var(--border-radius-pill) !important; /* Navigation buttons on sidebar */
}
.checkbox-radio-switch__label { /* Radio button, used mainly in settings */
border-radius: var(--border-radius-pill) !important;
}
2021-09-12 16:42:03 +00:00
.list-item, .list-item-style, .action-item--single, .action-item__menutoggle{ /* For E-mail app */
border-radius: var(--border-radius-pill) !important;
2021-09-12 16:42:03 +00:00
}
2022-10-20 19:44:46 +00:00
.envelope { /* Content part of E-mails */
border-radius: var(--border-radius-pill) !important;
}
2021-09-12 16:42:03 +00:00
.fc-day-today .fc-daygrid-day-number{ /* For Calendar app */
border-radius: var(--border-radius-pill) !important;
2021-09-18 10:59:35 +00:00
}
.note-card-view, .folder-card-view{ /* For Carnet app */
border-radius: var(--border-radius-pill) !important;
2021-09-18 10:59:35 +00:00
}
2021-10-13 21:56:34 +00:00
#uploadprogressbar { /* For upload progress bar */
border-radius: var(--border-radius-pill) 0 0 var(--border-radius-pill) !important;
2021-10-13 21:56:34 +00:00
}
2021-10-15 19:32:08 +00:00
/* For buttons, needs to be before specific button overrides (like the E-mail icon-history) */
2021-10-15 19:32:08 +00:00
input[type='submit'],
input[type='submit'].icon-confirm,
input[type='button'],
button,
a.button,
.button,
select {
border-radius: var(--border-radius-pill) !important;
}
2021-10-17 00:40:34 +00:00
.guest-box, .body-login-container { /* Login container (requires hardcoded radius, login page overrides local variables) */
border-radius: 4px !important;
}
.two-factor-provider { /* For two-factor login options */
2021-10-17 00:40:34 +00:00
width: 100% !important;
}
/* Fix some button misalignments */
#body-login:first-of-type button[type="submit"] { /* For login button, also requires hardcoded radius */
width: 100% !important;
border-radius: 4px !important;
2021-10-17 00:40:34 +00:00
}
.icon-history{
border-radius: 100px !important; /* Still E-mail, reversing the border for this icon as it has an animation that would overlap */
}
2023-10-09 08:44:35 +00:00
/* Fix width of select items, especially for the contacts page */
.vs__selected {
min-width: unset !important;
}
2024-03-10 02:28:10 +00:00
/* Used at the file navigation buttons for example */
.button-vue {
border-radius: var(--border-radius-pill) !important;
}
/* Used on some settings panels */
.checkbox-content {
border-radius: var(--border-radius-pill) !important;
}
2024-04-20 01:58:12 +00:00
/* Fix OnlyOffice app height */
#onlyofficeFrame {
height: calc(100vh + 8px);
}