You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

254 lines
3.7 KiB

// Fonts
@import url("https://fonts.googleapis.com/css?family=Raleway:300,400,600");
// Variables
@import "variables";
// Bootstrap
@import "node_modules/bootstrap-sass/assets/stylesheets/bootstrap";
// Featherlight
@import "node_modules/featherlight/src/featherlight";
.team {
display: flex;
align-items: center;
.team-icon {
display: flex;
align-items: center;
justify-content: center;
width: 40px;
height: 40px;
border-radius: 20px;
margin-right: 10px;
}
.team-icon.outlined {
border-width: 4px;
border-style: solid;
margin-right: 0;
color: white;
}
.team-icon.empty {
background-color: transparent !important;
color: black;
}
.team-name {
font-weight: bold;
}
}
.profile {
img {
width: 40px;
height: 40px;
border-radius: 20px;
border-width: 5px;
border-style: solid;
}
span {
}
}
.player-list {
ul {
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 1em;
}
li {
margin: 0;
padding: 4px 0;
}
}
.tweet-queue {
.tweet {
border-bottom: 1px #ccc solid;
cursor:pointer;
margin-top: 10px;
.mission {
font-weight: bold;
margin-top: 3px;
text-align: right;
float: right;
}
.text {
margin-top: 6px;
margin-bottom: 3px;
font-size: 11px;
line-height: 12px;
max-height: 36px;
overflow: hidden;
white-space: pre-wrap;
}
}
.tweet:first-child {
margin-top: 0;
}
.tweet:hover {
background: #e4f1f7;
}
}
.panel-body.tweet-queue {
padding: 8px;
}
.scorecard {
.panel-heading {
display: flex;
align-items: center;
.team {
flex: 1 0;
}
button {
margin-left: 10px;
}
}
.tweet {
.text {
white-space: pre-wrap;
font-size: 1.2em;
margin: 8px 0;
}
img {
max-width: 100%;
}
}
h2 {
margin: 0;
}
.instructions {
ul {
padding: 0;
padding-left: 10px;
}
}
.tweet-reply {
margin-top: 8px;
border: 1px $laravel-border-color solid;
border-radius: 6px;
padding: 8px;
background-color: $body-bg;
.bottom {
display: flex;
align-items: center;
.fill {
flex: 1;
}
img {
margin-right: 4px;
}
.remaining-chars {
margin-right: 10px;
}
}
}
.tweet-actions {
margin-top: 12px;
display: flex;
button {
flex: 1;
}
button:first-child {
margin-right: 2px;
}
button:last-child {
margin-left: 2px;
}
}
}
.multi-photo {
overflow: hidden;
border-radius: 6px;
.photo {
position: relative;
overflow: hidden;
float: left;
cursor: pointer;
/* This positions and sizes the image (background-image) within the grid container */
background-size: cover;
background-position: 50% 50%;
/* for multi-photo posts with 4 or more photos, use this */
width: 50%;
height: 240px;
img {
/* hide the img tag because the image is shown by the background image */
display: none;
}
}
}
.multi-photo-clear {
clear: both;
}
.multi-photo.photos-1 .photo {
width: 100%;
height: 400px;
}
/* 2-up multi-photos use this layout */
.multi-photo.photos-2 .photo {
width: 50%;
height: 300px;
}
/* 3-up multi-photos use this layout */
.multi-photo.photos-3 .photo:nth-child(1) {
width: 65%;
height: 400px;
}
.multi-photo.photos-3 .photo:nth-child(2),
.multi-photo.photos-3 .photo:nth-child(3) {
width: 35%;
height: 200px;
}
.scoreboard {
th, td {
font-family: Helvetica, Arial, sans-serif;
}
td.score, th.score {
text-align: center;
}
td.total.score {
font-size: 20px;
}
td .team-wrap {
display: inline-block;
}
}