| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190 |
- @versionsListWidth:200px;
- @versionsListPadding:10px;
- #diffViewArea{
- position: absolute;
- left: @versionsListWidth + 1px;
- right: 0;
- padding: 0px 12px;
- overflow: scroll;
- height: 100%;
- }
- #historySideBar {
- border-right: 1px solid #999;
- height: 100%;
- width: @versionsListWidth;
- position: absolute;
- .take-snapshot-wrapper {
- height: 30px;
- text-align: center;
- padding: 10px;
- border-bottom: 1px solid #999;
- }
- #versionListArea {
- overflow: scroll;
- position: absolute;
- left: 0px;
- right: 0px;
- top: 51px;
- bottom: 0px;
- #version-list {
- margin: 0;
- li {
- a {
- .border-radius(0);
- .version-date {
- text-align: right;
- font-size: 10px;
- text-decoration: none;
- color: #666;
- }
- &:hover {
- background-color: #DDD;
- }
- }
- }
- li.active {
- a {
- color: white;
- .version-date {
- color: white;
- }
- &:hover {
- background-color: @linkColor;
- }
- }
- }
- .loading, .empty-message {
- margin-bottom: 100px;
- padding-left: 12px;
- }
- }
- }
- }
- #enableVersioningMessage {
- text-align: center;
- .message {
- font-size: 18px;
- margin: 12px;
- margin-top: 36px;
- }
- }
- #snapshotComment {
- width: 520px;
- }
- @fileDiffBorder: #D0D0D0;
- .diffView {
- h2 {
- margin: 6px 0 2px;
- }
- }
- .fileDiffView {
- margin-top: 12px;
- .fileHeader {
- h3 {
- font-weight: normal;
- padding-left: 6px;
- &.created, &.deleted {
- padding-left: 6px + 22px;
- background-repeat: no-repeat;
- background-position: 6px center;
- }
- &.created {
- background-image: url(/img/silk/created.png);
- }
- &.deleted {
- background-image: url(/img/silk/deleted.png);
- }
- }
- .nav {
- margin-bottom: 0
- }
- padding: 4px;
- border: 1px solid @fileDiffBorder;
- background-color: #f9f9f9;
- .clearfix();
- }
- .rawFileContent {
- .border-radius(0);
- border-top: none;
- white-space: pre-wrap;
- word-break: normal;
- background-color: white;
- }
- .binaryFileDiff {
- border: 1px solid @fileDiffBorder;
- border-top: none;
- background-color: #F9F9F9;
- text-align: center;
- padding: 12px 6px;
- }
-
- .fileMoved {
- line-height: @baseLineHeight * 1.5;
- font-size: 18px;
- padding-left: 6px + 20px;
- background-image: url(/img/silk/moved.png);
- background-repeat: no-repeat;
- background-position: 6px 4px;
- }
- table.sectionDiff {
- margin: 0;
- border: 1px solid @fileDiffBorder;
- border-top: none;
- width: 100%;
- background-color: white;
- td {
- vertical-align: top;
- line-height: @baseLineHeight;
- }
- .old_line_number, .new_line_number {
- border-right: 1px solid @fileDiffBorder;
- width: 30px;
- color: #999;
- text-align: center;
- }
-
- .symbol {
- width: 8px;
- }
- .content {
- white-space: pre-wrap;
- }
- tr.added {
- .symbol, .content {
- background-color: #ddffdd;
- color: green;
- }
- }
- tr.removed {
- .symbol, .content {
- background-color: #ffdddd;
- color: red;
- }
- }
- }
- .sectionSeparator {
- height: 6px;
- background-color: #f9f9f9;
- border: 1px solid @fileDiffBorder;
- border-top: none;
- }
- }
|