Browse Source

Changes scss variable name

j8
yanas 8 years ago
parent
commit
8be85de6ef
3 changed files with 21 additions and 12 deletions
  1. 19
    10
      css/_filmstrip.scss
  2. 1
    1
      css/_toastr.scss
  3. 1
    1
      css/_variables.scss

+ 19
- 10
css/_filmstrip.scss View File

17
         flex-direction: column-reverse;
17
         flex-direction: column-reverse;
18
         flex-wrap: nowrap;
18
         flex-wrap: nowrap;
19
         position: relative;
19
         position: relative;
20
-        z-index: $zindex1;              // Set z-index to make element visible
21
-        width: $hideFilmstripButtonWidth;
20
+        z-index: $zindex1; // Set z-index to make element visible.
21
+        width: $filmstripToggleButtonWidth;
22
 
22
 
23
         button {
23
         button {
24
             font-size: 14px;
24
             font-size: 14px;
50
         position:relative;
50
         position:relative;
51
         height:196px;
51
         height:196px;
52
         padding: 0;
52
         padding: 0;
53
-        /*The filmstrip should not be covered by the left toolbar*/
53
+        /* The filmstrip should not be covered by the left toolbar. */
54
         padding-left: $defaultToolbarSize + 5;
54
         padding-left: $defaultToolbarSize + 5;
55
         bottom: 0;
55
         bottom: 0;
56
         width:auto;
56
         width:auto;
58
         z-index: $filmstripVideosZ;
58
         z-index: $filmstripVideosZ;
59
         transition: bottom 2s;
59
         transition: bottom 2s;
60
         overflow: visible !important;
60
         overflow: visible !important;
61
-        /*!!!Removes the gap between the local video container and the remote
62
-        videos.*/
61
+        /*!!! Removes the gap between the local video container and the remote
62
+        videos. */
63
         font-size: 0pt;
63
         font-size: 0pt;
64
 
64
 
65
         &.hidden {
65
         &.hidden {
79
             }
79
             }
80
 
80
 
81
             /**
81
             /**
82
-            * Focused video thumbnail.
83
-            */
82
+             * Focused video thumbnail.
83
+             */
84
             &.videoContainerFocused {
84
             &.videoContainerFocused {
85
                 transition-duration: 0.5s;
85
                 transition-duration: 0.5s;
86
                 -webkit-transition-duration: 0.5s;
86
                 -webkit-transition-duration: 0.5s;
97
             }
97
             }
98
 
98
 
99
             /**
99
             /**
100
-            * Hovered video thumbnail.
101
-            */
100
+             * Hovered video thumbnail.
101
+             */
102
             &:hover {
102
             &:hover {
103
                 cursor: hand;
103
                 cursor: hand;
104
                 border: $thumbnailVideoBorder solid $videoThumbnailHovered;
104
                 border: $thumbnailVideoBorder solid $videoThumbnailHovered;
110
                 }
110
                 }
111
             }
111
             }
112
 
112
 
113
-            /* With TemasysWebRTC plugin <object/> element is used
113
+            /* With the TemasysWebRTC plugin <object/> element is used
114
             instead of <video/> */
114
             instead of <video/> */
115
             & > video,
115
             & > video,
116
             & > object {
116
             & > object {
121
             }
121
             }
122
         }
122
         }
123
     }
123
     }
124
+
125
+    /**
126
+     * Style the filmstrip videos in filmstrip-only mode.
127
+     */
128
+    &__videos-filmstripOnly {
129
+        margin-top: auto;
130
+        margin-bottom: auto;
131
+        padding-right: $defaultToolbarSize;
132
+    }
124
 }
133
 }

+ 1
- 1
css/_toastr.scss View File

94
 #toast-container.notification-bottom-right {
94
 #toast-container.notification-bottom-right {
95
   $videoOffset: 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
95
   $videoOffset: 2 * ($thumbnailVideoMargin + $thumbnailsBorder) + $thumbnailVideoBorder;
96
   bottom: 135px;
96
   bottom: 135px;
97
-  right: $hideFilmstripButtonWidth + $videoOffset;
97
+  right: $filmstripToggleButtonWidth + $videoOffset;
98
 }
98
 }
99
 
99
 
100
 #toast-container * {
100
 #toast-container * {

+ 1
- 1
css/_variables.scss View File

18
 $thumbnailVideoMargin: 2px;
18
 $thumbnailVideoMargin: 2px;
19
 $thumbnailsBorder: 2px;
19
 $thumbnailsBorder: 2px;
20
 $thumbnailVideoBorder: 2px;
20
 $thumbnailVideoBorder: 2px;
21
-$hideFilmstripButtonWidth: 17px;
21
+$filmstripToggleButtonWidth: 17px;
22
 
22
 
23
 
23
 
24
 /**
24
 /**

Loading…
Cancel
Save