Ignore:
Timestamp:
06/28/09 16:35:36 (16 years ago)
Author:
lgiessmann
Message:

ajax-client: fixed a bug with disabling the datatype frames; fixed a style-bug with disabling frames; added css stylesheets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/ajax/css/frame.css

    r71 r73  
    1212ul.fragmentFrame {
    1313    list-style-type: none;
    14 }
    15 
    16 caption {
     14    padding-left: 0px;
     15}
     16
     17ul.fragmentFrame table > caption {
    1718    font-size: 1.5em;
    1819    font-weight: bold;
     
    2122td.controlColumn {
    2223    background-color: #eaeaee;
     24    width: 13px;
    2325}
    2426
     
    3234}
    3335
     36li.instanceOfFrame > div {
     37    margin-left: 10px;
     38}
     39
     40li.instanceOfFrame > div > input[type="button"]{
     41    margin-left: 24px;
     42}
     43
    3444input[value="generate fragment"] {
    3545    margin-top: 10px;
     
    3747}
    3848
     49input[value="validate fragment"] {
     50    float: right;
     51}
     52
    3953input[value="commit fragment"] {
     54    margin-left: 5px;
    4055    float: right;
    4156}
     57
     58
     59/* === remove/add buttons in any kind of rows =============================== */
     60div.textrowWithoutRemoveButton span{
     61    display: inline-block;
     62    width: 20px;
     63    margin-left: 2px;
     64    margin-right: 2px;
     65    text-align: center;
     66}
     67
     68div.textrowWithRemoveButton span{
     69    display: inline-block;
     70    width: 20px;
     71    margin-left: 2px;
     72    margin-right: 2px;
     73    text-align: center;
     74}
     75
     76div.selectrowWithoutRemoveButton span{
     77    display: inline-block;
     78    width: 20px;
     79    margin-left: 2px;
     80    margin-right: 2px;
     81    text-align: center;
     82}
     83
     84div.selectrowWithRemoveButton span{
     85    display: inline-block;
     86    width: 20px;
     87    margin-left: 2px;
     88    margin-right: 2px;
     89    text-align: center;
     90}
     91
     92input[type="text"] {
     93    background-color: #white;
     94    border: 1px solid darkgray;
     95    margin-bottom: 1px;
     96    margin-top: 1px;
     97}
     98
     99input[type="text"][readonly="readonly"] {
     100    background-color: #eaeaee;
     101    border: 1px solid darkgray;
     102    margin-bottom: 1px;
     103    margin-top: 1px;
     104}
     105
     106
     107div.textrowWithRemoveButton > input[type="text"]{
     108    margin-left: 0px;
     109    font-weight: normal;
     110}
     111
     112div.textrowWithoutRemoveButton > input[type="text"]{
     113    margin-left: 24px;
     114    font-weight: normal;
     115}
     116
     117div.selectrowWithRemoveButton > select {
     118    margin-left: 0px;
     119    font-weight: normal;
     120}
     121
     122div.selectrowWithoutRemoveButton > select {
     123    margin-left: 24px;
     124    font-weight: normal;
     125}
     126
     127textarea {
     128    margin-left: 24px;
     129    background-color: white;
     130    border: 1px solid darkgray;
     131    margin-bottom: 1px;
     132    margin-top: 1px;
     133}
     134
     135textarea[readonly="readonly"] {
     136    margin-left: 24px;
     137    background-color: #eaeaee;
     138    border: 1px solid darkgray;
     139    margin-bottom: 1px;
     140    margin-top: 1px;
     141}
     142
     143
     144/* === topic frame ========================================================== */
     145table.topicFrame {
     146    width: 1022px;
     147    border-collapse: collapse;
     148    border: 1px solid #d1d1d3;
     149}
     150
     151table.topicFrame > tr > td.description {
     152    width: 163px;
     153}
     154
     155table.topicFrame > tr > td.content {
     156    width: 854px;
     157}
     158
     159table.topicFrame > tr.topicIdFrame {
     160    background-color: #f6f7f9;
     161}
     162
     163table.topicFrame > tr.subjectLocatorFrame {
     164    background-color: #f6f7f9;
     165}
     166
     167table.topicFrame > tr.nameContainer {
     168    background-color: #f6f7f9;
     169}
     170
     171table.topicFrame:hover {
     172    border: 1px solid #ff7f00;
     173}
     174
     175
     176/* === name frame =========================================================== */
     177table.topicFrame table.nameFrame {
     178    width: 851px;
     179    margin-top: 2px;
     180    margin-bottom: 2px;
     181    margin-left: 1px;
     182    border-collapse: collapse;
     183    border: 1px solid #d1d1d3;
     184}
     185
     186table.topicFrame table.nameFrame td.description {
     187    width: 142px;
     188}
     189
     190table.topicFrame table.nameFrame td.content {
     191    width: 689px;
     192}
     193
     194table.topicFrame table.nameFrame > tr.typeFrame {
     195    background-color: white;
     196}
     197
     198table.topicFrame table.nameFrame > tr.valueFrame {
     199    background-color: white;
     200}
     201
     202table.topicFrame table.nameFrame:hover {
     203    border: 1px solid #ff7f00;
     204}
     205
     206
     207/* === variant frame ======================================================== */
     208table.nameFrame div.variantFrame {
     209    margin-left: 24px;
     210}
     211
     212table.nameFrame table.variantFrame {
     213    width: 667px;
     214    margin-top: 2px;
     215    margin-bottom: 2px;
     216    border-collapse: collapse;
     217    border: 1px solid #d1d1d3;
     218}
     219
     220table.nameFrame table.variantFrame > tr > td.description {
     221    width: 142px;
     222}
     223
     224table.nameFrame table.variantFrame > tr > td.content {
     225    width: 505px;
     226}
     227
     228table.nameFrame table.variantFrame tr.scopeContainer {
     229    background-color: white;
     230}
     231
     232table.nameFrame table.variantFrame tr.datatypeFrame {
     233    background-color: white;
     234}
     235
     236table.nameFrame table.variantFrame:hover {
     237    border: 1px solid #ff7f00;
     238}
     239
     240
     241/* === occurrence frame ===================================================== */
     242table.topicFrame table.occurrenceFrame {
     243    width: 851px;
     244    margin-top: 2px;
     245    margin-bottom: 2px;
     246    margin-left: 1px;
     247    border-collapse: collapse;
     248    border: 1px solid #d1d1d3;
     249}
     250
     251table.topicFrame table.occurrenceFrame td.description {
     252    width: 142px;
     253}
     254
     255table.topicFrame table.occurrenceFrame td.content {
     256    width: 689px;
     257}
     258
     259table.topicFrame table.occurrenceFrame > tr.typeFrame {
     260    background-color: #f6f7f9;
     261}
     262
     263table.topicFrame table.occurrenceFrame > tr.valueFrame {
     264    background-color: #f6f7f9;
     265}
     266
     267table.topicFrame table.occurrenceFrame:hover {
     268    border: 1px solid #ff7f00;
     269}
     270
     271
     272/* === association container / association frame ============================ */
     273div.associationContainer {
     274    margin-top: 30px;
     275}
     276
     277table.associationContainer {
     278    border-collapse: collapse;
     279    width: 1022px;
     280    border: 1px solid #d1d1d3;
     281}
     282
     283table.associationContainer:hover {
     284    border: 1px solid #ff7f00;
     285}
     286
     287table.associationFrame {
     288    border-collapse: collapse;
     289    margin-left: 1px;
     290    margin-top: 1px;
     291    margin-bottom: 1px;
     292    border: 1px solid #d1d1d3;
     293    width: 1018px;
     294}
     295
     296table.associationFrame:hover {
     297    border: 1px solid #ff7f00;
     298}
     299
     300table.associationFrame > tr > td.description {
     301    width: 142px;
     302}
     303
     304table.associationFrame > tr > td.content {
     305    width: 853px;
     306}
     307
     308table.associationFrame > tr.itemIdentityFrame {
     309    background-color: #f6f7f9;
     310}
     311
     312table.associationFrame > tr.scopeContainer {
     313    background-color: #f6f7f9;
     314}
     315
     316
     317
     318
     319/* === associationrole frame ================================================ */
     320table.associationFrame table.roleFrame {
     321    width: 853px;
     322    margin-left: 1px;
     323    margin-top: 2px;
     324    margin-bottom: 2px;
     325    border-collapse: collapse;
     326    border: 1px solid #d1d1d3;
     327}
     328
     329table.associationFrame table.roleFrame:hover {
     330    border: 1px solid #ff7f00;
     331}
     332
     333table.associationFrame table.roleFrame > tr > td.description {
     334    width: 142px;
     335}
     336
     337table.associationFrame table.roleFrame > tr > td.content {
     338    width: 692px;
     339}
     340
     341table.roleFrame > tr.typeFrame {
     342    background-color: #f6f7f9;
     343}
     344
     345
     346
     347/* === tmId frame  ========================================================== */
     348div.tmIdFrame {
     349    margin-top: 30px;
     350}
     351
     352table.tmIdFrame {
     353    width: 1023px;
     354    border-collapse: collapse;
     355    border: 1px solid #d1d1d3;
     356    background-color: #f6f7f9;
     357}
     358
     359table.tmIdFrame:hover {
     360    border: 1px solid #ff7f00;
     361}
     362
     363li.tmIdFrame {
     364    margin-bottom: 10px;
     365}
     366
     367table.tmIdFrame input[type="text"] {
     368    margin-left: 12px;
     369}
Note: See TracChangeset for help on using the changeset viewer.