forked from GitHub-Mirrors/foundry-sw5e
Beginning of global styling; Full Sidebar restyle
This commit is contained in:
parent
a8c2881a7b
commit
f7d7580b3a
53 changed files with 6671 additions and 1811 deletions
103
less/original/chat.less
Normal file
103
less/original/chat.less
Normal file
|
@ -0,0 +1,103 @@
|
|||
@import "variables.less";
|
||||
|
||||
/* ----------------------------------------- */
|
||||
/* Chat Cards
|
||||
/* ----------------------------------------- */
|
||||
|
||||
.sw5e.chat-card {
|
||||
font-style: normal;
|
||||
font-size: 12px;
|
||||
|
||||
.card-header {
|
||||
padding: 3px 0;
|
||||
border-top: 2px groove #FFF;
|
||||
border-bottom: 2px groove #FFF;
|
||||
|
||||
img {
|
||||
flex: 0 0 36px;
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
h3 {
|
||||
flex: 1;
|
||||
margin: 0;
|
||||
line-height: 36px;
|
||||
.bungeeInline();
|
||||
color: @colorOlive;
|
||||
&:hover {
|
||||
color: #111;
|
||||
text-shadow: 0 0 10px red;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.card-content {
|
||||
margin: 5px 0;
|
||||
|
||||
h3 {
|
||||
font-size: 12px;
|
||||
margin: 0;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
> * {
|
||||
-webkit-user-select: text;
|
||||
-moz-user-select: text;
|
||||
-ms-user-select: text;
|
||||
user-select: text;
|
||||
}
|
||||
}
|
||||
|
||||
.card-buttons {
|
||||
margin: 5px 0;
|
||||
|
||||
span {
|
||||
display: block;
|
||||
line-height: 28px;
|
||||
text-align: center;
|
||||
border: 1px solid @borderLight;
|
||||
}
|
||||
|
||||
button {
|
||||
font-size: 12px;
|
||||
height: 24px;
|
||||
line-height: 20px;
|
||||
margin: 2px 0;
|
||||
}
|
||||
}
|
||||
|
||||
.card-footer {
|
||||
padding: 3px 0 0;
|
||||
border-top: 2px groove #FFF;
|
||||
|
||||
span {
|
||||
border-right: 2px groove #FFF;
|
||||
padding: 0 5px 0 0;
|
||||
font-size: 10px;
|
||||
|
||||
&:last-child {
|
||||
border-right: none;
|
||||
padding-right: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.dice-roll .dice-total {
|
||||
&.success {
|
||||
color: inherit;
|
||||
background: #c7d0c0;
|
||||
border: 1px solid #006c00;
|
||||
}
|
||||
&.failure {
|
||||
color: inherit;
|
||||
background: #ffdddd;
|
||||
border: 1px solid #6e0000;
|
||||
}
|
||||
&.critical {
|
||||
color: green;
|
||||
}
|
||||
&.fumble {
|
||||
color: red;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue