图书馆智能管理系统
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

553 lines
10 KiB

5 months ago
  1. /** Copyright 2005-2015 Alfresco Software, Ltd.
  2. *
  3. * Licensed under the Apache License, Version 2.0 (the "License");
  4. * you may not use this file except in compliance with the License.
  5. * You may obtain a copy of the License at
  6. *
  7. * http://www.apache.org/licenses/LICENSE-2.0
  8. *
  9. * Unless required by applicable law or agreed to in writing, software
  10. * distributed under the License is distributed on an "AS IS" BASIS,
  11. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. * See the License for the specific language governing permissions and
  13. * limitations under the License.
  14. */
  15. /* Login
  16. *
  17. * Based on http://bootsnipp.com/snippets/featured/custom-login-registration-amp-forgot-password
  18. * (MIT license) (see http://bootsnipp.com/license)
  19. *
  20. * Snippets License (MIT license)
  21. * Copyright (c) 2013 Bootsnipp.com
  22. *
  23. * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"),
  24. * to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, * and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
  25. *
  26. * The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
  27. *
  28. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  29. */
  30. .login-container {
  31. display: flex;
  32. justify-content: center;
  33. align-items: center;
  34. background: #efefef;
  35. height:100%;
  36. width:100%
  37. }
  38. .login-form-1 {
  39. max-width: 300px;
  40. border-radius: 5px;
  41. display: inline-block;
  42. }
  43. .main-login-form {
  44. position: relative;
  45. }
  46. .login-form-1 .form-control {
  47. border: 0;
  48. box-shadow: 0 0 0;
  49. border-radius: 0;
  50. background: transparent;
  51. color: #555555;
  52. padding: 7px 0;
  53. font-weight: bold;
  54. height:auto;
  55. }
  56. .login-form-1 .form-control::-webkit-input-placeholder {
  57. color: #999999;
  58. }
  59. .login-form-1 .form-control:-moz-placeholder,
  60. .login-form-1 .form-control::-moz-placeholder,
  61. .login-form-1 .form-control:-ms-input-placeholder {
  62. color: #999999;
  63. }
  64. .login-form-1 .form-group {
  65. margin-bottom: 0;
  66. border-bottom: 2px solid #efefef;
  67. padding-right: 20px;
  68. position: relative;
  69. }
  70. .login-form-1 .form-group:last-child {
  71. border-bottom: 0;
  72. }
  73. .login-group {
  74. background: #ffffff;
  75. color: #999999;
  76. border-radius: 8px;
  77. padding: 10px 20px;
  78. }
  79. .login-group-checkbox {
  80. padding: 5px 0;
  81. }
  82. .login-form-1 .login-button {
  83. position: absolute;
  84. right: -25px;
  85. top: 50%;
  86. background: #ffffff;
  87. color: #999999;
  88. padding: 11px 0;
  89. width: 50px;
  90. height: 50px;
  91. margin-top: -25px;
  92. border: 5px solid #efefef;
  93. border-radius: 50%;
  94. transition: all ease-in-out 500ms;
  95. }
  96. .login-form-1 .login-button:hover {
  97. color: #555555;
  98. transform: rotate(450deg);
  99. }
  100. .login-form-1 .login-button.clicked {
  101. color: #555555;
  102. }
  103. .login-form-1 .login-button.clicked:hover {
  104. transform: none;
  105. }
  106. .login-form-1 .login-button.clicked.success {
  107. color: #2ecc71;
  108. }
  109. .login-form-1 .login-button.clicked.error {
  110. color: #e74c3c;
  111. }
  112. .login-form-main-message {
  113. background: #ffffff;
  114. color: #999999;
  115. border-left: 3px solid transparent;
  116. border-radius: 3px;
  117. margin-bottom: 8px;
  118. font-weight: bold;
  119. height: 0;
  120. padding: 0 20px 0 17px;
  121. opacity: 0;
  122. transition: all ease-in-out 200ms;
  123. }
  124. .login-form-main-message.show {
  125. height: auto;
  126. opacity: 1;
  127. padding: 10px 20px 10px 17px;
  128. }
  129. .login-form-main-message.success {
  130. border-left-color: #2ecc71;
  131. }
  132. .login-form-main-message.error {
  133. border-left-color: #e74c3c;
  134. }
  135. .logo {
  136. font-size: 25px;
  137. color: #aaaaaa;
  138. font-weight: bold;
  139. }
  140. .logo img {
  141. width: 400px;
  142. margin-bottom: 50px;
  143. }
  144. .login-error{
  145. color: #e74c3c;
  146. padding: 10px;
  147. }
  148. /**
  149. Colors:
  150. - Header: #333333
  151. - Subheader: #e8edf1
  152. - Subheader border: #a4acb9
  153. - Highlight buttons/text: #2980b9
  154. - Text color: #1a1a1a
  155. - Filter color: #373e48
  156. - Dark highlight: #606b7d
  157. */
  158. body {
  159. background-color: #ffffff;
  160. padding-bottom: 15px;
  161. }
  162. .btn .badge {
  163. background-color: #ffffff;
  164. color: #2980b9;
  165. }
  166. .item-wrapper > div {
  167. margin-right: 5px;
  168. }
  169. .filter-list.compact {
  170. padding-top: 0px;
  171. }
  172. ul {
  173. list-style: none;
  174. list-style-position: inside;
  175. padding-left: 5px;
  176. }
  177. .box > div {
  178. min-height: 50px;
  179. }
  180. .box h2 {
  181. margin: 5px;
  182. font-size: 18px;
  183. color: #606b7d;
  184. }
  185. .summaries {
  186. width: 50%;
  187. }
  188. .user-summary {
  189. text-align: center;
  190. margin: 5px 1%;
  191. float: left;
  192. width: 23%;
  193. }
  194. .user-summary .icon {
  195. font-size: 30px;
  196. height: 30px;
  197. padding: 0;
  198. margin: 5px 0 0 0;
  199. line-height: 30px;
  200. color: #606b7d;
  201. }
  202. .user-summary span {
  203. line-height: 30px;
  204. }
  205. .item-wrapper .message a {
  206. padding: 0 10px;
  207. }
  208. .users td {
  209. border: 1px solid #f1f1f1;
  210. padding: 5px;
  211. color: #373e48;
  212. }
  213. td.control {
  214. text-align: center;
  215. }
  216. .users tr.selected td {
  217. background-color: #f4f4f4;
  218. }
  219. .users tr:hover td{
  220. background-color: #e8edf1;
  221. border: 1px solid #e8edf1;
  222. cursor: pointer;
  223. }
  224. .users th {
  225. height: 20px;
  226. background-color:#a4acb9;
  227. color: #ffffff;
  228. padding: 5px;
  229. }
  230. ul.user-list {
  231. padding-left: 10px;
  232. }
  233. ul.user-list i {
  234. padding-right: 5px;
  235. }
  236. ul.user-list li span {
  237. color: #666666;
  238. }
  239. .bar {
  240. width: 100%;
  241. margin: 5px 5px 5px 0px;
  242. padding-right: 10px;
  243. height: 10px;
  244. overflow: hidden;
  245. }
  246. .bar > div {
  247. height: 10px;
  248. float: left;
  249. }
  250. i.user-active {
  251. color: #2980b9;
  252. }
  253. div.user-active {
  254. background-color: #2980b9;
  255. }
  256. i.user-inactive {
  257. color: #a4acb9;
  258. }
  259. div.user-inactive {
  260. background-color: #a4acb9;
  261. }
  262. i.user-deleted {
  263. color: #FF5741;
  264. }
  265. div.user-deleted {
  266. background-color: #FF5741;
  267. }
  268. i.user-pending {
  269. color: #FFC541;
  270. }
  271. div.user-pending {
  272. background-color: #FFC541;
  273. }
  274. i.user-trial {
  275. color: #a4acb9;
  276. }
  277. div.user-trial {
  278. background-color: #a4acb9;
  279. }
  280. i.user-enterprise {
  281. color: #2980b9;
  282. }
  283. div.user-enterprise {
  284. background-color: #2980b9;
  285. }
  286. .nopadding > div {
  287. padding: 0px;
  288. }
  289. .nopadding .form-group {
  290. padding-right: 5px;
  291. }
  292. /* List Filter */
  293. .filter-wrapper {
  294. min-height: 400px;
  295. margin-top: 10px;
  296. }
  297. ul.filter-list {
  298. list-style: none;
  299. list-style-position: inside;
  300. padding-left: 0px;
  301. padding-top: 10px;
  302. }
  303. ul.filter-list li a {
  304. display: block;
  305. color: #373e48;
  306. font-size: 17px;
  307. margin: 10px 5px 10px 0px;
  308. padding-left: 10px;
  309. }
  310. ul.filter-list li.current a {
  311. color: #2980b9;
  312. padding-left: 5px;
  313. border-left: 4px solid #2980b9;
  314. }
  315. ul.filter-list li a:hover, ul.filter-list li a:focus {
  316. text-decoration: none;
  317. background-color: #e8edf1;
  318. }
  319. ul.filter-list li.current a:hover, ul.filter-list li.current a:focus {
  320. background-color: transparent;
  321. color: #2980b9;
  322. cursor: default;
  323. text-decoration: none;
  324. }
  325. .user-detail {
  326. padding: 5px 40px 5px 0;
  327. }
  328. .users-details .glyphicon {
  329. margin-right: 5px;
  330. }
  331. .subtle-event {
  332. color: #606b7d;
  333. }
  334. /* Groups */
  335. .group-member .glyphicon {
  336. margin-right: 5px;
  337. }
  338. .potential-group-member {
  339. cursor: pointer;
  340. font-size: 16px;
  341. }
  342. .potential-group-member-selected {
  343. color: #2980b9;
  344. }
  345. .subgroup {
  346. cursor: pointer;
  347. }
  348. .disabled-group {
  349. text-decoration: line-through;
  350. color: #808080;
  351. }
  352. /* Inspired by http://jsfiddle.net/mehmetatas/fXzHS/2/ */
  353. .group-tree li {
  354. margin: 0px 0;
  355. list-style-type: none;
  356. position: relative;
  357. padding: 20px 5px 0px 10px;
  358. }
  359. .group-tree ul {
  360. padding-left: 10px;
  361. }
  362. .group-tree li::before {
  363. content:'';
  364. position: absolute;
  365. top: 0;
  366. width: 1px;
  367. height: 100%;
  368. right: auto;
  369. left: 0px;
  370. border-left: 1px solid #ccc;
  371. bottom: 50px;
  372. }
  373. .group-tree li::after {
  374. content:'';
  375. position: absolute;
  376. top: 35px;
  377. width: 10px;
  378. height: 20px;
  379. right: auto;
  380. left: 0px;
  381. border-top: 1px solid #ccc;
  382. }
  383. .group-tree li a {
  384. display: inline-block;
  385. font-size: 16px;
  386. border: 1px solid #ccc;
  387. padding: 5px 16px;
  388. text-decoration: none;
  389. color: #000;
  390. border-radius: 5px;
  391. -webkit-border-radius: 5px;
  392. -moz-border-radius: 5px;
  393. }
  394. .group-tree li a.active {
  395. background-color: #c8e4f8;
  396. }
  397. .group-tree .group-icon {
  398. font-size: 14px;
  399. color: #999;
  400. padding-right: 5px;
  401. }
  402. /*Remove connectors before root*/
  403. .group-tree > ul > li::before, .group-tree > ul > li::after {
  404. border: 0;
  405. }
  406. /*Remove connectors after last child*/
  407. .group-tree li:last-child::before {
  408. height: 35px;
  409. }
  410. /*We will apply the hover effect the lineage of the element also*/
  411. .group-tree li a:hover, .group-tree li a:hover+ul li a {
  412. background-color: #eeeeee;
  413. color: #000;
  414. }
  415. /*Connector styles on hover*/
  416. .group-tree li a:hover+ul li::after, .group-tree li a:hover+ul li::before, .group-tree li a:hover+ul::before, .group-tree li a:hover+ul ul::before {
  417. border-color: #94a0b4;
  418. }
  419. .user-search-field {
  420. margin: 20px 0 15px 0;
  421. width: 40%;
  422. }
  423. /* profile */
  424. .profile-detail {
  425. padding: 5px 0 5px 5px;
  426. margin: 0 0 5px -5px;
  427. }
  428. .profile-detail:hover {
  429. cursor: pointer;
  430. background: #e8edf1;
  431. }
  432. .profile-detail .nothing-to-see {
  433. padding: 0px;
  434. color: #999999;
  435. }
  436. .list-wrapper h4 {
  437. font-size: 13px;
  438. font-weight: normal;
  439. text-transform: uppercase;
  440. margin: 20px 0 5px 0;
  441. color: #1a1a1a;
  442. }
  443. .main-content > .nothing-to-see {
  444. margin: 20px 15px 10px 30px;
  445. text-align: center;
  446. }
  447. .clickable {
  448. cursor: pointer;
  449. }
  450. .tenant-logo-preview {
  451. margin: 10px;
  452. }
  453. .table .actions {
  454. text-align: right;
  455. }
  456. .table .actions > button {
  457. padding: 3px 10px;
  458. margin: 0px;
  459. border: none;
  460. background-color: transparent;
  461. margin: 0;
  462. }
  463. .table .actions > button:hover {
  464. background-color: #ffffff;
  465. border: none;
  466. }
  467. .modal.modal-wide .modal-dialog {
  468. width: 1000px;
  469. }
  470. .modal-dialog.modal-wide {
  471. width: 1000px;
  472. }
  473. .modal-dialog.modal-maxheight {
  474. max-height: 724px;
  475. overflow-y: auto;
  476. }