Ignore:
Timestamp:
2021-08-10T11:18:31+12:00 (3 years ago)
Author:
davidb
Message:

Add grunt file watcher and tidy up sass files

Location:
main/trunk/model-interfaces-dev/atea/style
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-interfaces-dev/atea/style

    • Property svn:ignore set to
      *.css.map
      asr.css
  • main/trunk/model-interfaces-dev/atea/style/asr.scss

    r35275 r35276  
    1818    --monospace-font: 16px 'Roboto Mono', sans-serif;
    1919}
     20
     21.theme-error {
     22    --primary-bg-color: #ff4242;
     23    --primary-fg-color: black;
     24}
     25
     26.theme-flat {
     27    --primary-bg-color: transparent;
     28    --primary-fg-color: #222;
     29    --primary-box-shadow: none;
     30
     31    &:hover {
     32        --primary-bg-color: #EEE;
     33    }
     34}
     35
     36/* === End theme definitions */
     37
     38/* === Start component definitions === */
    2039
    2140.paper {
     
    90109}
    91110
    92 .color-primary {
    93     background-color: var(--primary-bg-color);
    94     color: var(--primary-fg-color);
    95 }
    96 
    97 .color-error {
    98     background-color: var(--error-bg-color);
    99     color: var(--error-fg-color);
    100 }
    101 
    102 .color-flat {
    103     background-color: transparent;
    104     color: #222;
    105     box-shadow: none;
    106 }
    107 
    108 .color-flat:hover {
    109     background-color: #EEE;
    110 }
     111/* === End component definitions === */
    111112
    112113/* Material Design Icon sizes */
     
    188189.transcription__container {
    189190    margin-bottom: 1em;
    190 }
    191 
    192 .transcription__container:last-child {
    193     margin-bottom: 0;
     191
     192    &:last-child {
     193        margin-bottom: 0;
     194    }
    194195}
    195196
     
    225226.error-list-item .spaced-block {
    226227    margin-bottom: 8px;
    227 }
    228 
    229 .error-list-item .spaced-block:last-child {
    230     margin-bottom: 0;
     228
     229    &:last-child {
     230        margin-bottom: 0;
     231    }   
    231232}
    232233
     
    249250    text-align: center;
    250251    vertical-align: middle;
     252
     253    p {
     254        margin: 0;
     255    }
     256
     257    button {
     258        padding: 0;
     259        margin: 0;
     260    }
    251261}
    252262
     
    254264    width: 100%;
    255265    border-right: 1px solid black;
    256 }
    257 
    258 .metadata-list-item .spaced-block:last-child {
    259     margin-top: -10%;
    260     margin-bottom: 20%;
    261     border-right: none;
    262 }
    263 
    264 .metadata-list-item p {
    265     margin: 0;
    266 }
    267 
    268 .metadata-list-item button {
    269     padding: 0;
    270     margin: 0;
     266
     267    &:last-child {
     268        margin-top: -10%;
     269        margin-bottom: 20%;
     270        border-right: none;
     271    }
    271272}
    272273
     
    320321    -webkit-transition-duration: 0.2s;
    321322    transition-duration: 0.2s;
    322 }
    323 
    324 .audio-slider__range:hover {
    325     opacity: 1;
     323
     324    &:hover {
     325        opacity: 1;
     326    }
    326327}
    327328
     
    336337    margin-left: 8px;
    337338    width: 300;
    338 }
    339 
    340 .audio-slider__value::after {
    341     position: absolute;
    342     top: 8px;
    343     left: -7px;
    344     width: 0;
    345     height: 0;
    346     border-top: 7px solid transparent;
    347     border-right: 7px solid rgb(85, 95, 100);
    348     border-bottom: 7px solid transparent;
    349     content: '';
     339
     340    &::after {
     341        position: absolute;
     342        top: 8px;
     343        left: -7px;
     344        width: 0;
     345        height: 0;
     346        border-top: 7px solid transparent;
     347        border-right: 7px solid rgb(85, 95, 100);
     348        border-bottom: 7px solid transparent;
     349        content: '';
     350    }
    350351}
    351352
Note: See TracChangeset for help on using the changeset viewer.