styles file structure cleanup
This commit is contained in:
parent
c358a43bcf
commit
8a6b444003
@ -1,4 +1,4 @@
|
|||||||
@import "../common.less";
|
@import "../styles/config";
|
||||||
|
|
||||||
#mainMenu {
|
#mainMenu {
|
||||||
border-bottom: 1px solid black;
|
border-bottom: 1px solid black;
|
||||||
@ -19,12 +19,4 @@
|
|||||||
background-color: lightskyblue;
|
background-color: lightskyblue;
|
||||||
}
|
}
|
||||||
|
|
||||||
.userHasPassword {
|
|
||||||
color: green;
|
|
||||||
}
|
|
||||||
|
|
||||||
.userNoPassword {
|
|
||||||
color: indianred;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -49,7 +49,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tileContent">
|
<div class="tileContent">
|
||||||
<table>
|
<table>
|
||||||
<tr [class.user_owner]="group.isOwner(user)" *ngFor="let user of group.usersByNameOwnerFirst()">
|
<tr *ngFor="let user of group.usersByNameOwnerFirst()">
|
||||||
<td (click)="userService.goto(user)">
|
<td (click)="userService.goto(user)">
|
||||||
{{ user.name }}
|
{{ user.name }}
|
||||||
</td>
|
</td>
|
||||||
@ -77,7 +77,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="tileContent">
|
<div class="tileContent">
|
||||||
<table>
|
<table>
|
||||||
<tr [class.user_owner]="group.isOwner(user)" *ngFor="let user of group.bannedByName()">
|
<tr *ngFor="let user of group.bannedByName()">
|
||||||
<td (click)="userService.goto(user)">
|
<td (click)="userService.goto(user)">
|
||||||
{{ user.name }}
|
{{ user.name }}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../../common.less";
|
@import "../../../../styles/config";
|
||||||
|
|
||||||
th {
|
th {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
@import "../../../../common.less";
|
@import "../../../../styles/config";
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../../../common.less";
|
@import "../../../../../styles/config";
|
||||||
|
|
||||||
td {
|
td {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
@import "../../../styles/config";
|
||||||
|
|
||||||
table {
|
table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,3 +1,5 @@
|
|||||||
|
@import "../../../../styles/config";
|
||||||
|
|
||||||
.huge {
|
.huge {
|
||||||
font-size: 50vmin;
|
font-size: 50vmin;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../../../common.less";
|
@import "../../../../../styles/config";
|
||||||
|
|
||||||
@page {
|
@page {
|
||||||
size: A4;
|
size: A4;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../../common.less";
|
@import "../../../../styles/config";
|
||||||
|
|
||||||
.name {
|
.name {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../../common.less";
|
@import "../../../../styles/config";
|
||||||
|
|
||||||
#VoltageDropInputs {
|
#VoltageDropInputs {
|
||||||
|
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
@import "../../../common.less";
|
@import "../../../styles/config";
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
@import "../../../common";
|
@import "../../../styles/config";
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
@import "../../../common.less";
|
@import "../../../styles/config";
|
||||||
|
|
||||||
.unsaved {
|
.unsaved {
|
||||||
background-color: yellow;
|
background-color: yellow;
|
||||||
|
|||||||
@ -1,89 +1,4 @@
|
|||||||
@import "./common.less";
|
@import "./styles/basic";
|
||||||
|
@import "./styles/tiles";
|
||||||
body {
|
@import "./styles/button";
|
||||||
font-family: sans-serif;
|
@import "./styles/user";
|
||||||
font-size: 4vw;
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
div {
|
|
||||||
box-sizing: border-box;
|
|
||||||
overflow: hidden;
|
|
||||||
}
|
|
||||||
|
|
||||||
a {
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
input {
|
|
||||||
all: unset;
|
|
||||||
background-color: white;
|
|
||||||
border: 1px solid lightgray;
|
|
||||||
}
|
|
||||||
|
|
||||||
select {
|
|
||||||
font-size: inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
table {
|
|
||||||
border-collapse: collapse;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileContainer {
|
|
||||||
padding: @halfSpace;
|
|
||||||
|
|
||||||
.tile {
|
|
||||||
width: 100%;
|
|
||||||
padding: @halfSpace;
|
|
||||||
|
|
||||||
.tileInner {
|
|
||||||
border: 1px solid #ddd;
|
|
||||||
border-radius: @space;
|
|
||||||
background-color: #fbfbfb;
|
|
||||||
|
|
||||||
.tileTitle {
|
|
||||||
font-weight: bold;
|
|
||||||
padding: @halfSpace @space;
|
|
||||||
background-color: lightskyblue;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileContent {
|
|
||||||
padding: @halfSpace;
|
|
||||||
|
|
||||||
table {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
|
|
||||||
td {
|
|
||||||
white-space: nowrap;
|
|
||||||
border: 0.2em solid white;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileFooter {
|
|
||||||
padding: @halfSpace @space;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
@media (min-width: 1000px) {
|
|
||||||
|
|
||||||
body {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.tileContainer {
|
|
||||||
|
|
||||||
.tile {
|
|
||||||
float: left;
|
|
||||||
width: 500px;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
38
src/main/angular/src/styles/basic.less
Normal file
38
src/main/angular/src/styles/basic.less
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
@import "./config";
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-family: sans-serif;
|
||||||
|
font-size: 4vw;
|
||||||
|
margin: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
div {
|
||||||
|
box-sizing: border-box;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
input {
|
||||||
|
all: unset;
|
||||||
|
background-color: white;
|
||||||
|
border: 1px solid lightgray;
|
||||||
|
}
|
||||||
|
|
||||||
|
select {
|
||||||
|
font-size: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
table {
|
||||||
|
border-collapse: collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1000px) {
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
@ -1,4 +1,4 @@
|
|||||||
@import "./user.less";
|
@import "./config";
|
||||||
|
|
||||||
.buttons {
|
.buttons {
|
||||||
margin-bottom: @halfSpace;
|
margin-bottom: @halfSpace;
|
||||||
60
src/main/angular/src/styles/tiles.less
Normal file
60
src/main/angular/src/styles/tiles.less
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
@import "./config";
|
||||||
|
|
||||||
|
.tileContainer {
|
||||||
|
padding: @halfSpace;
|
||||||
|
|
||||||
|
.tile {
|
||||||
|
width: 100%;
|
||||||
|
padding: @halfSpace;
|
||||||
|
|
||||||
|
.tileInner {
|
||||||
|
border: 1px solid #ddd;
|
||||||
|
border-radius: @space;
|
||||||
|
background-color: #fbfbfb;
|
||||||
|
|
||||||
|
.tileTitle {
|
||||||
|
font-weight: bold;
|
||||||
|
padding: @halfSpace @space;
|
||||||
|
background-color: lightskyblue;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tileContent {
|
||||||
|
padding: @halfSpace;
|
||||||
|
|
||||||
|
table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
td {
|
||||||
|
white-space: nowrap;
|
||||||
|
border: 0.2em solid white;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
.tileFooter {
|
||||||
|
padding: @halfSpace @space;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (min-width: 1000px) {
|
||||||
|
|
||||||
|
body {
|
||||||
|
font-size: 18px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.tileContainer {
|
||||||
|
|
||||||
|
.tile {
|
||||||
|
float: left;
|
||||||
|
width: 500px;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
9
src/main/angular/src/styles/user.less
Normal file
9
src/main/angular/src/styles/user.less
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
@import "./config";
|
||||||
|
|
||||||
|
.userHasPassword {
|
||||||
|
color: green;
|
||||||
|
}
|
||||||
|
|
||||||
|
.userNoPassword {
|
||||||
|
color: indianred;
|
||||||
|
}
|
||||||
@ -1,18 +0,0 @@
|
|||||||
@import "./config.less";
|
|
||||||
|
|
||||||
.user {
|
|
||||||
float: left;
|
|
||||||
padding: @halfSpace;
|
|
||||||
background-color: lightskyblue;
|
|
||||||
border-radius: @halfSpace;
|
|
||||||
margin-right: @halfSpace;
|
|
||||||
margin-bottom: @halfSpace;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user_owner {
|
|
||||||
border: 1px solid black;
|
|
||||||
}
|
|
||||||
|
|
||||||
.user:hover {
|
|
||||||
background-color: dodgerblue;
|
|
||||||
}
|
|
||||||
Loading…
Reference in New Issue
Block a user