2018-07-16 16:38:14 +02:00
|
|
|
@import "mixins";
|
2018-07-17 05:59:25 +02:00
|
|
|
@import "theme";
|
2021-08-15 20:31:38 +02:00
|
|
|
@import "styles";
|
2018-07-17 05:59:25 +02:00
|
|
|
|
2017-02-16 19:52:11 +01:00
|
|
|
/* Pop-up boxes */
|
2017-05-30 16:55:58 +02:00
|
|
|
.popup-box-container {
|
2019-03-27 09:36:14 +01:00
|
|
|
display: none; /* Initially hidden */
|
2017-02-16 19:52:11 +01:00
|
|
|
position: fixed; /* Stay in place */
|
2017-10-02 05:27:42 +02:00
|
|
|
z-index: 10; /* Sit on top */
|
2017-02-16 19:52:11 +01:00
|
|
|
left: 0;
|
|
|
|
top: 0;
|
2018-08-29 17:12:33 +02:00
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2017-07-03 21:42:11 +02:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2017-06-15 03:19:52 +02:00
|
|
|
background-color: rbga(var(--my-background-color), 0.4);
|
2017-02-16 19:52:11 +01:00
|
|
|
}
|
|
|
|
|
2017-07-03 21:42:11 +02:00
|
|
|
.popup-box-content {
|
|
|
|
background-color: var(--my-background-color);
|
|
|
|
padding: 12px;
|
|
|
|
border: 5px solid var(--my-highlight-color);
|
|
|
|
width: 70%;
|
2018-08-29 17:12:33 +02:00
|
|
|
max-height: 80%;
|
|
|
|
overflow-y: auto;
|
2021-06-18 23:12:51 +02:00
|
|
|
z-index: 11; /* Sit on top of the container */
|
2017-07-03 21:42:11 +02:00
|
|
|
color: var(--my-font-color);
|
|
|
|
}
|
|
|
|
|
2017-08-20 03:36:19 +02:00
|
|
|
.popup-box-button,
|
|
|
|
.popup-box-button-inactive {
|
2017-07-03 21:42:11 +02:00
|
|
|
color: #aaa;
|
|
|
|
float: right;
|
2018-07-17 05:59:25 +02:00
|
|
|
font-size: $defaultFontSize;
|
2017-07-03 21:42:11 +02:00
|
|
|
font-weight: bold;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 6px;
|
2018-07-09 22:11:18 +02:00
|
|
|
border: 1px solid #fff;
|
2018-07-09 22:42:54 +02:00
|
|
|
background-color: #000;
|
2017-07-03 21:42:11 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.popup-box-button:hover,
|
|
|
|
.popup-box-button:focus {
|
|
|
|
color: var(--my-font-color);
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2017-08-20 03:36:19 +02:00
|
|
|
.popupbox-button-inactive {
|
|
|
|
pointer-events: none;
|
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
2017-09-01 16:12:40 +02:00
|
|
|
#yes-no-text-input-box-input {
|
|
|
|
color: var(--my-font-color);
|
2018-07-09 22:11:18 +02:00
|
|
|
border: 1px solid #fff;
|
2018-07-09 22:42:54 +02:00
|
|
|
background-color: #000;
|
2017-09-01 16:12:40 +02:00
|
|
|
}
|
|
|
|
|
2021-08-20 04:22:21 +02:00
|
|
|
.dialog-box-container {
|
2017-06-01 06:17:50 +02:00
|
|
|
display: block;
|
|
|
|
position: absolute;
|
2017-10-02 05:27:42 +02:00
|
|
|
z-index: 10;
|
2017-06-01 06:17:50 +02:00
|
|
|
width: 50%;
|
|
|
|
height: auto;
|
2019-01-20 23:57:38 +01:00
|
|
|
max-height: 50%;
|
2017-06-07 02:28:20 +02:00
|
|
|
top: 40%;
|
2017-06-01 06:17:50 +02:00
|
|
|
left: 50%;
|
|
|
|
margin: -10% 0 0 -25%;
|
|
|
|
overflow: auto;
|
2017-06-07 03:23:51 +02:00
|
|
|
background-color: var(--my-background-color);
|
|
|
|
border: 5px solid var(--my-highlight-color);
|
2017-02-16 19:52:11 +01:00
|
|
|
}
|
|
|
|
|
2021-08-20 04:22:21 +02:00
|
|
|
|
|
|
|
.log-box-container {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: column;
|
|
|
|
background-color: gray;
|
|
|
|
width: 50%;
|
|
|
|
position: absolute;
|
|
|
|
left: 50%;
|
|
|
|
top: 40%;
|
|
|
|
margin: -10% 0 0 -25%;
|
|
|
|
height: auto;
|
|
|
|
max-height: 50%;
|
|
|
|
z-index: 10;
|
|
|
|
background-color: var(--my-background-color);
|
|
|
|
border: 2px solid var(--my-highlight-color);
|
|
|
|
}
|
|
|
|
|
|
|
|
.log-box-header {
|
|
|
|
background-color: #333;
|
|
|
|
border: 1px solid var(--my-highlight-color);
|
|
|
|
display: flex;
|
|
|
|
flex: row nowrap;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: space-between;
|
|
|
|
}
|
|
|
|
|
|
|
|
.log-box-log-container {
|
|
|
|
overflow-y: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.log-box-button {
|
|
|
|
color: #aaa;
|
|
|
|
font-size: $defaultFontSize;
|
|
|
|
font-weight: bold;
|
|
|
|
padding: 2px;
|
|
|
|
margin: 6px;
|
|
|
|
border: 1px solid #fff;
|
|
|
|
background-color: #000;
|
|
|
|
}
|
|
|
|
|
2021-08-23 07:15:20 +02:00
|
|
|
.log-box-button:hover,
|
|
|
|
.log-box-button:focus {
|
|
|
|
color: var(--my-font-color);
|
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
2021-08-20 04:22:21 +02:00
|
|
|
.dialog-box-content {
|
2017-06-01 06:17:50 +02:00
|
|
|
z-index: 2;
|
2017-06-07 03:23:51 +02:00
|
|
|
background-color: var(--my-background-color);
|
2017-06-01 06:17:50 +02:00
|
|
|
padding: 10px;
|
2018-09-06 16:15:36 +02:00
|
|
|
|
|
|
|
p span {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
2017-02-16 19:52:11 +01:00
|
|
|
}
|
|
|
|
|
2017-11-02 22:47:09 +01:00
|
|
|
.dialog-box-close-button {
|
2018-07-16 16:38:14 +02:00
|
|
|
@include borderRadius(12px);
|
2018-07-16 17:28:09 +02:00
|
|
|
@include boxShadow(1px 1px 3px #000);
|
2021-08-15 20:31:38 +02:00
|
|
|
@extend .noselect;
|
2018-07-16 17:28:09 +02:00
|
|
|
|
2017-02-16 19:52:11 +01:00
|
|
|
float: right;
|
2017-06-17 20:19:37 +02:00
|
|
|
color: #aaa;
|
2018-07-17 05:59:25 +02:00
|
|
|
font-size: $defaultFontSize * 1.25;
|
2017-02-16 19:52:11 +01:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
2017-06-17 20:19:37 +02:00
|
|
|
#log-box-close {
|
|
|
|
position: fixed;
|
2017-11-02 22:47:09 +01:00
|
|
|
right: 27%;
|
|
|
|
}
|
|
|
|
|
|
|
|
#log-box-kill-script {
|
|
|
|
right: 11%;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
#log-box-close, #log-box-kill-script {
|
2018-07-09 22:42:54 +02:00
|
|
|
float: right;
|
|
|
|
display: inline-block;
|
2017-06-17 20:19:37 +02:00
|
|
|
}
|
|
|
|
|
2017-06-01 06:17:50 +02:00
|
|
|
.dialog-box-close-button:hover,
|
2017-11-02 22:47:09 +01:00
|
|
|
.dialog-box-close-button:focus,{
|
2018-07-09 22:11:18 +02:00
|
|
|
color: #fff;
|
2017-02-16 19:52:11 +01:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
/* Faction invitation box */
|
|
|
|
#faction-invitation-box-container {
|
|
|
|
transition: opacity 400ms ease-in;
|
|
|
|
}
|
2017-05-02 18:28:54 +02:00
|
|
|
#faction-invitation-box-warning {
|
|
|
|
margin: 4px;
|
2017-05-03 06:38:58 +02:00
|
|
|
padding: 4px;
|
2017-05-02 18:28:54 +02:00
|
|
|
}
|
|
|
|
|
2017-07-03 21:42:11 +02:00
|
|
|
/* Infiltration-box */
|
2017-07-25 16:39:56 +02:00
|
|
|
#infiltration-box-sell,
|
2017-07-03 21:42:11 +02:00
|
|
|
#infiltration-box-faction {
|
|
|
|
display: block;
|
|
|
|
padding: 8px;
|
|
|
|
margin: 8px;
|
2017-05-25 16:50:58 +02:00
|
|
|
}
|
|
|
|
|
2018-09-06 16:15:36 +02:00
|
|
|
#infiltration-box-content span {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
2017-09-01 23:23:57 +02:00
|
|
|
#infiltration-faction-select {
|
2018-07-09 22:42:54 +02:00
|
|
|
background-color: #000;
|
2017-09-01 23:23:57 +02:00
|
|
|
}
|
|
|
|
|
2017-08-13 07:01:33 +02:00
|
|
|
/* Generic Yes No Box */
|
|
|
|
#yes-no-text-input-box-input {
|
2018-07-09 22:11:18 +02:00
|
|
|
color: #fff;
|
2017-08-13 07:01:33 +02:00
|
|
|
}
|
|
|
|
|
2017-05-25 16:50:58 +02:00
|
|
|
/* Game Options */
|
|
|
|
#game-options-container {
|
|
|
|
transition: opacity 400ms ease-in;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game-options-content {
|
2017-06-07 03:23:51 +02:00
|
|
|
background-color: var(--my-background-color);
|
2017-05-25 16:50:58 +02:00
|
|
|
padding: 10px;
|
2017-06-07 03:23:51 +02:00
|
|
|
border: 5px solid var(--my-highlight-color);
|
|
|
|
color: var(--my-font-color);
|
2018-08-12 21:45:35 +02:00
|
|
|
width: 80%;
|
2018-08-29 17:12:33 +02:00
|
|
|
max-height: 80%;
|
|
|
|
overflow-y: auto;
|
2017-05-25 16:50:58 +02:00
|
|
|
}
|
|
|
|
|
2017-07-25 16:39:56 +02:00
|
|
|
#game-options-left-panel,
|
|
|
|
#game-options-right-panel {
|
|
|
|
display: inline-block;
|
|
|
|
width: 49%;
|
|
|
|
}
|
|
|
|
|
2017-05-25 16:50:58 +02:00
|
|
|
#game-options-close-button {
|
2018-07-16 16:38:14 +02:00
|
|
|
@include borderRadius(12px);
|
2018-07-16 17:28:09 +02:00
|
|
|
@include boxShadow(1px 1px 3px #000);
|
|
|
|
|
2017-05-25 16:50:58 +02:00
|
|
|
color: #aaa;
|
|
|
|
float: right;
|
2017-07-25 16:39:56 +02:00
|
|
|
margin: 4px;
|
2017-05-25 16:50:58 +02:00
|
|
|
padding: 4px;
|
2018-07-17 05:59:25 +02:00
|
|
|
font-size: $defaultFontSize * 1.25;
|
2017-05-25 16:50:58 +02:00
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
#game-options-close-button:hover,
|
|
|
|
#game-options-close-button:focus {
|
2018-07-09 22:11:18 +02:00
|
|
|
color: #fff;
|
2017-05-25 16:50:58 +02:00
|
|
|
text-decoration: none;
|
|
|
|
cursor: pointer;
|
2017-06-07 03:23:51 +02:00
|
|
|
}
|
2017-06-08 06:57:40 +02:00
|
|
|
|
2017-07-25 16:39:56 +02:00
|
|
|
#game-options-left-panel fieldset {
|
2018-07-09 22:42:54 +02:00
|
|
|
padding: 2px;
|
|
|
|
margin: 2px;
|
2017-07-25 16:39:56 +02:00
|
|
|
}
|
|
|
|
|
2017-06-08 06:57:40 +02:00
|
|
|
#import-game-file-selector {
|
2018-07-09 22:42:54 +02:00
|
|
|
display: none;
|
2017-06-09 02:27:34 +02:00
|
|
|
}
|