BlazorStart/Start/Client/wwwroot/css/app.css

182 lines
2.6 KiB
CSS
Raw Normal View History

2021-12-05 23:50:48 +00:00
/* Validation */
2021-11-13 03:21:59 +00:00
.valid.modified:not([type=checkbox]) {
outline: 1px solid #26b050;
2021-11-13 03:21:59 +00:00
}
.invalid {
outline: 1px solid red;
2021-11-13 03:21:59 +00:00
}
.validation-message {
color: red;
2021-11-13 03:21:59 +00:00
}
2021-12-05 23:50:48 +00:00
/* Blazor */
2021-11-13 03:21:59 +00:00
#blazor-error-ui {
background: lightyellow;
bottom: 0;
box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
display: none;
left: 0;
padding: 0.6rem 1.25rem 0.7rem 1.25rem;
position: fixed;
width: 100%;
z-index: 1000;
}
#blazor-error-ui .dismiss {
cursor: pointer;
position: absolute;
right: 0.75rem;
top: 0.5rem;
}
2021-12-05 23:50:48 +00:00
/* Spectre's default is no padding */
.container {
padding: 0.4rem;
}
2021-11-30 05:22:14 +00:00
2021-12-05 23:50:48 +00:00
/* The splash screen */
2021-11-30 05:22:14 +00:00
.appLoadingContainer {
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
2021-12-05 23:50:48 +00:00
#sidebar {
display: flex;
flex-direction: column;
}
2021-12-08 05:35:56 +00:00
#sidebar #sidebarHeading {
padding: 0.5rem 1.5rem;
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
2021-12-08 05:35:56 +00:00
#sidebar #sidebarHeading h1 {
margin: 0;
}
2021-12-08 05:35:56 +00:00
#sidebar .nav {
padding: 0.5rem 1.5rem;
}
2021-12-08 05:35:56 +00:00
#sidebar #sidebarItems {
flex: 1; /* Fill remaining space */
overflow-y: auto;
}
2021-12-08 05:35:56 +00:00
#sidebar .accountActions {
border-top: solid 1px #dadee4;
}
2021-12-08 05:35:56 +00:00
#sidebar .accountActions .accountName {
font-weight: bold;
margin-bottom: 1em;
}
.off-canvas .off-canvas-content {
padding: 0;
}
2021-12-08 01:34:47 +00:00
#menuButton .icon {
transform: scale(1.2);
}
#containerTabStrip {
width: 100%;
display: flex;
align-items: center;
}
2021-12-08 05:35:56 +00:00
#containerTabStrip #menuButton {
flex: 0 0 auto;
margin-right: 1em;
margin-left: 1em;
}
2021-12-08 05:35:56 +00:00
#containerTabStrip .containerList {
flex: 1 0 0;
}
2021-12-08 05:35:56 +00:00
#containerTabStrip .containerList .tab-item a {
padding: .6rem .4rem .6rem .4rem;
}
2021-12-08 01:34:47 +00:00
2021-12-05 23:50:48 +00:00
#bookmarkGroups {
margin-top: 1em;
margin-left: auto;
margin-right: auto;
max-width: 1280px;
display: grid;
grid-column-gap: 1.25rem;
grid-row-gap: 1.25rem;
}
@media screen and (max-width: 960px) {
#bookmarkGroups {
grid-template-columns: repeat(1, 1fr);
padding: 1em;
}
}
@media screen and (min-width: 960px) {
#bookmarkGroups {
grid-template-columns: repeat(2, 1fr);
2021-12-08 01:34:47 +00:00
width: 60%;
2021-12-05 23:50:48 +00:00
}
}
@media screen and (min-width: 1440) {
2021-12-05 23:50:48 +00:00
#bookmarkGroups {
grid-template-columns: repeat(3, 1fr);
2021-12-08 01:34:47 +00:00
width: 60%;
2021-12-05 23:50:48 +00:00
}
}
.bookmarkGroup {
width: 100%;
}
2021-12-08 05:35:56 +00:00
.bookmarkGroup .card-header {
padding-top: 0;
}
2021-12-05 23:50:48 +00:00
2021-12-08 05:35:56 +00:00
.bookmarkGroup .card-title {
margin-top: 0.5em;
}
2021-12-05 23:50:48 +00:00
2021-12-08 05:35:56 +00:00
.bookmarkGroup .card-body {
padding: 0;
}
2021-12-05 23:50:48 +00:00
2021-12-08 05:35:56 +00:00
.bookmarkGroup .card-body:last-child {
padding: 0;
}
2021-12-05 23:50:48 +00:00
ul.bookmarks {
list-style: none;
margin: 0;
}
li.noBookmarksItem {
margin-top: 0;
}
.addBookmarkGroupButton button {
width: 100%;
margin-top: 0.5em;
}
button.addBookmarkButton {
width: 100%;
2021-12-05 23:50:48 +00:00
}