canaille-globuzma/canaille/static/css/base.css

236 lines
6.5 KiB
CSS
Raw Normal View History

2020-10-21 09:30:26 +00:00
@media only screen and (min-width: 1200px) {
.ui.ui.ui.container:not(.fluid) {
width: 770px;
margin-left: auto;
margin-right: auto;
}
}
@media only screen and (min-width: 992px) and (max-width: 1200px) {
.ui.ui.ui.container:not(.fluid) {
width: 790px;
margin-left: auto;
margin-right: auto;
}
2020-08-17 09:53:30 +00:00
}
2021-12-22 14:03:18 +00:00
@media only screen and (max-width:768px) {
.ui .grid .three.wide.column {
width: 100% !important;
text-align: center;
}
.ui .grid .thirteen.wide.column {
width: 100% !important;
}
}
2020-10-21 09:30:26 +00:00
body {
background: #F8F8F8;
2020-08-17 09:53:30 +00:00
padding: 1em;
}
2022-11-04 17:28:26 +00:00
.logo {
2023-03-15 16:27:32 +00:00
margin-left: auto;
margin-right: auto;
2022-11-04 17:28:26 +00:00
display: block;
}
2020-08-17 09:53:30 +00:00
.logo img{
2022-11-04 17:28:26 +00:00
width: 50px;
2020-08-17 09:53:30 +00:00
max-height: 50px;
}
2020-11-13 09:45:01 +00:00
2023-03-15 16:27:32 +00:00
.menu-container {
margin-bottom: 1em;
}
.menu-container .ui.item.menu {
justify-content: normal;
}
2020-11-13 09:45:01 +00:00
footer {
font-size: x-small;
text-align: center;
}
footer a {
color: #B0B0B0;
}
2021-05-06 15:15:42 +00:00
2022-07-29 13:35:38 +00:00
.ui.masthead .ui.header {
margin-bottom: 1em;
}
.ui.masthead .ui.text p {
margin-bottom: 1em;
margin-top:1em;
}
2023-04-03 08:10:13 +00:00
.pagination {
border-radius: .28571429rem;
overflow: hidden;
}
.disabled.ui.button {
color: rgba(0,0,0,1);
}
2022-07-29 13:35:38 +00:00
2021-05-06 15:15:42 +00:00
/* Fix button appearance for semantic-ui on webkit */
[type=button] {
-webkit-appearance: none;
}
2021-12-05 17:52:34 +00:00
.ui.corner.labeled.input .ui.dropdown .dropdown.icon {
margin-right: 1.5em;
}
2021-12-22 09:54:51 +00:00
i.massive.massive.massive.portrait.icon, i.massive.massive.massive.portrait.icons {
font-size: 8em;
2021-12-22 09:54:51 +00:00
margin-bottom: 15px;
}
2021-12-08 17:06:50 +00:00
.profile-form label img{
cursor: pointer;
}
.profile-form label i{
cursor: pointer;
}
.dropdown-active {
background: rgba(0,0,0,.05) !important;
}
2022-07-29 13:35:38 +00:00
2023-06-22 09:39:50 +00:00
/**
* Workaround for
* https://github.com/fomantic/Fomantic-UI/issues/2829
*/
.ui.corner.labeled.action.input .ui.corner.label {
right:40px;
z-index: 5;
}
.ui.corner.labeled.action.input .ui.button {
z-index: 99;
}
2023-07-11 08:08:52 +00:00
/* NO JS */
select.ui.multiple.dropdown {
height: auto;
max-height: 300px;
}
select.ui.multiple.dropdown option[selected] {
background-color: #F4F4F4;
font-weight: 700;
border: 0 solid transparent;
border-radius: .28571429rem;
padding: .35714286em .78571429em;
margin: .14285714rem .28571429rem .14285714rem 0;
box-shadow: 0 0 0 1px rgba(34,36,38,.15) inset;
}
/* MEDIA QUERIES */
2022-07-29 13:35:38 +00:00
@media (prefers-color-scheme: dark) {
2023-04-03 08:10:13 +00:00
.logo img {
filter: invert(.8) !important;
}
2022-07-29 13:35:38 +00:00
body, .ui.card .bottom, .ui.toggle.checkbox label:hover::before {
background-color: #222222;
}
.ui.segment, .ui.menu, .ui.table {
background-color: #353535 !important;
}
2023-04-03 08:10:13 +00:00
.ui a:visited, .ui a:visited .icon {
color: rgba(255,255,255,.87) !important;
}
.ui a, .ui a .icon {
color: rgba(255,255,255,.87) !important;
}
2023-04-04 08:18:43 +00:00
#ellipsis-next .disabled.ui.button {
background-color: #c0c1c2;
opacity: 1 !important;
}
2023-04-04 08:57:50 +00:00
2023-04-03 08:10:13 +00:00
body, .ui.menu .active.item, .ui.form:not(.inverted) .field > label:not(.button), .ui.info.message .header, .ui.input, .ui.toggle.checkbox label, .ui.header, .ui.form .field > label, .ui.list .list > .item > .content, .ui.list > .item > .content, .ui.card, .ui.cards > .card, .ui.card .bottom.button:hover, .ui.card .bottom.button:focus {
2022-07-29 13:35:38 +00:00
color: rgba(255,255,255,.87);
}
2023-02-23 17:32:17 +00:00
.ui.card .bottom, .ui.link.menu .item, .ui.menu .dropdown.item, .ui.menu .link.item, .ui.menu a.item, .ui.icon.menu .item, .ui.header .sub.header, .ui.label, table tbody tr td, .ui.card .bottom.button:hover, .ui.card .bottom.button:focus {
2022-07-29 13:50:01 +00:00
color: rgba(255,255,255,.7);
2022-07-29 13:35:38 +00:00
}
.ui.selection.dropdown, .ui.form input:not([type]), .ui.form input[type="date"], .ui.form input[type="datetime-local"], .ui.form input[type="email"], .ui.form input[type="file"], .ui.form input[type="number"], .ui.form input[type="password"], .ui.form input[type="search"], .ui.form input[type="tel"], .ui.form input[type="text"], .ui.form input[type="time"], .ui.form input[type="url"] {
background: #222222 !important;
color: rgba(255,255,255,.87) !important;
}
2023-04-03 08:10:13 +00:00
.ui.menu .active.item {
background: rgba(0,0,0,.20);
}
.ui.menu .active.item:hover {
background: rgba(0,0,0,.30);
}
2023-02-23 17:32:17 +00:00
table tbody tr td .ui.label:hover {
2022-08-01 07:07:27 +00:00
color: #353535 !important;
}
2022-07-29 13:35:38 +00:00
.ui.corner.label {
border-color: rgba(0,0,0,.2);
}
2023-02-23 17:32:17 +00:00
.ui.label, table tbody tr td, .ui.card .bottom.button:hover, .ui.card .bottom.button:focus {
2022-07-29 13:35:38 +00:00
background-color: #353535;
}
.ui.basic.negative.button, .ui.basic.negative.buttons .button {
box-shadow: 0 0 0 1px #ffb7b7 inset;
color: #ffb7b7;
}
.ui.link.menu .item:hover, .ui.menu .dropdown.item:hover, .ui.menu .link.item:hover, .ui.menu a.item:hover, .ui.menu a.item.active:hover {
color: rgba(255,255,255,.95);
2022-08-01 07:54:53 +00:00
}
.ui.attached.header, .ui.toggle.checkbox label::before, .ui.table > thead > tr > th, .ui.table > tfoot > tr > th, table tbody tr td .ui.label, .ui.card, .ui.cards > .card, .ui.message, .ui.info.message, .ui.success.message {
2022-07-29 13:35:38 +00:00
background-color: #282828;
color: rgba(255,255,255,.87) !important;
}
2023-02-23 17:32:17 +00:00
table tbody tr td {
2022-07-29 13:35:38 +00:00
color: rgba(255,255,255,.87) !important;
}
2023-02-23 17:32:17 +00:00
table tbody tr td .ui.label:hover {
2022-07-29 13:35:38 +00:00
background-color: rgba(255,255,255,.87);
}
2023-02-23 17:32:17 +00:00
table.no-footer, .ui.table {
2022-07-29 13:35:38 +00:00
border: 2px solid #282828;
}
.ui.table, .ui.card .header, .ui.card .description, .ui.message, .ui.info.message, .ui.success.message, .ui.toggle.checkbox {
color: rgba(255,255,255,.87) !important;
}
.ui.card, .ui.cards > .card {
border: 2px solid #222222;
outline: none;
box-shadow: none;
}
.ui.card .meta {
2022-07-29 13:50:01 +00:00
color: rgba(255,255,255,.7) !important;
2022-07-29 13:35:38 +00:00
}
2023-04-03 08:10:13 +00:00
.ui.attached.header, .ui.attached.segment, .ui.attached.menu:not(.tabular):not(.text), .ui.attached.segment:not(.basic), .ui.attached.table {
2022-07-29 13:35:38 +00:00
border: 1px solid #222222;
}
2022-07-29 13:50:01 +00:00
.ui.info.message {
background-color: rgba(0, 60, 255, 0.05);
}
.ui.success.message, .ui.positive.message {
background-color: rgba(22, 255, 72, 0.05);
}
.ui.warning.message {
background-color: rgba(255, 217, 0, 0.05);
}
.ui.negative.message, .ui.error.message {
background-color: rgba(255, 0, 0, 0.05);
}
2022-08-01 07:51:23 +00:00
.ui.form .field .dropdown .menu > .item {
background-color: #222;
border-top: 1px solid #181818;
color: rgba(255,255,255,0.87);
}
.ui.form .field .dropdown .menu > .item:hover {
background-color: #282828;
}
2022-07-29 13:35:38 +00:00
}