[ Index ]

WordPress 5.4.1

[ Index ]     [ Classes ]     [ Functions ]     [ Variables ]     [ Constants ]     [ Statistics ]    

title

Body

[close]

/wp-admin/css/ -> revisions-rtl.css (source)

   1  /*! This file is auto-generated */
   2  /*------------------------------------------------------------------------------
   3    11.2 - Post Revisions
   4  ------------------------------------------------------------------------------*/
   5  .revisions-control-frame,
   6  .revisions-diff-frame {
   7      position: relative;
   8  }
   9  
  10  .revisions-diff-frame {
  11      top: 10px;
  12  }
  13  
  14  .revisions-controls {
  15      padding-top: 40px;
  16      z-index: 1;
  17  }
  18  
  19  .revisions-controls input[type="checkbox"] {
  20      position: relative;
  21      top: -1px;
  22      vertical-align: text-bottom;
  23  }
  24  
  25  .revisions.pinned .revisions-controls {
  26      position: fixed;
  27      top: 0;
  28      height: 82px;
  29      background: #fff;
  30      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  31  }
  32  
  33  .revisions-tickmarks {
  34      position: relative;
  35      margin: 0 auto;
  36      height: 0.7em;
  37      top: 7px;
  38      max-width: 70%;
  39      box-sizing: border-box;
  40      background-color: #fff;
  41  }
  42  
  43  .revisions-tickmarks > div {
  44      position: absolute;
  45      height: 100%;
  46      border-right: 1px solid #a0a5aa;
  47      box-sizing: border-box;
  48  }
  49  
  50  .revisions-tickmarks > div:first-child {
  51      border-width: 0;
  52  }
  53  
  54  .comparing-two-revisions .revisions-controls {
  55      height: 140px;
  56  }
  57  
  58  .comparing-two-revisions.pinned .revisions-controls {
  59      height: 124px;
  60  }
  61  
  62  .revisions .diff-error {
  63      position: absolute;
  64      text-align: center;
  65      margin: 0 auto;
  66      width: 100%;
  67      display: none;
  68  }
  69  
  70  .revisions.diff-error .diff-error {
  71      display: block;
  72  }
  73  
  74  .revisions .loading-indicator {
  75      position: absolute;
  76      vertical-align: middle;
  77      opacity: 0;
  78      width: 100%;
  79      width: calc( 100% - 30px );
  80      top: 50%;
  81      top: calc( 50% - 10px );
  82      transition: opacity 0.5s;
  83      filter: alpha(opacity=0); /* ie8 and earlier */
  84  }
  85  
  86  body.folded .revisions .loading-indicator {
  87      margin-right: -32px;
  88  }
  89  
  90  .revisions .loading-indicator span.spinner {
  91      display: block;
  92      margin: 0 auto;
  93      float: none;
  94  }
  95  
  96  .revisions.loading .loading-indicator {
  97      opacity: 1;
  98      filter: alpha(opacity=100); /* ie8 and earlier */
  99  }
 100  
 101  .revisions .diff {
 102      transition: opacity 0.5s;
 103  }
 104  
 105  .revisions.loading .diff {
 106      opacity: 0.5;
 107      filter: alpha(opacity=50); /* ie8 and earlier */
 108  }
 109  
 110  .revisions.diff-error .diff {
 111      visibility: hidden;
 112  }
 113  
 114  .revisions-meta {
 115      margin-top: 20px;
 116      background-color: #fff;
 117      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 118      overflow: hidden;
 119  }
 120  
 121  .revisions.pinned .revisions-meta {
 122      box-shadow: none;
 123  }
 124  
 125  .revision-toggle-compare-mode {
 126      position: absolute;
 127      top: 0;
 128      left: 0;
 129  }
 130  
 131  .comparing-two-revisions .revisions-previous,
 132  .comparing-two-revisions .revisions-next,
 133  .revisions-meta .diff-meta-to strong {
 134      display: none;
 135  }
 136  
 137  .revisions-controls .author-card .date {
 138      color: #72777c;
 139  }
 140  
 141  .revisions-controls .author-card.autosave {
 142      color: #d54e21;
 143  }
 144  
 145  .revisions-controls .author-card .author-name {
 146      font-weight: 600;
 147  }
 148  
 149  .comparing-two-revisions .diff-meta-to strong {
 150      display: block;
 151  }
 152  
 153  .revisions.pinned .revisions-buttons {
 154      padding: 0 11px;
 155  }
 156  
 157  .revisions-previous,
 158  .revisions-next {
 159      position: relative;
 160      z-index: 1;
 161  }
 162  
 163  .revisions-previous {
 164      float: right;
 165  }
 166  
 167  .revisions-next {
 168      float: left;
 169  }
 170  
 171  .revisions-controls .wp-slider {
 172      max-width: 70%;
 173      margin: 0 auto;
 174      top: -3px;
 175  }
 176  
 177  .revisions-diff {
 178      padding: 15px;
 179      background-color: #fff;
 180      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 181  }
 182  
 183  .revisions-diff h3:first-child {
 184      margin-top: 0;
 185  }
 186  
 187  /* Revision meta box */
 188  .post-revisions li img,
 189  #revisions-meta-restored img {
 190      vertical-align: middle;
 191  }
 192  
 193  table.diff tbody tr td:nth-child(2) {
 194      width: 4%;
 195  }
 196  
 197  table.diff {
 198      table-layout: fixed;
 199      width: 100%;
 200      white-space: pre-wrap;
 201  }
 202  
 203  table.diff col.content {
 204      width: auto;
 205  }
 206  
 207  table.diff col.content.diffsplit {
 208      width: 48%;
 209  }
 210  
 211  table.diff col.diffsplit.middle {
 212      width: auto;
 213  }
 214  
 215  table.diff col.ltype {
 216      width: 30px;
 217  }
 218  
 219  table.diff tr {
 220      background-color: transparent;
 221  }
 222  
 223  table.diff td,
 224  table.diff th {
 225      font-family: Consolas, Monaco, monospace;
 226      font-size: 14px;
 227      line-height: 1.57142857;
 228      padding: 0.5em 2em 0.5em 0.5em;
 229      vertical-align: top;
 230      word-wrap: break-word;
 231  }
 232  
 233  table.diff td h1,
 234  table.diff td h2,
 235  table.diff td h3,
 236  table.diff td h4,
 237  table.diff td h5,
 238  table.diff td h6 {
 239      margin: 0;
 240  }
 241  
 242  table.diff .diff-deletedline del,
 243  table.diff .diff-addedline ins {
 244      text-decoration: none;
 245  }
 246  
 247  table.diff .diff-deletedline {
 248      position: relative;
 249      background-color: #ffe9e9;
 250  }
 251  
 252  table.diff .diff-deletedline del {
 253      background-color: #faa;
 254  }
 255  
 256  table.diff .diff-addedline {
 257      position: relative;
 258      background-color: #e9ffe9;
 259  }
 260  
 261  table.diff .diff-deletedline .dashicons,
 262  table.diff .diff-addedline .dashicons {
 263      position: absolute;
 264      top: 0.85714286em;
 265      right: 0.5em;
 266      width: 1em;
 267      height: 1em;
 268      font-size: 1em;
 269      line-height: 1;
 270  }
 271  
 272  table.diff .diff-addedline .dashicons {
 273      /* Compensate the vertically non-centered plus glyph. */
 274      top: 0.92857143em;
 275  }
 276  
 277  table.diff .diff-addedline ins {
 278      background-color: #afa;
 279  }
 280  
 281  .diff-meta {
 282      padding: 5px;
 283      clear: both;
 284      min-height: 32px;
 285  }
 286  
 287  .diff-title strong {
 288      line-height: 2.46153846;
 289      min-width: 60px;
 290      text-align: left;
 291      float: right;
 292      margin-left: 5px;
 293  }
 294  
 295  .revisions-controls .author-card .author-info {
 296      font-size: 12px;
 297      line-height: 1.33333333;
 298  }
 299  
 300  .revisions-controls .author-card .avatar,
 301  .revisions-controls .author-card .author-info {
 302      float: right;
 303      margin-right: 6px;
 304      margin-left: 6px;
 305  }
 306  
 307  .revisions-controls .author-card .byline {
 308      display: block;
 309      font-size: 12px;
 310  }
 311  
 312  .revisions-controls .author-card .avatar {
 313      vertical-align: middle;
 314  }
 315  
 316  .diff-meta input.restore-revision {
 317      float: left;
 318      margin-right: 6px;
 319      margin-left: 6px;
 320      margin-top: 2px;
 321  }
 322  
 323  .diff-meta-from {
 324      display: none;
 325  }
 326  
 327  .comparing-two-revisions .diff-meta-from {
 328      display: block;
 329  }
 330  
 331  .revisions-tooltip {
 332      position: absolute;
 333      bottom: 105px;
 334      margin-left: 0;
 335      margin-right: -69px;
 336      z-index: 0;
 337      max-width: 350px;
 338      min-width: 130px;
 339      padding: 8px 4px;
 340      display: none;
 341      opacity: 0;
 342  }
 343  
 344  .revisions-tooltip.flipped {
 345      margin-right: 0;
 346      margin-left: -70px;
 347  }
 348  
 349  .revisions.pinned .revisions-tooltip {
 350      display: none !important;
 351  }
 352  
 353  .comparing-two-revisions .revisions-tooltip {
 354      bottom: 145px;
 355  }
 356  
 357  .revisions-tooltip-arrow {
 358      width: 70px;
 359      height: 15px;
 360      overflow: hidden;
 361      position: absolute;
 362      right: 0;
 363      margin-right: 35px;
 364      bottom: -15px;
 365  }
 366  
 367  .revisions-tooltip.flipped .revisions-tooltip-arrow {
 368      margin-right: 0;
 369      margin-left: 35px;
 370      right: auto;
 371      left: 0;
 372  }
 373  
 374  .revisions-tooltip-arrow > span {
 375      content: "";
 376      position: absolute;
 377      right: 20px;
 378      top: -20px;
 379      width: 25px;
 380      height: 25px;
 381      transform: rotate(-45deg);
 382  }
 383  
 384  .revisions-tooltip.flipped .revisions-tooltip-arrow > span {
 385      right: auto;
 386      left: 20px;
 387  }
 388  
 389  .ie8 .revisions-tooltip-arrow > span {
 390      right: 15px;
 391      top: -25px;
 392      -ms-filter: "progid:DXImageTransform.Microsoft.Matrix(SizingMethod='auto expand', M11=0.7071067811865476, M12=-0.7071067811865475, M21=0.7071067811865475, M22=0.7071067811865476)";
 393  }
 394  
 395  .ie8 .revisions-tooltip.flipped .revisions-tooltip-arrow > span {
 396      left: 25px;
 397  }
 398  
 399  .revisions-tooltip,
 400  .revisions-tooltip-arrow > span {
 401      border: 1px solid #ddd;
 402      background-color: #fff;
 403  }
 404  
 405  .revisions-tooltip {
 406      display: none;
 407  }
 408  
 409  .arrow {
 410      width: 70px;
 411      height: 16px;
 412      overflow: hidden;
 413      position: absolute;
 414      right: 0;
 415      margin-right: -35px;
 416      bottom: 90px;
 417      z-index: 10000;
 418  }
 419  
 420  .arrow:after {
 421      z-index: 9999;
 422      background-color: #fff;
 423      box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
 424  }
 425  
 426  .arrow.top {
 427      top: -16px;
 428      bottom: auto;
 429  }
 430  
 431  .arrow.left {
 432      right: 20%;
 433  }
 434  
 435  .arrow:after {
 436      content: "";
 437      position: absolute;
 438      right: 20px;
 439      top: -20px;
 440      width: 25px;
 441      height: 25px;
 442      transform: rotate(-45deg);
 443  }
 444  
 445  .revisions-tooltip,
 446  .revisions-tooltip-arrow:after {
 447      border-width: 1px;
 448      border-style: solid;
 449  }
 450  
 451  div.revisions-controls > .wp-slider > .ui-slider-handle {
 452      margin-right: -10px;
 453  }
 454  
 455  .rtl div.revisions-controls > .wp-slider > .ui-slider-handle {
 456      margin-left: -10px;
 457  }
 458  
 459  /* jQuery UI Slider */
 460  .wp-slider.ui-slider {
 461      position: relative;
 462      border: 1px solid #ddd;
 463      text-align: right;
 464      cursor: pointer;
 465  }
 466  
 467  .wp-slider .ui-slider-handle {
 468      border-radius: 50%;
 469      height: 18px;
 470      margin-top: -5px;
 471      outline: none;
 472      padding: 2px;
 473      position: absolute;
 474      width: 18px;
 475      z-index: 2;
 476      touch-action: none;
 477  }
 478  
 479  .wp-slider .ui-slider-handle,
 480  .wp-slider .ui-slider-handle.focus {
 481      background: #f7f7f7;
 482      border: 1px solid #ccc;
 483      box-shadow: 0 1px 0 #cccccc;
 484  }
 485  
 486  .wp-slider .ui-slider-handle:hover,
 487  .wp-slider .ui-slider-handle.ui-state-hover {
 488      background: #fafafa;
 489      border-color: #999;
 490  }
 491  
 492  .wp-slider .ui-slider-handle:active,
 493  .wp-slider .ui-slider-handle.ui-state-active {
 494      background: #eee;
 495      border-color: #999;
 496      box-shadow: inset 0 2px 5px -3px rgba(0, 0, 0, 0.5);
 497      transform: translateY(1px);
 498  }
 499  
 500  .wp-slider .ui-slider-handle:before {
 501      background: none;
 502      position: absolute;
 503      top: 2px;
 504      right: 2px;
 505      color: #555;
 506      content: "\f229";
 507      font: normal 18px/1 dashicons;
 508      speak: none;
 509      -webkit-font-smoothing: antialiased;
 510      -moz-osx-font-smoothing: grayscale;
 511  }
 512  
 513  .wp-slider .ui-slider-handle:hover:before,
 514  .wp-slider .ui-slider-handle.ui-state-hover:before {
 515      color: #23282d;
 516  }
 517  
 518  .wp-slider .ui-slider-handle.from-handle:before,
 519  .wp-slider .ui-slider-handle.to-handle:before {
 520      font-size: 20px !important;
 521      margin: -1px -1px 0 0;
 522  }
 523  
 524  .wp-slider .ui-slider-handle.from-handle:before {
 525      content: "\f141";
 526  }
 527  
 528  .wp-slider .ui-slider-handle.to-handle:before {
 529      content: "\f139";
 530  }
 531  
 532  .rtl .wp-slider .ui-slider-handle.from-handle:before {
 533      content: "\f139";
 534  }
 535  
 536  .rtl .wp-slider .ui-slider-handle.to-handle:before {
 537      content: "\f141";
 538      left: -1px;
 539  }
 540  
 541  .wp-slider .ui-slider-range {
 542      position: absolute;
 543      font-size: 0.7em;
 544      display: block;
 545      border: 0;
 546      background-color: transparent;
 547      background-image: none;
 548  }
 549  
 550  .wp-slider.ui-slider-horizontal {
 551      height: 0.7em;
 552  }
 553  
 554  .wp-slider.ui-slider-horizontal .ui-slider-handle {
 555      top: -.25em;
 556      margin-right: -.6em;
 557  }
 558  
 559  .wp-slider.ui-slider-horizontal .ui-slider-range {
 560      top: 0;
 561      height: 100%;
 562  }
 563  
 564  .wp-slider.ui-slider-horizontal .ui-slider-range-min {
 565      right: 0;
 566  }
 567  
 568  .wp-slider.ui-slider-horizontal .ui-slider-range-max {
 569      left: 0;
 570  }
 571  
 572  /* =Media Queries
 573  -------------------------------------------------------------- */
 574  
 575  /**
 576   * HiDPI Displays
 577   */
 578  @media print,
 579    (-webkit-min-device-pixel-ratio: 1.25),
 580    (min-resolution: 120dpi) {
 581      .revision-tick.completed-false {
 582          background-image: url(../images/spinner-2x.gif);
 583      }
 584  }
 585  
 586  @media screen and (max-width: 782px) {
 587      #diff-next-revision,
 588      #diff-previous-revision {
 589          margin-top: -1em;
 590      }
 591  
 592      .revisions-buttons {
 593          overflow: hidden;
 594          margin-bottom: 15px;
 595      }
 596  
 597      .revisions-controls,
 598      .comparing-two-revisions .revisions-controls {
 599          height: 170px;
 600      }
 601  
 602      .revisions-tooltip {
 603          bottom: 130px;
 604          z-index: 2;
 605      }
 606  
 607      .diff-meta {
 608          overflow: hidden;
 609      }
 610  
 611      table.diff {
 612          -ms-word-break: break-all;
 613          word-break: break-all;
 614          word-wrap: break-word;
 615      }
 616  
 617      .diff-meta input.restore-revision {
 618          margin-top: 0;
 619      }
 620  }


Generated: Tue May 19 15:51:04 2020 Cross-referenced by PHPXref 0.7.1