www.spaceplanner.app

Web client to the spaceplanner API
git clone git://jacobedwards.org/www.spaceplanner.app
Log | Files | Refs

main.css (3142B)


      1 body {
      2 	margin: 0;
      3 	margin-top: var(--bar-height);
      4 	padding: 0;
      5 	width: 100vw;
      6 	height: calc(100vh - var(--bar-height));
      7 	background-color: white;
      8 
      9 	overflow: hidden;
     10 }
     11 
     12 header, #bar, label {
     13 	touch-action: none;
     14 }
     15 
     16 #bar {
     17 	position: fixed;
     18 }
     19 
     20 #editor {
     21 	display: flex;
     22 	flex-flow: column;
     23 	box-sizing: border-box;
     24 	width: 100%;
     25 	height: 100%;
     26 	padding: 0;
     27 	position: fixed;
     28 }
     29 
     30 button, input, select {
     31 	font-size: large;
     32 }
     33 
     34 header {
     35 	position: fixed;
     36 	padding: .2em .5em;
     37 	width: 100vw;
     38 	border-bottom: thin solid lightgrey;
     39 	background-color: white;
     40 }
     41 
     42 h1.fp_name {
     43 	padding: 0;
     44 	margin: 0;
     45 	font-weight: normal;
     46 }
     47 
     48 #status {
     49 	font-size: smaller;
     50 	text-decoration: underline;
     51 }
     52 
     53 div:has(#status) {
     54 	display: flex;
     55 	justify-content: space-between;
     56 	align-items: center;
     57 }
     58 
     59 header > .toolbar {
     60 	list-style: none;
     61 	padding: 0;
     62 	margin: .25em;
     63 }
     64 
     65 header > .toolbar > li {
     66 	float: left;
     67 	padding-right: 1em;
     68 }
     69 
     70 #selOps {
     71 	float: right;
     72 }
     73 
     74 #selOps > * {
     75 	margin: 0 .5em;
     76 	display: inline;
     77 }
     78 
     79 svg {
     80 	flex: 1;
     81 	border:  ridge thin;
     82 	background-color: white;
     83 }
     84 
     85 aside.terminal {
     86 	position: absolute;
     87 	bottom: 5vh;
     88 	right: 5vw;
     89 	background-color: slategrey;
     90 	border: thin ridge darkslategrey;
     91 	color: white;
     92 }
     93 
     94 aside.menu {
     95 	padding: 1em;
     96 }
     97 
     98 aside.menu > form > input[type=radio] {
     99 	width: 100%;
    100 }
    101 
    102 #furniture_menu {
    103 	background-color: rgba(220, 220, 220, .9);
    104 	backdrop-filter: blur(1px);
    105 	border: thin solid #CCC;
    106 	border-radius: .2em;
    107 	padding: 1em;
    108 	position: fixed;
    109 	bottom: 0;
    110 	right: 0;
    111 	width: fit-content;
    112 }
    113 
    114 .furniture_params_menu > label > input:is([name="width"], [name="depth"]) {
    115 	max-width: 6em;
    116 }
    117 
    118 .furniture_params_menu > label {
    119 	display: inline-block;
    120 	margin: .1em .2em;
    121 }
    122 
    123 aside.message {
    124 	position: absolute;
    125 	box-sizing: border-box;
    126 	bottom: 0;
    127 	left: 0;
    128 	width: 100vw;
    129 	background-color: rgba(0, 0, 0, 0.6);
    130 	color: white;
    131 	border: thin solid darkgrey;
    132 	border-radius: 0;
    133 	padding: .2em;
    134 }
    135 
    136 input.invalid {
    137 	background-color: lightgrey;
    138 }
    139 
    140 #selOps > form {
    141 	display: inline-block;
    142 }
    143 
    144 #login {
    145 	border: thin solid lightgrey;
    146 	background-color: white;
    147 	position: absolute;
    148 	top: 2em;
    149 	left: 2em;
    150 }
    151 
    152 #demo_footer {
    153 	position: fixed;
    154 	bottom: 0;
    155 	left: 0;
    156 	background-color: rgba(0, 0, 0, .8);
    157 	color: white;
    158 	padding: .5em;
    159 	font-size: smaller;
    160 	width: 100vw;
    161 	text-align: center;
    162 	
    163 }
    164 
    165 #demo_footer > a {
    166 	color: orange;
    167 }
    168 
    169 .toolgroup {
    170 	display: inline-block;
    171 	position: relative;
    172 }
    173 
    174 .toolgroup > button {
    175 	background-color: #FEFEFE;
    176 	border: thin solid lightgrey;
    177 	border-radius: .2em;
    178 	padding: .5em 1em;
    179 }
    180 
    181 .toolgroup > button:hover {
    182 	background-color: #F5F5F5;
    183 }
    184 
    185 .toolgroup > ul {
    186 	display: none;
    187 	list-style: none;
    188 	position: absolute;
    189 	background-color: #f9f9f9;
    190 	border: thin solid black;
    191 	width: fit-content;
    192 	min-width: 10em;
    193 	padding-left: 0;
    194 	width: 8em;
    195 	z-index: 1;
    196 }
    197 
    198 .toolgroup > ul > li:not(:first-child) {
    199 	border-top: thin solid lightgrey;
    200 }
    201 
    202 .toolgroup > ul > li {
    203 	padding: .5em;
    204 }
    205 
    206 .toolgroup > ul > li > input[type="button"] {
    207 	font-size: larger;
    208 	width: 100%;
    209 	height: 100%;
    210 }
    211 
    212 .toolgroup > ul > li > input[type="button"]:focus {
    213 	background: rgba(0,0,0,.05);
    214 }
    215 
    216 .toolgroup:hover ul {
    217 	display: block;
    218 }