123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- @import url('app://bower_components/fontawesome/css/font-awesome.min.css');
- :host {
- display: flex;
- }
- .home {
- position: relative;
- display: flex;
- flex-direction: column;
- flex: 1;
- padding: 10px;
- header {
- border-bottom: 1px solid #666;
- padding: 10px 5px;
- }
- .control {
- padding: 8px 4px;
- i {
- padding: 4px 6px;
- cursor: pointer;
- transition: color 0.3s;
- }
- .fa-pencil-square-o[edit] {
- color: #cc0000;
- }
- }
- .list {
- overflow: auto;
- background: #333;
- padding: 0;
- flex: 1;
- ul {
- padding: 0;
- margin: 0;
- li {
- padding: 5px 12px;
- line-height: 20px;
- display: flex;
- list-style: none;
- &:hover {
- background: #282828;
- }
- .edit {
- width: 0;
- opacity: 0;
- font-size: 15px;
- transition: opacity 0.3s, width 0.3s;
- overflow: hidden;
- margin-right: 5px;
- i {
- padding: 3px;
- cursor: pointer;
- color: #cc0000;
- }
- &[edit] {
- width: 18px;
- opacity: 1;
- }
- }
- .name {
- width: 90px;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- .path {
- flex: 1;
- width: 0;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- }
- }
- }
- .popup {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- display: none;
- .mask {
- position: absolute;
- top: 0;
- left: 0;
- height: 100%;
- width: 100%;
- background: #474747;
- opacity: 0.9;
- }
- .language {
- position: absolute;
- width: 260px;
- left: 50%;
- top: 45%;
- margin: -50px 0 0 -130px;
- h3 {
- margin: 0 0 12px 0;
- text-align: center;
- }
- .button {
- text-align: right;
- display: flex;
- ui-button {
- margin: 10px;
- flex: 1;
- }
- }
- }
- &[active] {
- display: block;
- }
- }
- }
|