ldap-python-webui/static/style.css

298 lines
6.3 KiB
CSS
Raw Normal View History

2022-04-09 17:38:00 +02:00
body {
font-family: sans-serif;
color: #333;
}
main {
margin: 0 auto;
}
h1 {
font-size: 2em;
margin-bottom: 2.5em;
margin-top: 2em;
text-align: center;
}
h1 span{
text-transform: capitalize;
}
a:link{
text-decoration: none;
}
a:active {
color: #1F1F1F;
}
.user p{
text-transform: capitalize;
}
form[name="fullNameForm"] input{
text-transform: capitalize;
}
2023-04-06 22:09:26 +02:00
form, .logs {
2022-04-09 17:38:00 +02:00
/* border-radius: 0.2rem;
border: 1px solid #CCC;*/
margin: 0 auto;
max-width: 16rem;
padding: 2rem 2.5rem 1.5rem 2.5rem;
}
input {
background-color: #FAFAFA;
border-radius: 0.2rem;
border: 1px solid #CCC;
box-shadow: inset 0 1px 3px #DDD;
box-sizing: border-box;
display: block;
font-size: 1em;
padding: 0.4em 0.6em;
vertical-align: middle;
width: 100%;
}
.form-buttons{
display:flex;
flex-direction:row;
}
.form-buttons > a, .form-buttons > button{
flex-grow:1;
}
input:focus {
background-color: #FFF;
border-color: #51A7E8;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.075) inset, 0 0 5px rgba(81, 167, 232, 0.5);
outline: 0;
}
input.not-required {
background-color: #E0E0E0;
}
label {
color: #666;
display: block;
font-size: 0.9em;
font-weight: bold;
margin: 1em 0 0.25em 0;
}
button {
border-radius: 0.2rem;
border: 1px solid;
box-sizing: border-box;
color: #fff;
cursor: pointer;
display: block;
font-size: 0.9em;
font-weight: bold;
margin: 2em 0 0.5em 0;
padding: 0.5em 0.7em;
text-align: center;
text-decoration: none;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
user-select: none;
vertical-align: middle;
white-space: nowrap;
}
button.green {
background-color: #60B044;
background-image: linear-gradient(#8ADD6D, #60B044);
border-color: #5CA941;
}
button.green:focus,
button.green:hover {
background-color: #569E3D;
background-image: linear-gradient(#79D858, #569E3D);
border-color: #4A993E;
}
button.red {
background-color: #E74C3C;
background-image: linear-gradient(#CF0B04, #E74C3C);
border-color: #C0392B;
}
button.red:focus,
button.red:hover{
background-color: #D13E2E;
background-image: linear-gradient(#CF0000, #D13E2E);
border-color: #C92F1E;
}
2023-04-07 15:21:44 +02:00
.last-login-info {
background-color: #efefef;
/*background-image: linear-gradient(#fcfcfc, #f5f5f5);*/
background-image: linear-gradient(#f9e028, #ffd966);
padding-top: 1px;
padding-bottom: 1px;
border-radius: 0.2rem;
text-align: center;
}
.date {
font-weight: 100;
font-size: 0.8em;
}
.device-list li{
background-color: #efefef;
background-image: linear-gradient(#fcfcfc, #f6f6f6);
list-style: none;
font-size: 0.7em;
margin-bottom: 2px;
padding: 2px;
border-radius: 0.2rem;
}
2022-04-09 17:38:00 +02:00
/*alerts*/
.alerts {
margin: 2rem auto 0 auto;
max-width: 30rem;
animation-duration: 5s;
animation-fill-mode: both;
-webkit-animation-duration: 5s;
-webkit-animation-fill-mode: both;
}
.alert {
border-radius: 0.2rem;
border: 1px solid;
color: #fff;
padding: 0.7em 1.5em;
}
.alert.error {
background-color: #E74C3C;
border-color: #C0392B;
}
.alert.success {
background-color: #60B044;
border-color: #5CA941;
}
@-webkit-keyframes fadeOut {
0% {opacity: 1;}
70% {opacity: 1;}
100% {opacity: 0;}
}
@keyframes fadeOut {
0% {opacity: 1;}
60% {opacity: 1;}
100% {opacity: 0;}
}
.fadeOut {
-webkit-animation-name: fadeOut;
animation-name: fadeOut;
}
/**/
.grid-container {
display: grid;
2023-11-14 05:43:56 +01:00
grid-template-columns: auto max-content;
2022-04-09 17:38:00 +02:00
margin: 0 auto;
max-width: 16rem;
padding: 0 2.5rem 0 2.5rem;
align-items: first baseline;
}
2022-04-20 12:55:33 +02:00
.grid-item {
overflow-x: auto;
}
2022-04-09 17:38:00 +02:00
.grid-item a {
color: #222;
}
.grid-item a:visited {
color: #888;
}
.grid-item h5 {
text-transform: capitalize;
}
2023-11-06 13:07:43 +01:00
.grid-item input{
display: unset;
max-width: max-content;
}
2022-04-09 17:38:00 +02:00
/**/
@media only screen and (max-width: 480px) {
form {
border: 0;
}
2023-11-14 05:43:56 +01:00
2023-11-15 11:02:02 +01:00
}
2023-11-14 05:43:56 +01:00
/*
* https://remixicon.com
* https://github.com/Remix-Design/RemixIcon
* Copyright RemixIcon.com
* Released under the Apache License Version 2.0
*/
@font-face {
font-family: "remixicon";
2023-11-15 11:02:02 +01:00
src: url('fonts/remixicon.eot?t=1700036445706'); /* IE9*/
src: url('fonts/remixicon.eot?t=1700036445706#iefix') format('embedded-opentype'), /* IE6-IE8 */
url("fonts/remixicon.woff2?t=1700036445706") format("woff2"),
url("fonts/remixicon.woff?t=1700036445706") format("woff"),
url('fonts/remixicon.ttf?t=1700036445706') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
url('fonts/remixicon.svg?t=1700036445706#remixicon') format('svg'); /* iOS 4.1- */
2023-11-14 05:43:56 +01:00
font-display: swap;
}
[class^="ri-"], [class*="ri-"] {
font-family: 'remixicon' !important;
font-style: normal;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
2022-04-09 17:38:00 +02:00
}
2023-11-14 05:43:56 +01:00
.ri-lg { font-size: 1.3333em; line-height: 0.75em; vertical-align: -.0667em; }
.ri-xl { font-size: 1.5em; line-height: 0.6666em; vertical-align: -.075em; }
.ri-xxs { font-size: .5em; }
.ri-xs { font-size: .75em; }
.ri-sm { font-size: .875em }
.ri-1x { font-size: 1em; }
.ri-2x { font-size: 2em; }
.ri-3x { font-size: 3em; }
.ri-4x { font-size: 4em; }
.ri-5x { font-size: 5em; }
.ri-6x { font-size: 6em; }
.ri-7x { font-size: 7em; }
.ri-8x { font-size: 8em; }
.ri-9x { font-size: 9em; }
.ri-10x { font-size: 10em; }
.ri-fw { text-align: center; width: 1.25em; }
.ri-home-line:before { content: "\ee2b"; }
.ri-home-fill:before { content: "\ee26"; }
.ri-mail-line:before { content: "\eef6"; }
.ri-mail-fill:before { content: "\eef3"; }
.ri-send-plane-line:before { content: "\f0da"; }
.ri-send-plane-fill:before { content: "\f0d9"; }
.ri-chat-3-line:before { content: "\eb51"; }
.ri-chat-3-fill:before { content: "\eb50"; }
.ri-pencil-line:before { content: "\efe0"; }
.ri-pencil-fill:before { content: "\efdf"; }
.ri-file-line:before { content: "\eceb"; }
.ri-file-fill:before { content: "\ece0"; }
.ri-settings-3-line:before { content: "\f0e6"; }
.ri-settings-3-fill:before { content: "\f0e5"; }
.ri-user-line:before { content: "\f264"; }
.ri-user-fill:before { content: "\f25f"; }
.ri-account-circle-line:before { content: "\ea09"; }
.ri-account-circle-fill:before { content: "\ea08"; }
.ri-delete-bin-line:before { content: "\ec2a"; }
.ri-delete-bin-fill:before { content: "\ec29"; }
.ri-toggle-line:before { content: "\f219"; }
.ri-toggle-fill:before { content: "\f218"; }
.ri-history-line:before { content: "\ee17"; }
.ri-history-fill:before { content: "\ee16"; }}