Changeset 379 for trunk/web-app/css


Ignore:
Timestamp:
Apr 26, 2010, 2:31:00 PM (11 years ago)
Author:
roberth
Message:

Updated the person, personrole and personaffiliation view templates in order to create a consistent example for simple tables.
Also updated bootstrap.groovy to contain several persons and roles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/web-app/css/default_style.css

    r367 r379  
    122122    height: 120px;
    123123}
     124
     125#content .message {
     126    border: 1px solid #ccc; /* #006dba; */
     127    margin-bottom: 10px;
     128    margin-top: 10px;
     129
     130    background: #f7f7f7 url(../images/icons/famfamfam/information.png) 10px 10px no-repeat;
     131    padding: 10px 10px 10px 33px;
     132
     133}
     134
    124135/** END :: content **/
    125136/** START :: footer **/
     
    200211
    201212/** START :: buttons **/
     213.buttons {
     214    margin-top: 10px;
     215    font-size: 10px;
     216    clear: both;
     217}
     218
     219/* Hides the default navigation bar that is added by the Grails scaffolding */
     220/* .nav { display: none; } */
     221
     222/* Links in the buttons section should look just like buttons in the
     223   same section */
     224#content .button a {
     225    color: #333;
     226}
     227.button a {
     228    font-size: 10px;
     229    font-weight: bold;
     230    margin-left: 3px;
     231    margin-right: 3px;
     232    padding-top: 2px;
     233    padding-bottom: 2px;
     234}
    202235.buttons input {
    203236    background: #fff;
     
    208241    font-weight: bold;
    209242    margin-left: 3px;
     243    margin-right: 3px;
    210244    overflow: visible;
    211245    padding: 2px 6px;
    212 }
    213 .buttons input.delete {
    214     background: transparent url(../images/obsolete/default_style/database_delete.png) 5px 50% no-repeat;
    215     padding-left: 28px;
    216 }
    217 .buttons input.edit {
    218     background: transparent url(../images/obsolete/default_style/database_edit.png) 5px 50% no-repeat;
    219     padding-left: 28px;
    220 }
    221 .buttons input.save {
    222     background: transparent url(../images/obsolete/default_style/database_save.png) 5px 50% no-repeat;
    223     padding-left: 28px;
    224 }
    225 .buttons input.delete {
     246    font-family: Verdana, Arial, Helvetica, sans-serif;
     247}
     248
     249.buttons input.delete, .buttons a.delete {
    226250        background: transparent url(../images/icons/famfamfam/delete.png) 5px 50% no-repeat;
    227251        padding-left: 28px;
    228252}
    229 .buttons input.edit {
     253.buttons input.edit, .buttons a.edit {
    230254        background: transparent url(../images/icons/famfamfam/application_edit.png) 5px 50% no-repeat;
    231255        padding-left: 28px;
    232256}
    233 .buttons input.save {
     257.buttons input.save, .buttons a.save {
    234258        background: transparent url(../images/icons/famfamfam/accept.png) 5px 50% no-repeat;
    235259        padding-left: 28px;
    236260}
     261.buttons input.create, .buttons a.create {
     262        background: transparent url(../images/icons/famfamfam/add.png) 5px 50% no-repeat;
     263        padding-left: 28px;
     264}
     265.buttons input.backToList, .buttons a.backToList {
     266        background: transparent url(../images/icons/famfamfam/application.png) 5px 50% no-repeat;
     267        padding-left: 28px;
     268}
     269.buttons input.cancel, .buttons a.cancel {
     270        background: transparent url(../images/icons/famfamfam/delete.png) 5px 50% no-repeat;
     271        padding-left: 28px;
     272        font-weight: normal;
     273}
     274
     275/* Reset the font weight for buttons occurring within the table */
     276td.buttons input { font-weight: normal; }
     277
    237278/** END :: buttons **/
     279
     280/** START :: pagination buttons **/
     281.paginateButtons {
     282    margin-top: 10px;
     283    overflow: auto;
     284    width: 100%;
     285}
     286
     287.paginateButtons a,
     288.paginateButtons span.currentStep {
     289    border:solid 1px #ccc;
     290    margin-right:2px;
     291    display:block;
     292    float:left;
     293    padding:1px 6px;
     294    text-decoration:none;
     295}
     296
     297.paginateButtons a {
     298    color:#0e509e;
     299}
     300
     301.paginateButtons span.currentStep {
     302    background:#2e6ab1;
     303    color:#FFFFFF;
     304}
     305
     306/** END :: pagination buttons **/
    238307
    239308/* START :: ontology autocomplete */
Note: See TracChangeset for help on using the changeset viewer.