Ticket #1931: allow-dialog-window-height-to-be-dynamic.patch

File allow-dialog-window-height-to-be-dynamic.patch, 1.9 KB (added by kjg, 13 years ago)
  • web/stylesheets/common.css

    From d257011c7df767c605af670342de953c8b90b1bc Mon Sep 17 00:00:00 2001
    From: Kevin Glowacz <kevin@glowacz.info>
    Date: Sun, 15 Mar 2009 23:20:52 -0500
    Subject: [PATCH] allow dialog_windows to have a dynamic height
    
    ---
     web/stylesheets/common.css |   12 +++---------
     1 files changed, 3 insertions(+), 9 deletions(-)
    
    diff --git a/web/stylesheets/common.css b/web/stylesheets/common.css
    index 4c0ca9f..332f8c4 100644
    a b div.dialog_container div.dialog_window { 
    763763        border-top: none;
    764764        text-align: left;
    765765        width: 420px;
    766         height: 145px;
     766        overflow: hidden;
    767767        position: relative;
    768768        -webkit-box-shadow: 0 3px 6px rgba(0,0,0,0.7);
    769769        top: 50%;
    770         padding-bottom: 20px;
    771770}
    772771@media screen and (-webkit-min-device-pixel-ratio:0) {
    773772        div.dialog_container div.dialog_window {
    div.dialog_container div.dialog_window { 
    778777
    779778div#prefs_container div.dialog_window {
    780779        width: 410px;
    781         height: 420px;
    782780        padding: 0 15px;
    783781        line-height: 14pt;
    784782}
    div.dialog_container div.dialog_window div.dialog_message { 
    801799        float: left;
    802800        padding-left: 3px;
    803801        margin-left: -3px;
    804         margin-bottom: 10px;
    805802        width: 305px;
    806         height: 55px;
    807803        overflow: hidden;
    808804}
    809805
    810806div.dialog_container div.dialog_window a {
    811807        display: block;
    812808        float: right;
    813         margin: 0px 20px 0px -8px;
     809        margin: 10px 20px 10px -8px;
    814810        padding: 5px;
    815811        background-color: #EEE;
    816812        border: 1px solid #787878;
    div#prefs_container div#pref_error { 
    10431039        background: transparent;
    10441040        border: 1px solid rgba(0,0,0,0.1);
    10451041        -webkit-border-radius: 5px;
    1046         min-width: 210px;
    10471042}
    10481043
    10491044.trans_menu div.inner {
    10501045        left: 0;
    10511046        margin: 0;
    1052         min-width: 210px;
    10531047}
    10541048
    10551049.trans_menu li.main {
    div#prefs_container div#pref_error { 
    10601054
    10611055.trans_menu li.main li {
    10621056        z-index: 2;
    1063         min-width: 180px;
     1057        min-width: 78px;
    10641058}
    10651059
    10661060.trans_menu li.main.active {