askclass-course-theme 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
 - data/_includes/session/next_prev.html +4 -1
 - data/_includes/session/paginator.html +24 -18
 - data/_sass/_paginator.scss +4 -2
 - data/_sass/_tab-colors.scss +1 -1
 - metadata +1 -1
 
    
        checksums.yaml
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            ---
         
     | 
| 
       2 
2 
     | 
    
         
             
            SHA256:
         
     | 
| 
       3 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       4 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 3 
     | 
    
         
            +
              metadata.gz: 931e7b78af4da413dd772ab9be96c3907897d6126b718c55b8bff803c12cd585
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0f2bdb0a504597c0544e7fcd47c718d2ebbfa304a07fccf84507c0ca54459906
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 0d7f2e0664a268bbc889194aa7850f72c5c536bc1e07dcc5bdbee09de7bcb1923d2095177a5a1409747cdb1a92c8aca2842c3ead8591d6af67abba617743b69c
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: e4d498fe7d9c509cfda6b3c74a3fcdb9bab1fe6fc177a63e833c701cc5236343579a9ffcf42a308cb986507481614d6d307eb7b9a5d0ef6745c5da6e7e16bdfc
         
     | 
| 
         @@ -10,13 +10,16 @@ 
     | 
|
| 
       10 
10 
     | 
    
         | 
| 
       11 
11 
     | 
    
         
             
            {%- assign _p = include.item -%}
         
     | 
| 
       12 
12 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
            <div class="paginator">
         
     | 
| 
      
 13 
     | 
    
         
            +
            <div class="paginator {{ arrow }}">
         
     | 
| 
       14 
14 
     | 
    
         
             
              {%- if _p %}
         
     | 
| 
       15 
15 
     | 
    
         
             
              <div class="{{ align }}">
         
     | 
| 
       16 
16 
     | 
    
         
             
                <span>{{ indicator }}</span>
         
     | 
| 
       17 
17 
     | 
    
         
             
                <span class="material-symbols-outlined">navigate_{{ arrow }}</span>
         
     | 
| 
       18 
18 
     | 
    
         
             
              </div>
         
     | 
| 
       19 
19 
     | 
    
         
             
              <a href="/session/{{ _p.url }}">
         
     | 
| 
      
 20 
     | 
    
         
            +
                {%- if _p.header -%}
         
     | 
| 
      
 21 
     | 
    
         
            +
                  {{ _p.header }} • 
         
     | 
| 
      
 22 
     | 
    
         
            +
                {%- endif -%}
         
     | 
| 
       20 
23 
     | 
    
         
             
                {{ _p.title }}
         
     | 
| 
       21 
24 
     | 
    
         
             
              </a>
         
     | 
| 
       22 
25 
     | 
    
         
             
              {%- else %}
         
     | 
| 
         @@ -1,26 +1,32 @@ 
     | 
|
| 
       1 
     | 
    
         
            -
            { 
     | 
| 
       2 
     | 
    
         
            -
              { 
     | 
| 
       3 
     | 
    
         
            -
                { 
     | 
| 
       4 
     | 
    
         
            -
                { 
     | 
| 
       5 
     | 
    
         
            -
              { 
     | 
| 
       6 
     | 
    
         
            -
            { 
     | 
| 
      
 1 
     | 
    
         
            +
            {%- for s in segment_data.items -%}
         
     | 
| 
      
 2 
     | 
    
         
            +
              {%- if s == session_id -%}
         
     | 
| 
      
 3 
     | 
    
         
            +
                {%- assign _index = forloop.index0 -%}
         
     | 
| 
      
 4 
     | 
    
         
            +
                {%- break -%}
         
     | 
| 
      
 5 
     | 
    
         
            +
              {%- endif -%}
         
     | 
| 
      
 6 
     | 
    
         
            +
            {%- endfor -%}
         
     | 
| 
       7 
7 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
            { 
     | 
| 
       9 
     | 
    
         
            -
            { 
     | 
| 
       10 
     | 
    
         
            -
            { 
     | 
| 
      
 8 
     | 
    
         
            +
            {%- assign _nidx = _index | plus: 1 -%}
         
     | 
| 
      
 9 
     | 
    
         
            +
            {%- assign _next_segment = segment_data.items[_nidx] -%}
         
     | 
| 
      
 10 
     | 
    
         
            +
            {%- assign _next_item = site.data.sessions[_next_segment] -%}
         
     | 
| 
       11 
11 
     | 
    
         | 
| 
       12 
     | 
    
         
            -
            { 
     | 
| 
       13 
     | 
    
         
            -
              { 
     | 
| 
       14 
     | 
    
         
            -
              { 
     | 
| 
       15 
     | 
    
         
            -
              { 
     | 
| 
       16 
     | 
    
         
            -
            { 
     | 
| 
      
 12 
     | 
    
         
            +
            {%- if _index > 0 -%}
         
     | 
| 
      
 13 
     | 
    
         
            +
              {%- assign _pidx = _index | minus: 1 -%}
         
     | 
| 
      
 14 
     | 
    
         
            +
              {%- assign _prev_segment = segment_data.items[_pidx] -%}
         
     | 
| 
      
 15 
     | 
    
         
            +
              {%- assign _prev_item = site.data.sessions[_prev_segment] -%}
         
     | 
| 
      
 16 
     | 
    
         
            +
            {%- endif -%}
         
     | 
| 
       17 
17 
     | 
    
         | 
| 
       18 
18 
     | 
    
         
             
            <section class="spacer center-align">
         
     | 
| 
       19 
19 
     | 
    
         | 
| 
       20 
     | 
    
         
            -
              { 
     | 
| 
      
 20 
     | 
    
         
            +
              {%- include segment/nav.html segment=session_data.segment -%}
         
     | 
| 
      
 21 
     | 
    
         
            +
              <div>
         
     | 
| 
      
 22 
     | 
    
         
            +
                {%- if session_data.header -%}
         
     | 
| 
      
 23 
     | 
    
         
            +
                  {{ session_data.header }} • 
         
     | 
| 
      
 24 
     | 
    
         
            +
                {%- endif -%}
         
     | 
| 
      
 25 
     | 
    
         
            +
                {{ session_data.title }}
         
     | 
| 
      
 26 
     | 
    
         
            +
              </div>
         
     | 
| 
       21 
27 
     | 
    
         | 
| 
       22 
     | 
    
         
            -
              <div class="paginator-container">
         
     | 
| 
       23 
     | 
    
         
            -
              { 
     | 
| 
       24 
     | 
    
         
            -
              { 
     | 
| 
      
 28 
     | 
    
         
            +
              <div class="paginator-container spacer">
         
     | 
| 
      
 29 
     | 
    
         
            +
              {%- include session/next_prev.html p="previous" item=_prev_item -%}
         
     | 
| 
      
 30 
     | 
    
         
            +
              {%- include session/next_prev.html p="next" item=_next_item -%}
         
     | 
| 
       25 
31 
     | 
    
         
             
              </div>
         
     | 
| 
       26 
32 
     | 
    
         
             
            </section>
         
     | 
    
        data/_sass/_paginator.scss
    CHANGED
    
    | 
         @@ -10,7 +10,6 @@ $size-width: 150px; 
     | 
|
| 
       10 
10 
     | 
    
         
             
            .paginator {
         
     | 
| 
       11 
11 
     | 
    
         
             
              width: $size-width;
         
     | 
| 
       12 
12 
     | 
    
         
             
              a {
         
     | 
| 
       13 
     | 
    
         
            -
                text-align: center;
         
     | 
| 
       14 
13 
     | 
    
         
             
                display: block;
         
     | 
| 
       15 
14 
     | 
    
         
             
                font-size: 14px;
         
     | 
| 
       16 
15 
     | 
    
         
             
                line-height: 1.3;
         
     | 
| 
         @@ -20,10 +19,13 @@ $size-width: 150px; 
     | 
|
| 
       20 
19 
     | 
    
         
             
                width: 100%;
         
     | 
| 
       21 
20 
     | 
    
         
             
                height: 100px;
         
     | 
| 
       22 
21 
     | 
    
         
             
              }
         
     | 
| 
      
 22 
     | 
    
         
            +
              &.next a {
         
     | 
| 
      
 23 
     | 
    
         
            +
                text-align: right;
         
     | 
| 
      
 24 
     | 
    
         
            +
              }
         
     | 
| 
       23 
25 
     | 
    
         
             
            }
         
     | 
| 
       24 
26 
     | 
    
         | 
| 
       25 
27 
     | 
    
         
             
            .pull-left, .pull-right {
         
     | 
| 
       26 
     | 
    
         
            -
              color: var(-- 
     | 
| 
      
 28 
     | 
    
         
            +
              color: var(--color-dark);
         
     | 
| 
       27 
29 
     | 
    
         
             
              display: flex;
         
     | 
| 
       28 
30 
     | 
    
         
             
              align-items: center;
         
     | 
| 
       29 
31 
     | 
    
         
             
              justify-content: flex-end;
         
     | 
    
        data/_sass/_tab-colors.scss
    CHANGED