Ignore:
Timestamp:
12/02/11 16:28:07 (13 years ago)
Author:
fpvanagthoven
Message:
  • questionEditor toegevoegd, DB-loos opzetje voor de interface daarvan.
  • editorScripts.js is niet meer nodig, alle functies staan al in sequencerScripts.js (Ik maak later nog wel een weloverwogen centrale .js file met alle gedeelde functies (hopelijk met een aantal scripts uit sequencerScripts wat meer gegeneraliseerd en breed toepasbaar!)
  • Wat aanpassingen in awesome.css voor de questionEditor
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Dev/trunk/css/awesome.css

    r168 r175  
    4848    background-color: #aeb2b3;
    4949    border: 1px solid #fff;
    50     -moz-border-radius: 15px;
    51     border-radius: 15px;
     50    -moz-border-radius: 1em;
     51    border-radius: 1em;
    5252    margin-bottom: 2em;
    5353    padding: 0 1em 1em 1em;
     
    562562
    563563#questionEditForm {
    564    
     564
    565565}
    566566
     
    610610
    611611    background-image: -webkit-gradient(
    612         linear,
    613         left top,
    614         left bottom,
    615         color-stop(0.21, #B0B0B0),
    616         color-stop(0.8, #888888)
    617     );
     612        linear,
     613        left top,
     614        left bottom,
     615        color-stop(0.21, #B0B0B0),
     616        color-stop(0.8, #888888)
     617        );
    618618    background-position: bottom;
    619619    background-repeat: repeat-x;
     
    626626    overflow-x: scroll;
    627627    overflow-y: hidden;
    628    
     628
    629629    margin-bottom: 0.5em;
    630    
     630
    631631    background-image: linear-gradient(top, #B0B0B0 21%, #888888 80%);
    632632    background-image: -o-linear-gradient(top, #B0B0B0 21%, #888888 80%);
     
    635635    background-image: -ms-linear-gradient(top, #B0B0B0 21%, #888888 80%);
    636636    background-image: -webkit-gradient(
    637         linear,
    638         left bottom,
    639         left top,
    640         color-stop(0.25, #B0B0B0),
    641         color-stop(0.8, #888888)
    642     );
    643    
     637        linear,
     638        left bottom,
     639        left top,
     640        color-stop(0.25, #B0B0B0),
     641        color-stop(0.8, #888888)
     642        );
     643
    644644    border: 1px solid #ddd;
    645645    -moz-border-radius: 0.5em;
     
    664664    float: left;
    665665    text-align: center;
    666     /*display: inline-block;*/
     666    -webkit-user-select: none;
     667    -khtml-user-select: none;
     668    -moz-user-select: none;
     669    -o-user-select: none;
     670    user-select: none;
    667671}
    668672
     
    671675    -webkit-box-shadow: 0 0 50px #FFF;
    672676    box-shadow: 0 0 50px #FFF;
    673    
     677
    674678}
    675679
     
    687691    font-size: 0.875em;
    688692    /*float: left;*/
    689    
     693
    690694}
    691695
     
    730734
    731735    background-image: -webkit-gradient(
    732         linear,
    733         left top,
    734         left bottom,
    735         color-stop(0.25, #B0B0B0),
    736         color-stop(0.8, #888888)
    737     );
    738    
     736        linear,
     737        left top,
     738        left bottom,
     739        color-stop(0.25, #B0B0B0),
     740        color-stop(0.8, #888888)
     741        );
     742
    739743}
    740744
     
    778782
    779783    background-image: -webkit-gradient(
    780         linear,
    781         left top,
    782         left bottom,
    783         color-stop(0.25, #B0B0B0),
    784         color-stop(0.8, #888888)
    785     );
     784        linear,
     785        left top,
     786        left bottom,
     787        color-stop(0.25, #B0B0B0),
     788        color-stop(0.8, #888888)
     789        );
    786790}
    787791
     
    808812    display: block;
    809813}
     814
     815
     816
     817/* QUESTION EDITOR
     818*/
     819
     820#questionEditor {
     821    width: 60em;
     822    background-color: #00FF00;
     823    border: 1px solid #FFF;
     824    display: block;
     825    margin: 0;
     826    padding: 0;
     827    float: left;
     828    background-color: #5c5c5c;
     829    -moz-box-shadow: 2px 2px 1px #888;
     830    -webkit-box-shadow: 2px 2px 1px #888;
     831    box-shadow: 2px 2px 1px #888;
     832}
     833
     834#questionEditor_header {
     835    height: 1.5em;
     836    float: left;
     837    font-size: 1.25em;
     838    color: #FFF;
     839    padding: 0.5em 1em 0 1em;
     840}
     841
     842#questionEditor_content {
     843    width: 58em;
     844    background-image: linear-gradient(top, #B0B0B0 21%, #888888 80%);
     845    background-image: -o-linear-gradient(top, #B0B0B0 21%, #888888 80%);
     846    background-image: -moz-linear-gradient(top, #B0B0B0 21%, #888888 80%);
     847    background-image: -webkit-linear-gradient(top, #B0B0B0 21%, #888888 80%);
     848    background-image: -ms-linear-gradient(top, #B0B0B0 21%, #888888 80%);
     849    background-image: -webkit-gradient(
     850        linear,
     851        left top,
     852        left bottom,
     853        color-stop(0.21, #B0B0B0),
     854        color-stop(0.8, #888888)
     855        );
     856    background-position: bottom;
     857    background-repeat: repeat-x;
     858    float: left;
     859    padding: 0.5em 1em;
     860
     861}
     862
     863#questionEditor_controls {
     864    float: right;
     865    height: 2em;
     866    text-align: right;
     867}
     868
     869
     870
     871#questionEditor_bodyText_textArea {
     872    resize: none;
     873    width: auto;
     874    min-width: 51em;
     875    border: 3px solid #cccccc;
     876    background-color: white;
     877    margin: 3px;
     878}
     879
     880#questionEditor_bodyText_staticText {
     881    color: white;
     882    font-size: 12px;
     883}
     884
     885.questionParamField {
     886    display: inline;
     887}
Note: See TracChangeset for help on using the changeset viewer.