style.css 2.19 KB
Newer Older
1

Vasyl Bodnaruk's avatar
Vasyl Bodnaruk committed
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40
/* Actions */
.actions {
  display: flex;
}
.actions-form {
  display: flex;
  margin-left: 35px;
}
.actions-form > * {
  margin: 0 5px;
}
.actions-select {
  width: 150px;
}
/* Action block */
.divider {
  opacity: 0.2;
}
.action-block {
  padding-left: 17px;
}
.action-block-delete {
  color: #d9534f;
}
.action-block-view {
  color: #5bc0de;
}
.action-block-edit {
  color: #0275d8;
}
.action-block-delete:hover {
  color: #c9302c;
}
.action-block-view:hover {
  color: #31b0d5;
}
.action-block-edit:hover {
  color: #025aa5;
}
41 42 43 44
/* Button */
.btn {
  cursor: pointer;
}
45 46 47 48 49
.btn-sm {
  margin-right: 5px;
}
.btn-min:last-child {
  margin-right: 0;
50
}
51 52 53
.btn-margin-bottom {
  margin-bottom: 5px
}
54 55 56 57 58 59 60 61 62 63
/* Table */
.table-header {
  margin: 15px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.table-title {
  font-weight: 300;
  font-size: 24px;
Vasyl Bodnaruk's avatar
Vasyl Bodnaruk committed
64 65
}

66 67 68 69 70 71 72 73 74 75 76 77
.table-item:not(:last-child) {
  margin-bottom: 30px;
}
.table-wrap {
  max-height: 300px;
  max-width: 100%;
  overflow-x: auto;
}
.table-custom {
  min-width: 800px;
  table-layout: fixed;
  word-wrap: break-word;
Vasyl Bodnaruk's avatar
Vasyl Bodnaruk committed
78
}
Vasyl Bodnaruk's avatar
Vasyl Bodnaruk committed
79

80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98
.table-custom thead th:last-child,
.table-custom tbody tr td:last-child {
  text-align: right;
}
.table-custom a {
  overflow: hidden;
   /*text-overflow: ellipsis;*/
   display: -webkit-box;
   -webkit-box-orient: vertical;
   -webkit-line-clamp: 1; /* number of lines to show */
   line-height: 25px;        /* fallback */
   max-height: 25px;       /* fallback */
   font-size: 12px;
}
.table-custom tbody {
  overflow: auto;
  height: 300px;
}
.container-max {
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126
  max-width: 1300px;
}

td[data-col="action"] {
  display: flex;
  justify-content: flex-end;
}

/* Loading */
.loading {
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.5);
  top: 0;
  z-index: 9999;
}
.loading-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.loading i {
  font-size: 1.5em;
  color: #fff;
127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148
}

/* modal */
.modal-dialog {
  width: 100%;
  max-width: 100%;
  margin: 0;
}
.modal-content code {
  height: 100vh;
}
.modal-body {
  padding: 0;
}
.modal-close {
  position: absolute;
  color: #fff;
  right: 30px;
  top: 15px;
}
.modal-close:hover {
  color: #fff;
149
}