Changeset 203290 in webkit


Ignore:
Timestamp:
Jul 15, 2016, 12:01:56 PM (9 years ago)
Author:
timothy@apple.com
Message:

Web Inspector: Make Open Quickly and Goto Line dialogs match Xcode 8
https://bugs.webkit.org/show_bug.cgi?id=159823
rdar://problem/27376501

Reviewed by Brian Burg.

  • UserInterface/Views/GoToLineDialog.css:

(.go-to-line-dialog):
(.go-to-line-dialog > div > input):
(.go-to-line-dialog > div > input::placeholder):
(.go-to-line-dialog > div > img):
(.go-to-line-dialog > div): Deleted.

  • UserInterface/Views/OpenResourceDialog.css:

(.open-resource-dialog):
(.open-resource-dialog > .field):
(.open-resource-dialog > .field > input):
(.open-resource-dialog > .field > input::placeholder):
(.open-resource-dialog > .field > img):
(.open-resource-dialog > .tree-outline .item): Deleted.
(.open-resource-dialog > .tree-outline .item:first-child): Deleted.

Location:
trunk/Source/WebInspectorUI
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r203254 r203290  
     12016-07-15  Timothy Hatcher  <timothy@apple.com>
     2
     3        Web Inspector: Make Open Quickly and Goto Line dialogs match Xcode 8
     4        https://bugs.webkit.org/show_bug.cgi?id=159823
     5        rdar://problem/27376501
     6
     7        Reviewed by Brian Burg.
     8
     9        * UserInterface/Views/GoToLineDialog.css:
     10        (.go-to-line-dialog):
     11        (.go-to-line-dialog > div > input):
     12        (.go-to-line-dialog > div > input::placeholder):
     13        (.go-to-line-dialog > div > img):
     14        (.go-to-line-dialog > div): Deleted.
     15        * UserInterface/Views/OpenResourceDialog.css:
     16        (.open-resource-dialog):
     17        (.open-resource-dialog > .field):
     18        (.open-resource-dialog > .field > input):
     19        (.open-resource-dialog > .field > input::placeholder):
     20        (.open-resource-dialog > .field > img):
     21        (.open-resource-dialog > .tree-outline .item): Deleted.
     22        (.open-resource-dialog > .tree-outline .item:first-child): Deleted.
     23
    1242016-07-14  Joseph Pecoraro  <pecoraro@apple.com>
    225
  • trunk/Source/WebInspectorUI/UserInterface/Views/GoToLineDialog.css

    r202066 r203290  
    2727    position: relative;
    2828    left: 50%;
    29     top: 50px;
     29    top: 21px;
    3030    width: calc(100% - 40px);
    3131    max-width: 452px;
    32     height: 38px;
    33     transform: translate(-50%, -50%);
    34     padding: 3px;
     32    height: 46px;
     33
     34    transform: translate(-50%, 0);
     35
     36    padding: 8px 3px;
     37
    3538    border-radius: 5px;
    36     background-color: hsla(0, 0%, 90%, 0.95);
    37     border: 1px hsl(0, 0%, 85%) solid;
     39    background-color: hsla(0, 0%, 95%, 0.8);
     40    border: 1px hsla(0, 0%, 0%, 0.25) solid;
    3841    box-shadow: 1px 5px 20px 3px hsla(0, 0%, 0%, 0.33);
     42
     43    -webkit-backdrop-filter: blur(10px);
    3944}
    4045
     
    4247    width: 100%;
    4348    height: 100%;
    44     border-radius: 4px;
    45     background-color: white;
    46     border: 1px hsl(0, 0%, 80%) solid;
    4749}
    4850
    4951.go-to-line-dialog > div > input {
    50     position: absolute;
    51     left: 2px;
    52     right: 36px;
     52    display: block;
     53    width: 100%;
    5354    border: none;
    5455    background-color: transparent;
    5556    font-size: 20px;
    5657    color: hsl(0, 0%, 4%);
    57     padding: 0 0 1px 5px;
     58    padding: 0 30px 1px 7px;
    5859    outline: none;
     60    -webkit-appearance: none;
    5961}
    6062
    6163.go-to-line-dialog > div > input::placeholder {
    62     color: hsl(0, 0%, 52%);
     64    color: hsl(0, 0%, 0%, 0.25);
    6365}
    6466
    6567.go-to-line-dialog > div > img {
    6668    position: absolute;
    67     top: 9px;
    68     right: 12px;
     69    top: 15px;
     70    right: 10px;
    6971    padding: 2px;
    7072    border-radius: 9px;
    71     width: 18px;
    72     height: 18px;
    73     background-color: hsl(0, 0%, 73%);
     73    width: 15px;
     74    height: 15px;
     75    background-color: hsl(0, 0%, 60%);
    7476    display: none;
    7577    content: url(../Images/CloseWhite.svg);
  • trunk/Source/WebInspectorUI/UserInterface/Views/OpenResourceDialog.css

    r202066 r203290  
    2727    display: flex;
    2828    flex-direction: column;
     29
    2930    position: absolute;
    3031    left: 50%;
     
    3637
    3738    transform: translate(-50%, 0);
     39
    3840    border-radius: 5px;
    39     background-color: hsl(0, 0%, 90%);
    40     border: 1px hsl(0, 0%, 70%) solid;
     41    background-color: hsla(0, 0%, 95%, 0.8);
     42    border: 1px hsla(0, 0%, 0%, 0.25) solid;
    4143    box-shadow: 1px 5px 20px 3px hsla(0, 0%, 0%, 0.33);
     44
     45    -webkit-backdrop-filter: blur(10px);
    4246
    4347    z-index: var(--z-index-popover);
     
    4549
    4650.open-resource-dialog > .field {
    47     margin: 3px;
    48     border-radius: 4px;
    49     background-color: white;
    50     border: 1px hsl(0, 0%, 80%) solid;
     51    margin: 8px 3px;
    5152}
    5253
     
    5859    font-size: 20px;
    5960    color: hsl(0, 0%, 4%);
    60     padding: 0 34px 1px 7px;
     61    padding: 0 30px 1px 7px;
    6162    outline: none;
     63    -webkit-appearance: none;
    6264}
    6365
    6466.open-resource-dialog > .field > input::placeholder {
    65     color: hsl(0, 0%, 52%);
     67    color: hsl(0, 0%, 0%, 0.25);
    6668}
    6769
    6870.open-resource-dialog > .field > img {
    6971    position: absolute;
    70     top: 10px;
    71     right: 12px;
     72    top: 15px;
     73    right: 10px;
    7274    padding: 2px;
    7375    border-radius: 9px;
     
    9799
    98100.open-resource-dialog > .tree-outline .item {
    99     border-top-color: hsl(0, 0%, 94%);
    100 }
    101 
    102 .open-resource-dialog > .tree-outline .item:first-child {
    103101    border: none;
    104102}
Note: See TracChangeset for help on using the changeset viewer.