All Downloads are FREE. Search and download functionalities are using the official Maven repository.

view.statement.css Maven / Gradle / Ivy

:root {
  --cg-grey-new: #838891;
}

html,
body {
  height: 100%
}

body {
  display: block;
  color: white;
  font-family: 'Open Sans', Lato, sans-serif;
  font-weight: 400;
  background-color: #363e48;
  line-height: 1.6;
}

textarea {
  color: white;
  background-color: #29323c;
  border: solid 1px #363e48;
  outline: none;
}

button {
  border: none;
  font: inherit;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

*,
:after,
:before {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.tab-buttons {
  padding: 10px 10px 0px 10px;
  height: 50px;
}

.tab-buttons button {
  height: 40px;
  outline: none;
  background-color: #ffffff;
  float: left;
  padding: 0px 16px;
  transition: 0.3s;
  opacity: 0.8;
  transition: opacity 0.2s, background-color: 0.2s;

}

.tab-buttons button:hover {
  opacity: 0.64;
}

.tab-buttons button.active {
  background-color: #f2bb13;
  opacity: 1;
}

#statementInput {
  width: 600px;
  height: 100%;
  display: flex;
  flex: 1;
  padding: 3px;
}

#save {
  flex: none;
  display: block;
  width: 300px;
  background-color: #f2bb13;
  color: #252e38;
  margin-top: 10px;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  min-height: 42px;
}

#save:hover {
  opacity: 0.8;
  transition: 0.2s;
}

#save:disabled {
  opacity: 0.8;
  cursor: default;
}

.wrapper {
  display: flex;
  flex-direction: column;
  max-height: 100vh;
  padding: 10px;
}

.tab-content {
  display: flex;
  flex: 1;
  min-height: 0;
}

.preview {
  overflow: auto;
  padding-top: 20px;
}

.edit {
  background: #252e38;
  margin: 10px;
  padding: 20px;
  flex: none;
  display: flex;
  flex-direction: column;
  min-height: 90vh;
}

.edit-title,
.preview-title {
  font-size: 13px;
  font-weight: 600;
  color: #f2bb13;
  text-transform: uppercase;
  margin-bottom: 9px;
  flex: none;
  display: flex;
}

#error,
#result {
  font-size: 13px;
}

#error {
  color: red;
  margin: 10px 0;
}

.edit-title,
.preview-title {
  font-size: 13px;
  font-weight: 600;
  color: #f2bb13;
  text-transform: uppercase;
  margin-bottom: 9px;
}

.code {
  border: 1px solid #f2bb13;
  padding: 1px 2px;
  line-height: 21px;
  font-size: 13px;
}

/* statement css */

.statement-body {
  color: #20252a;
  background-color: white;
  padding-top: 15px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  font-family: 'Open Sans', Lato, sans-serif;
}

.statement-body ol,
.statement-body ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 10px;
}

.statement-body action {
  display: inline-block;
  font-family: Inconsolata,consolas,monospace;
  padding: 0 4px;
  background-color: #18a1ea;
  white-space: nowrap;
  margin: 0px;
  color: white;
  font-weight: normal;
  border-radius: 3px;
}

.statement-body span.const,
.statement-body const {
  color: #18a1ea;
  padding-left: 2px;
  padding-right: 2px;
  padding-top: 2px;
  font-size: 12px;
  font-weight: 700;
}

.statement-body span.var,
.statement-body var {
  font-size: 12px;
  padding-left: 4px;
  padding-right: 4px;
  padding-top: 1px;
  padding-bottom: 1px;
  background-color: #f2bb13;
  color: #20252a;
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  border-radius: 3px;
}

.statement-body h1,
.statement-body h2 {
	color: var(--cg-grey-new);
	font-size: 14px;
	font-weight: bold;
	margin-bottom: 15px;
	margin-top: 0;
}

.statement-body #statement_back {
  position: absolute;
  top: 0px;
  left: 0px;
  width: calc(100%);
  height: 100%;
  padding-top: 56.25%;
  z-index: 0;
  background-size: cover;
  background-position: 50% 0%;
  background-repeat: no-repeat;
}

.statement-body .statement_back {
  display:none;
}

.statement-body .statement-section {
  padding-bottom: 30px;
  padding-left: 15px;
  padding-right: 15px;
}

.statement-body .statement-section .icon {
  margin-left: 2px;
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
}
.statement-body .statement-section.statement-goal .icon.icon-goal {
  background-image: url("/images/statement/icon_statement_goal.png");
}
.statement-body .statement-section.statement-rules .icon.icon-rules {
  background-image: url("/images/statement/icon_statement_rules.png");
}
.statement-body .statement-section.statement-expertrules .icon.icon-expertrules {
  background-image: url("/images/statement/icon_statement_expert_rules.png");
}
.statement-body .statement-section.statement-warning .icon.icon-warning {
  background-image: url("/images/statement/icon_statement_warning.png");
}
.statement-body .statement-section.statement-protocol .icon.icon-protocol {
  background-image: url("/images/statement/icon_statement_protocol.png");
}
.statement-body .statement-section.statement-examples .icon.icon-example {
  background-image: url("/images/statement/icon_statement_examples.png");
}

.statement-victory-conditions {
  color: #1a99aa;
  background-color: rgba(26, 153, 170, 0.1);
  padding: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.statement-body .statement-section .statement-victory-conditions .icon {
  vertical-align: middle;
  text-align: center;
  margin-left: 8px;
  margin-right: 25px;
  min-width: 25px;
  background-image: url(images/statement/icon_statement_victory_conditions.png);
  width: 25px;
  height: 25px;
}
.statement-victory-conditions .blk {
  vertical-align: middle;
}
.statement-victory-conditions .title {
  font-weight: 700;
  margin-bottom: 10px;
}

.statement-lose-conditions {
  color: #f85338;
  background-color: rgba(248, 83, 56, 0.1);
  padding: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
}
.statement-body .statement-section .statement-lose-conditions .icon {
  vertical-align: middle;
  text-align: center;
  margin-left: 8px;
  margin-right: 25px;
  min-width: 25px;
  background-image: url(images/statement/icon_statement_lose_conditions.png);
  width: 25px;
  height: 25px;
}
.statement-lose-conditions .blk {
  vertical-align: middle;
}
.statement-lose-conditions .title {
  font-weight: 700;
  margin-bottom: 10px;
}

.statement-protocol {
  color: black;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 30px;
  padding-bottom: 30px;
  border-top: 1px solid #dadada;
  background-color: #e7e9eb;
}
.statement-protocol .title {
  font-size: 14px;
  font-weight: 700;
  padding-top: 5px;
  padding-bottom: 15px;
}
.statement-protocol .blk {
  border-bottom: 1px solid #dadada;
  padding-top: 15px;
  padding-bottom: 15px;
}
.statement-protocol .blk:last-child {
  border-bottom: none !important;
  padding-bottom: 0px;
}
.statement-protocol .blk:nth-of-type(1) {
  padding-top: 0px;
}
.statement-body .statement-story-background {
  position: relative;
  background-color: #000000;
  width: 100%;

}
.statement-body .statement-story-background img {
  width: 100%;
  display: block;
}
.statement-body .statement-story-background .statement-story-cover {
  background-size: cover;
  opacity: 0.7;
}
.statement-body .statement-story-background .statement-story-cover .statement-story {
  margin: 20px;
  padding-top: 20px;
}
.statement-body .statement-story-background .statement-story-cover .statement-story h1 {
  font-weight: 700;
  margin-top: 0;
  color: white;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy