engelsystem/resources/assets/themes/base.less

310 lines
5.2 KiB
Plaintext
Raw Normal View History

@import "../../../node_modules/bootstrap/less/bootstrap";
@import "../../../node_modules/eonasdan-bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css";
2018-11-13 17:47:19 +01:00
@import "error";
2014-12-06 19:02:02 +01:00
body {
padding-top: 50px;
}
.footer a {
color: @text-muted;
}
2016-11-18 15:36:02 +01:00
.first {
2017-12-14 20:03:34 +01:00
clear: both;
2017-01-02 15:43:36 +01:00
margin-top: 30px;
}
.text-big {
2017-01-02 15:43:36 +01:00
display: block;
font-size: 30px;
line-height: 30px;
2018-11-13 17:47:19 +01:00
margin: 0;
2016-11-18 15:36:02 +01:00
}
2018-10-05 17:09:06 +02:00
.icon-icon_angel {
background-color: @text-color;
display: inline-block;
width: 1em;
height: 1em;
-webkit-mask: url(../icons/angel.svg) no-repeat 50% 50%;
mask: url(../icons/angel.svg) no-repeat 50% 50%;
-webkit-mask-size: cover;
mask-size: cover;
}
a .icon-icon_angel {
background-color: @link-color;
}
.navbar .icon-icon_angel {
background-color: @navbar-default-link-disabled-color;
}
.navbar-brand .icon-icon_angel {
background-color: @navbar-default-brand-color;
}
table a > .icon-icon_angel {
background-color: @text-color;
}
2018-12-09 12:51:48 +01:00
.table .form-group {
margin-bottom: 0;
}
2017-12-12 21:57:57 +01:00
.stats {
2017-12-13 12:46:15 +01:00
.make-md-column(3);
.make-xs-column(6);
2017-12-26 17:08:14 +01:00
font-size: 20px;
2017-12-26 17:37:17 +01:00
height: 150px;
2017-12-12 21:57:57 +01:00
text-align: center;
2017-12-14 20:03:34 +01:00
2017-12-12 21:57:57 +01:00
.number {
font-size: 80px;
font-weight: 200;
}
2017-12-13 12:46:15 +01:00
@media (max-width: @screen-md) {
2017-12-26 17:08:14 +01:00
font-size: inherit;
2017-12-13 12:46:15 +01:00
.number {
font-size: 40px;
}
}
2017-12-12 21:57:57 +01:00
}
.stats-danger {
color: @brand-danger;
}
.stats-warning {
color: @brand-warning;
}
.stats-success {
color: @brand-success;
}
2017-12-13 12:22:26 +01:00
.dashboard-panel {
position: relative;
2017-12-13 12:37:05 +01:00
font-size: 20px;
color: @headings-color;
2017-12-13 12:22:26 +01:00
.panel-link {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
text-decoration: none; /* No underlines on the link */
z-index: 10; /* Places the link above everything else in the div */
background-color: @brand-primary; /* Fix to make div clickable in IE */
opacity: 0; /* Fix to make div clickable in IE */
filter: alpha(opacity=1); /* Fix to make div clickable in IE */
}
2017-12-13 12:22:26 +01:00
.panel-link:hover {
opacity: 0.3;
}
}
2016-11-14 17:58:15 +01:00
.panel-primary .panel-heading a {
color: @panel-primary-text;
2019-08-09 15:06:43 +02:00
background-color: @panel-primary-heading-bg;
2016-11-14 17:58:15 +01:00
}
.panel-default .panel-heading a {
color: @panel-default-text;
2019-08-09 15:06:43 +02:00
background-color: @panel-default-heading-bg;
2016-11-14 17:58:15 +01:00
}
.panel-info .panel-heading a {
color: @panel-info-text;
2019-08-09 15:06:43 +02:00
background-color: @panel-info-heading-bg;
2016-11-14 17:58:15 +01:00
}
.panel-success .panel-heading a {
color: @panel-success-text;
2019-08-09 15:06:43 +02:00
background-color: @panel-success-heading-bg;
2016-11-14 17:58:15 +01:00
}
.panel-warning .panel-heading a {
color: @panel-warning-text;
2019-08-09 15:06:43 +02:00
background-color: @panel-warning-heading-bg;
2016-11-14 17:58:15 +01:00
}
.panel-danger .panel-heading a {
color: @panel-danger-text;
2019-08-09 15:06:43 +02:00
background-color: @panel-danger-heading-bg;
2016-11-14 17:58:15 +01:00
}
.selection .checkbox {
display: block;
}
2016-11-05 10:06:06 +01:00
.shift-calendar {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
2018-11-13 17:47:19 +01:00
align-items: stretch;
2016-11-05 10:06:06 +01:00
width: 100%;
2017-01-02 15:43:36 +01:00
.lane {
background: @table-bg-accent;
flex-grow: 1;
min-width: 280px;
width: 280px;
flex-shrink: 1;
.header {
background: @panel-bg;
border-bottom: 1px solid @table-border-color;
height: 30px;
padding: 5px 5px 5px 16px;
}
.tick {
height: 30px;
border-top: 1px solid darken(@table-bg-accent, 2%);
}
2016-11-05 10:06:06 +01:00
.tick.hour {
border-top: 2px solid @table-border-color;
font-size: 0.9em;
padding-left: 5px;
}
2017-01-02 15:43:36 +01:00
2016-11-05 10:06:06 +01:00
.tick.day {
border-top: 2px solid @brand-primary;
font-size: 0.9em;
padding-left: 5px;
}
2017-01-02 15:43:36 +01:00
}
.lane.time {
border-right: 1px solid @table-border-color;
flex-grow: 0;
min-width: 50px;
width: 50px;
flex-shrink: 0;
}
.shift {
margin: 0 5px 5px 0;
overflow: hidden;
}
2014-12-15 23:09:06 +01:00
}
2014-12-06 19:02:02 +01:00
.space-top {
margin-top: 15px;
}
2014-12-07 00:08:09 +01:00
2017-12-27 12:45:48 +01:00
.column_duration {
text-align: right;
}
2014-12-07 00:08:09 +01:00
.messages {
&:focus {
outline: none;
}
a:focus {
outline: none;
}
}
2014-12-07 21:02:22 +01:00
.messages span.text-danger {
animation: pulse 1s infinite;
-webkit-animation: pulse 1s infinite;
-moz-animation: pulse 1s infinite;
}
@keyframes pulse {
0% {
2017-01-02 15:43:36 +01:00
transform: rotate(0deg);
2014-12-07 21:02:22 +01:00
}
10% {
2017-01-02 15:43:36 +01:00
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
20% {
2017-01-02 15:43:36 +01:00
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
30% {
transform: rotate(5deg) translateY(-2px);;
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
40% {
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
50% {
transform: rotate(0deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
75% {
transform: rotate(0deg) translateY(0px);
}
}
@-webkit-keyframes pulse {
0% {
2017-01-02 15:43:36 +01:00
transform: rotate(0deg);
2014-12-07 21:02:22 +01:00
}
10% {
2017-01-02 15:43:36 +01:00
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
20% {
2017-01-02 15:43:36 +01:00
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
30% {
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
40% {
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
50% {
transform: rotate(0deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
75% {
transform: rotate(0deg) translateY(0px);
}
}
@-moz-keyframes pulse {
0% {
2017-01-02 15:43:36 +01:00
transform: rotate(0deg);
2014-12-07 21:02:22 +01:00
}
10% {
2017-01-02 15:43:36 +01:00
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
20% {
2017-01-02 15:43:36 +01:00
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
30% {
transform: rotate(5deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
40% {
transform: rotate(-5deg);
2014-12-07 21:02:22 +01:00
}
2017-01-02 15:43:36 +01:00
50% {
transform: rotate(0deg) translateY(-2px);
2014-12-07 21:02:22 +01:00
}
75% {
transform: rotate(0deg) translateY(0px);
}
}
@media (max-width: 525px) {
.col-xxs-12 {
float: none;
width: 100%;
position: relative; left: 0; right: 0;
min-height: 1px;
padding-right: 15px;
padding-left: 15px;
}
}
2019-07-24 20:57:27 +02:00
@media print {
a[href]:after {
content: "";
}
}