| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687 |
- .recent-file-panel {
- h2 {
- &:before {
- content: ' ';
- display: block;
- width: 25px;
- height: 25px;
- position: absolute;
- left: 0;
- top: 2px;
- background: url(../images/icons.png) no-repeat 0 -520px;
- }
- }
-
- & > .clear-recent-list {
- position: absolute;
- right: 0;
- top: 0;
- }
-
- & > .recent-file-list {
- margin: 0;
- padding: 0;
- list-style: none;
-
- &:empty:after {
- content: '没有最近打开文件!';
- display: block;
- text-align: center;
- font-size: 18px;
- height: 50px;
- line-height: 50px;
- color: #CCC;
- }
-
- .recent-file-item {
- font-size: 14px;
- line-height: 20px;
- padding: 10px 20px 10px 40px;
- cursor: default;
- position: relative;
- &:hover {
- background-color: lighten(@tab-hover, 55%);
- }
-
- &:active {
- background-color: lighten(@tab-hover, 50%);
- }
-
- .file-name {
- margin: 0;
- font-weight: normal;
- height: 20px;
- line-height: 20px;
-
- &:after {
- content: ' ';
- display: block;
- position: absolute;
- width: 25px;
- height: 25px;
- background: url(../images/icons.png) no-repeat 0 -445px;
- left: 5px;
- top: 10px;
- }
- }
-
- .file-title {
- margin: 0;
- margin-top: 5px;
- font-size: 12px;
- color: #999;
- }
-
- .file-time {
- position: absolute;
- right: 5px;
- top: 10px;
- font-size: 12px;
- color: #999;
- }
-
- }
- }
-
- }
|