UNPKG

camelot-unchained

Version:
272 lines (266 loc) 7.63 kB
/** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* this gets merged into cu-components/main.css so all paths are relative to that */ #unitframe:after { position: absolute; top: 20px; left: 0; content: url("unitframe/images/frame.png"); z-index: -1; } #unitframe { /* These styles apply only to sub-components of #unitframe */ visibility: hidden; position: absolute; top: 0; left: 0; width: 158px; height: 125px; background: transparent url("unitframe/images/bg.png") no-repeat 0 12px; } #unitframe #name { position: absolute; top: 0; left: 0; width: 154px; height: 20px; line-height: 20px; padding-left: 4px; font-family: 'Merriweather Sans', sans-serif; font-size: 11px; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } #unitframe #health-bar { position: absolute; top: 22px; left: 3px; width: 154px; height: 17px; background: transparent url("unitframe/images/health-bar.png") no-repeat top left; } #unitframe #health-text { position: absolute; top: 22px; left: 3px; width: 154px; height: 17px; line-height: 17px; color: #fff; font-family: Arial, sans-serif; font-size: 10px; text-align: center; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } #unitframe #stamina-bar { position: absolute; top: 41px; left: 3px; width: 154px; height: 11px; background: transparent url("unitframe/images/stamina-bar.png") no-repeat top left; } #unitframe #stamina-text { position: absolute; top: 41px; left: 3px; width: 154px; height: 11px; line-height: 11px; color: #a3eef9; font-family: Arial, sans-serif; font-size: 8px; text-align: center; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } #unitframe #effects { position: absolute; top: 60px; left: 3px; width: 168px; } #unitframe .effect-icon { float: left; width: 25px; height: 25px; margin: 0 3px 3px 0; } #unitframe .cse-injuries { top: 60px; } .cse-injuries { position: absolute; width: 100%; } .cse-injury { position: relative; width: 100%; height: 15px; } .cse-injury #injury-location { position: absolute; width: 50px; height: 15px; line-height: 15px; padding-left: 5px; font-family: 'Merriweather Sans', sans-serif; font-size: 11px; color: #efefef; text-align: left; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } .cse-injury #injury-wounds { position: absolute; right: 0; width: 25px; height: 15px; line-height: 15px; font-family: 'Merriweather Sans', sans-serif; font-size: 11px; color: #efefef; text-align: right; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } .cse-injury #injury-bar { position: absolute; left: 45px; width: 104px; height: 14px; background: transparent url("unitframe/images/health-bar.png") no-repeat top left; background-size: 104px 14px; } .cse-injury #injury-text { position: fixed; left: 45px; width: 104px; height: 15px; line-height: 15px; color: #fff; font-family: Arial, sans-serif; font-size: 10px; text-align: center; text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000, 0 0 3px #000; } /** * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ body { overflow: hidden; cursor: default; height: 100%; width: 100%; margin: 0; font-family: sans-serif; color: white; } #cse-ui-wounds { position: relative; width: 150px; background-color: rgba(0, 0, 0, 0.8); border: 1px solid rgba(255, 255, 255, 0.1); padding: 10px; padding-bottom: 5px; /* Paper Doll Styles */ /* Buff/Debuff styles */ /* Statistics Styles */ } #cse-ui-wounds .doll { margin-top: 20px; width: 150px; height: 115px; position: relative; } #cse-ui-wounds .doll .part { border: 0; position: absolute; top: 0; margin-left: 50%; left: -41px; width: 82px; height: 98px; background: transparent; opacity: 0.85; } #cse-ui-wounds .doll .label { position: absolute; z-index: 1; height: 12px; width: 48px; font-size: 10px; text-align: center; } #cse-ui-wounds .doll .label.part-0 { top: -7px; margin-left: 50%; left: -24px; } #cse-ui-wounds .doll .label.part-1 { top: 10px; margin-left: 50%; left: -60px; } #cse-ui-wounds .doll .label.part-2 { top: 10px; margin-left: 50%; left: 12px; } #cse-ui-wounds .doll .label.part-3 { top: 35px; margin-left: 50%; left: -55px; } #cse-ui-wounds .doll .label.part-4 { top: 90px; margin-left: 50%; left: -50px; } #cse-ui-wounds .doll .label.part-5 { top: 90px; margin-left: 50%; left: 2px; } #cse-ui-wounds .buffs { position: absolute; height: 85px; top: 40px; display: none; } #cse-ui-wounds .buffs .icon { width: 16px; height: 16px; display: block; margin-bottom: 4px; } #cse-ui-wounds .buffs.boon { left: 10px; } #cse-ui-wounds .buffs.bane { right: 10px; } #cse-ui-wounds .stats { width: 150px; opacity: 0.85; } #cse-ui-wounds .stats .stat { position: relative; height: 16px; } #cse-ui-wounds .stats .stat label { position: absolute; display: block; width: 30%; font-size: 10px; height: 10px; margin-top: 2px; font-weight: bold; } #cse-ui-wounds .stats .stat .bar, #cse-ui-wounds .stats .stat .fill { position: absolute; height: 6px; } #cse-ui-wounds .stats .stat .bar { left: 30%; width: 70%; margin-top: 5px; margin-left: 1%; } #cse-ui-wounds .stats .blood label { color: #fe1f16; } #cse-ui-wounds .stats .blood .bar { background-color: #400000; } #cse-ui-wounds .stats .blood .fill { background-color: #fe1f16; } #cse-ui-wounds .stats .stamina label { color: #f6ca06; } #cse-ui-wounds .stats .stamina .bar { background-color: #3d2b00; } #cse-ui-wounds .stats .stamina .fill { background-color: #f6ca06; } #cse-ui-wounds .stats .panic { display: none; } #cse-ui-wounds .stats .panic label { color: #fd6000; } #cse-ui-wounds .stats .panic .bar { background-color: #411900; } #cse-ui-wounds .stats .panic .fill { background-color: #fd6000; } #cse-ui-wounds .stats .temp { display: none; } #cse-ui-wounds .stats .temp label { color: white; } #cse-ui-wounds .stats .temp .bar { background-color: #fe1f16; } #cse-ui-wounds .stats .temp .fill { background-color: #12a2ff; }