foundryvtt-beam-saber/scss/style.scss

453 lines
7.3 KiB
SCSS
Raw Normal View History

2020-04-27 15:37:57 +00:00
// Colors
$lightgray: #CCC;
$gray: #999;
$red: red;
$almost_black: #191813;
// Imports
@import 'mixin.scss';
2020-04-27 15:37:57 +00:00
2020-04-17 21:23:57 +00:00
/*
* General Styles
*/
* {
font-family: Georgia, "Bitstream Charter", "Times New Roman", serif;
2020-04-21 16:06:33 +00:00
ul {
list-style: none;
}
form {
&.actor-sheet {
padding: 20px;
}
}
textarea {
margin-top: 10px;
}
td {
padding: 5px;
}
section {
2020-04-21 16:06:33 +00:00
margin-bottom: 10px;
display: flex;
flex-direction: row;
justify-content: space-between;
> * {
margin-right: 10px;
&:last-child {
margin-right: 0px;
}
}
.grow-one {
flex-grow: 1;
}
.grow-two {
flex-grow: 2;
}
&.experience {
margin-bottom: 0px;
justify-content: center;
}
}
.editor,
.editor-content {
min-height: 280px;
}
.flex-horizontal {
display: flex;
flex-direction: row;
justify-content: space-between;
}
.flex-vertical {
display: flex;
flex-direction: column;
2020-04-21 16:06:33 +00:00
}
.black-label {
background-color: $almost_black;
2020-04-21 16:06:33 +00:00
color: white;
font-size: 21px;
2020-04-21 16:06:33 +00:00
text-align: center;
padding: 0px 5px;
height: 30px !important;
2020-04-21 16:06:33 +00:00
text-transform: capitalize;
}
2020-04-27 15:37:57 +00:00
.gray-label {
background-color: $gray;
color: $almost_black;
2020-04-27 15:37:57 +00:00
font-size: 21px;
text-align: center;
padding: 0px 5px;
height: 30px !important;
text-transform: capitalize;
}
2020-04-21 16:06:33 +00:00
.label-stripe {
text-transform: uppercase;
background-color: #888;
margin-bottom: 10px;
position: relative;
padding-left: 10px;
display: flex;
2020-04-21 16:06:33 +00:00
}
2020-04-17 21:23:57 +00:00
// Stress and Trauma
2020-04-27 16:42:40 +00:00
.big-teeth-section {
2020-04-17 21:23:57 +00:00
border-top: 3px solid $almost_black;
2020-04-17 21:23:57 +00:00
display: flex;
flex-direction: row;
margin-bottom: 0px;
2020-04-17 21:23:57 +00:00
> * {
margin-right: 10px;
2020-04-27 16:42:40 +00:00
&:last-child {
margin-right: 0px;
}
2020-04-17 21:23:57 +00:00
}
&:last-child {
margin-right: 0px;
}
// Stress
2020-04-27 16:42:40 +00:00
.big-teeth {
@include toothradio(17px, 50px, "assets/teeth/stresstooth-halfgrey.png", "assets/teeth/stresstooth-red.png");
2020-04-17 21:23:57 +00:00
}
/* Trauma */
2020-04-27 16:42:40 +00:00
.small-teeth-container {
2020-04-17 21:23:57 +00:00
2020-04-27 16:42:40 +00:00
.small-teeth-wrap {
@include toothradio(17px, 50px, "assets/teeth/shorttooth-grey.png", "assets/teeth/shorttooth-red.png");
2020-04-21 16:06:33 +00:00
flex-direction: column;
2020-04-27 16:42:40 +00:00
.small-teeth {
2020-04-21 16:06:33 +00:00
display: flex;
flex-direction: row;
}
2020-04-17 21:23:57 +00:00
}
}
#trauma-list {
@include check_underscore();
2020-04-21 16:06:33 +00:00
justify-content: space-between;
align-items: flex-start;
2020-04-17 21:23:57 +00:00
}
}
2020-04-28 14:10:14 +00:00
// Abilities
#abilities {
.item-name {
width: 70px;
}
.item-body {
width: auto;
}
.item-description {
width: 200px;
}
}
2020-04-28 14:10:14 +00:00
// Experience teeth
.teeth-experience {
@include toothradio(10px, 30px, "assets/teeth/stresstooth-halfgrey.png", "assets/teeth/stresstooth-red.png");
position: absolute;
top: 0px;
right: 10px;
}
2020-04-21 16:06:33 +00:00
#harm-armor {
display: flex;
2020-04-17 21:23:57 +00:00
2020-04-21 16:06:33 +00:00
// Harm
#character-harm {
2020-04-17 21:23:57 +00:00
width: 100%;
2020-04-21 16:06:33 +00:00
table {
width: 100%;
th {
background-color: $almost_black;
2020-04-21 16:06:33 +00:00
color: white;
}
input[type="text"] {
width: 100%;
}
2020-04-17 21:23:57 +00:00
}
2020-04-21 16:06:33 +00:00
}
// Clock
#character-health-clock {
2020-04-27 15:37:57 +00:00
@include clock(4, 80, white, $red);
2020-04-21 16:06:33 +00:00
margin: 0 auto;
}
2020-04-17 21:23:57 +00:00
2020-04-21 16:06:33 +00:00
#character-armor-uses {
div {
display: flex;
flex-direction: row;
justify-content: space-between;
2020-04-17 21:23:57 +00:00
}
}
}
2020-04-21 16:06:33 +00:00
#attributes {
display: flex;
flex-direction: column;
.stripe {
background-color: $almost_black;
color: white;
font-size: 17px;
padding-left: 5px;
2020-04-21 16:06:33 +00:00
}
2020-04-21 16:06:33 +00:00
.attributes-exp {
position: relative;
margin-bottom: 10px;
.stripe-tooth-body {
@include toothradio(10px, 30px, "assets/teeth/xptooth-white.png", "assets/teeth/xptooth-red.png");
position: absolute;
top: 0px;
right: 0px;
}
2020-04-21 16:06:33 +00:00
}
.attributes-container {
display: flex;
margin: 5px 0px;
@include custom_radio(15px, 15px);
2020-04-21 16:06:33 +00:00
* {
margin-right: 5px;
}
2020-04-17 21:23:57 +00:00
}
}
// ITEM
.item {
justify-content: space-between;
.item-body {
margin-bottom: 10px;
* {
margin-right: 10px;
}
.item-description {
font-style: italic;
text-align: justify;
}
}
div {
flex-grow: 2;
}
.item-control {
flex-grow: 1;
}
.item-body,
.item-class-label {
width: 100px;
}
}
2020-04-27 16:42:40 +00:00
.item-class-label {
margin-bottom: 10px;
}
#name,
2020-04-27 16:42:40 +00:00
#lair,
#alias {
margin-bottom: 10px;
// color: red;
// background-image: url("assets/brush/dry-brush-stroke-3.png");
// background-repeat: no-repeat;
// background-size: cover;
// height: 67px;
// input {
// color: red;
// border: none;
// background: none;
// }
}
.profile-img {
margin: 0px 30px;
}
$coin_size: 15px;
$coin_margin: 3px;
.coins {
@include custom_radio_square($coin_size);
flex-wrap: wrap;
label {
margin-right: $coin_margin;
margin-bottom: $coin_margin;
&[for$="0"] {
border-width: 2px;
}
}
&.coins-hands {
width: 36px;
}
&.coins-stashed {
width: 190px;
}
}
// Crew Coins
.crew-coins {
@include custom_radio_square($coin_size);
flex-wrap: wrap;
max-width: 4 * ($coin_size + $coin_margin);
label {
margin-right: $coin_margin;
margin-bottom: $coin_margin;
}
}
// Reputation
#crew-reputation {
border-top: 3px solid $almost_black;
@include toothradio(17px, 50px, "assets/teeth/stresstooth-halfgrey.png", "assets/teeth/stresstooth-red.png");
input[disabled="disabled"] + label {
background-image: url(assets/teeth/stresstooth-black.png);
}
}
// Turfs.
#turf-list {
display: flex;
flex-direction: column;
.turf-row {
display: flex;
flex-direction: row;
flex-wrap: wrap;
*:first-child {
margin-left: 0px;
}
*:last-child {
margin-right: 0px;
}
2020-04-27 14:18:39 +00:00
}
2020-04-27 14:18:39 +00:00
&.section-non-editable {
.turf-block {
2020-04-27 14:18:39 +00:00
@include turf_block(130px, 100px);
}
}
2020-04-27 14:18:39 +00:00
&.section-editable {
.turf-block {
@include turf_block(130px, 125px);
}
}
}
2020-04-27 15:37:57 +00:00
#crew-hold {
border-top: 3px solid $almost_black;
2020-04-27 15:37:57 +00:00
@include toothradio_single(17px, 50px, "assets/teeth/stresstooth-halfgrey.png", "assets/teeth/stresstooth-red.png");
width: 221px;
2020-04-27 15:37:57 +00:00
}
#crew-tier {
background-color: $gray;
height: 33px;
2020-04-27 16:42:40 +00:00
width: 145px;
2020-04-27 15:37:57 +00:00
display: flex;
align-items: center;
border-top: 3px solid $almost_black;
2020-04-27 15:37:57 +00:00
@include custom_radio_round(18px, gray, $lightgray, $almost_black);
2020-04-27 15:37:57 +00:00
> * {
margin-right: 5px;
}
}
2020-04-27 16:42:40 +00:00
#heat-wanted {
justify-content: none;
}
2020-04-28 14:10:14 +00:00
.experience-clues-container {
width: 340px;
font-size: 12px;
.experience-clues-description {
font-weight: bold;
}
.experience-clues {
font-style: italic;
}
}
.class-name {
width: 512px;
height: 120px;
display: flex;
align-items: center;
justify-content: space-around;
2020-04-28 14:10:14 +00:00
font-size: 48px;
text-transform: uppercase;
border: 3px solid $almost_black;
.big-name {
font-weight: bold;
}
.big-description {
font-size: 20px;
color: $almost_black;
}
2020-04-28 14:10:14 +00:00
}
2020-04-17 21:23:57 +00:00
}