Template:CharacterTableControls/style.css: Difference between revisions

From Blue Archive Wiki
Jump to navigation Jump to search
Content added Content deleted
(Created page with ".charactertable-controls { background-color: #f8f9fa; border: 1px solid #a2a9b1; margin: auto; padding: 0.2em 0.4em; display: flex; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; } .charactertable-controls div.controls > span { display: inline-block; height:30px; width:30px; background-color: palevioletred; }")
 
m (Reverted edit by Collei (talk) to last revision by Electricsheep)
Tag: Rollback
 
(19 intermediate revisions by 2 users not shown)
Line 1: Line 1:
.charactertable-controls {
.charactertable-controls {
user-select: none;
box-sizing: border-box;
background-color: #f8f9fa;
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
margin: auto;
padding: 0.5em 0.4em;
padding: 0.2em 0.4em;
display: flex;
display: flex;
flex-direction: row;
flex-direction: row;
Line 10: Line 10:
justify-content: space-between;
justify-content: space-between;
flex-wrap: wrap;
flex-wrap: wrap;
gap: 8px 20px;
gap: 12px 20px;
line-height: normal;
}
}


.charactertable-controls div.controls > span {
display: inline-flex;
align-items: center;
justify-content: center;
height:32px;
width:34px;
margin: 0 1px;
border-radius: 2px;
cursor: pointer;
position: relative;
}


.charactertable-controls .inactive {
filter: grayscale(0.3);
opacity: 0.4;
}


.charactertable-controls div.controls > span {
.charactertable-controls .controls-school .inactive {
display: inline-block;
filter: grayscale(0.8);
height:30px;
opacity: 0.35;
}
width:30px;

background-color: palevioletred;




.charactertable-controls div.controls-class > span {
width: 82px;
height: 26px;
border-width: 0 3px;
border-style: solid;
border-radius: 8px;
font-size: 16px;
font-weight: bold;
text-transform: uppercase;
background-color: #ecf5f9;
transform: skewX(-10deg);
}

.charactertable-controls div.controls-class > span.class-striker {
border-color: #f54d29;
}
.charactertable-controls div.controls-class > span.class-special {
border-color: #0785fb;
}

.charactertable-controls div.controls-class > span {
margin: 0 1px!important;
}

.charactertable-controls div.controls-school > span {
margin: 0 -2px!important;
}

.charactertable-controls div.controls-attack > span,
.charactertable-controls div.controls-armor > span {
border: 1px solid #2d4c72;
}

.charactertable-controls div.controls-pool > span {
width: 82px;
height: 26px;
border-width: 0 3px;
border-style: solid;
border-radius: 8px;
border-color: #112134;
font-size: 16px;
font-weight: bold;
/* text-transform: uppercase; */
background-color: #ecf5f9;
transform: skewX(-10deg);
}

.charactertable-controls div.controls-pool {
flex-grow: 1;
text-align: right;
}

.charactertable-controls div.controls-school span.school-abydos > img {
object-position: 0 3px;
}

@media (max-width: 1200px) {
.charactertable-controls div.controls-school,
.charactertable-controls div.controls-pool {
flex-grow: 1;
text-align: center;
}
}
}

Latest revision as of 13:29, 6 March 2024

.charactertable-controls {
    user-select: none;
    box-sizing: border-box;
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 0.5em 0.4em;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 20px;
    line-height: normal;
}

.charactertable-controls div.controls > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height:32px;
    width:34px;
    margin: 0 1px;
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.charactertable-controls .inactive {
    filter: grayscale(0.3);
    opacity: 0.4;
}

.charactertable-controls .controls-school .inactive {
    filter: grayscale(0.8);
    opacity: 0.35;
}





.charactertable-controls div.controls-class > span {
    width: 82px;
    height: 26px;
    border-width: 0 3px;
    border-style: solid;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    background-color: #ecf5f9;
    transform: skewX(-10deg);
}

.charactertable-controls div.controls-class > span.class-striker {
    border-color: #f54d29;
}
.charactertable-controls div.controls-class > span.class-special {
    border-color: #0785fb;
}

.charactertable-controls div.controls-class > span {
    margin: 0 1px!important;
}

.charactertable-controls div.controls-school > span {
    margin: 0 -2px!important;
}

.charactertable-controls div.controls-attack > span,
.charactertable-controls div.controls-armor > span {
    border: 1px solid #2d4c72;
}

.charactertable-controls div.controls-pool > span {
    width: 82px;
    height: 26px;
    border-width: 0 3px;
    border-style: solid;
    border-radius: 8px;
    border-color: #112134;
    font-size: 16px;
    font-weight: bold;
    /* text-transform: uppercase; */
    background-color: #ecf5f9;
    transform: skewX(-10deg);
}

.charactertable-controls div.controls-pool {
    flex-grow: 1;
    text-align: right;
}

.charactertable-controls div.controls-school span.school-abydos > img {
    object-position: 0 3px;
}

@media (max-width: 1200px) {
    .charactertable-controls div.controls-school,
    .charactertable-controls div.controls-pool {
        flex-grow: 1;
        text-align: center;
    }
}