143 行
2.1 KiB
CSS

a.btn {
text-decoration: none;
}
.btn {
--btn-fg: #FFF;
color: var(--btn-fg) !important;
border-radius: .4em;
padding: .3em 0;
line-height: 1.5em;
cursor: pointer;
transition: filter .3s ease-out;
width: 5em;
text-align: center;
font-size: 18px;
border: 1px solid transparent;
}
.btn:disabled {
cursor: not-allowed;
filter: grayscale(100%) opacity(.5);
}
.btn:active {
color: var(--btn-fg) !important;
}
.btn:hover(:not(:disabled)) {
filter: brightness(1.2);
}
.btn-primary {
background-color: #0AF;
}
.btn-ok {
background-color: #47c74c;
}
.btn-gray {
background-color: #E8E8E8;
--btn-fg: #000;
}
.btn-sdu {
background-color: #9D0004;
}
.btn-light {
background-color: #fcfcfc;
--btn-fg: #333;
}
.btn.btn-hollow {
background-color: transparent;
border: 1px solid #FFF;
}
.btn.btn-dark.btn-hollow {
border: 1px solid #AAA;
--btn-fg: #333;
}
.btn-circle {
border-radius: 50%;
width: 40px;
height: 40px;
padding: 8px;
box-shadow: 1px 1px 4px 0 #0003;
}
.btn-straight {
border-radius: .2em;
width: 6em;
}
.btn-pill {
border-radius: 1em;
padding: .15em 0;
width: 4em;
}
.col-center {
width: 100%;
display: flex;
justify-content: center;
}
.col-center > .spinner {
padding: 0;
margin: 0;
}
.banner {
height: 80px;
width: 100%;
display: flex;
justify-content: space-between;
padding: 10px 60px;
box-sizing: border-box;
background-color: #9D0004;
}
.sdu,
.user {
height: 100%;
display: flex;
align-items: center;
}
.sdu-logo,
.user-logo {
height: 100%;
}
.sdu-name {
height: 30px;
margin-left: 10px;
}
.nav {
display: flex;
margin-left: 20px;
}
.nav-item {
padding: 12px 16px;
}
.nav-link {
text-decoration: none;
color: white;
font-size: 18px;
}
.nav-link:active {
color: white;
}
b {
color: #9E0004;
}
.content {
width: 1000px;
margin: 0 auto;
padding-top: 30px;
}
@media (max-width: 1080px) {
.content {
width: calc(100% - 80px);
margin: 0 40px;
}
}
/* modifying sweet alert */
.expanded-msg {
padding: 50px 0;
}
.swal2-actions > .btn {
margin: 0 40px;
}