Browse Source

Revert to file scss updates from 04d34e235c.

pull/29/head^2
Evan Theurer 12 years ago
parent
commit
a043a58e93
  1. 13
      src/styles/color-pallete.html
  2. 8
      src/styles/global/_angular.scss
  3. 27
      src/styles/global/_animations.scss
  4. 22
      src/styles/global/_nicescroll.scss
  5. 107
      src/styles/global/_overlaybar.scss

13
src/styles/color-pallete.html

@ -97,4 +97,17 @@
<td class="color-block" style="background-color: rgba(0,0,0,.4);"></td> <td class="color-block" style="background-color: rgba(0,0,0,.4);"></td>
<td class="color-block" style="background-color: rgba(0,0,0,.3);"></td> <td class="color-block" style="background-color: rgba(0,0,0,.3);"></td>
</tr> </tr>
<tr>
<td class="color-desc">
$grey5: #aaa
</td>
<td class="color-desc">
$grey6: #ddd
</td>
</tr>
<tr>
<td class="color-block" style="background-color: #aaa;"></td>
<td class="color-block" style="background-color: #ddd;"></td>
</tr>
</table> </table>

8
src/styles/global/_angular.scss

@ -18,6 +18,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
[ng\:cloak],
[ng-cloak],
[data-ng-cloak],
[x-ng-cloak],
.ng-cloak,
.x-ng-cloak {
display: none; display: none;
} }

27
src/styles/global/_animations.scss

@ -18,26 +18,27 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
.fadetogglecontainer > div { .fadetogglecontainer > div {
position: absolute; position: absolute;
width: 100%; width: 100%;
} }
.animate-show.ng-hide-add, .animate-show {
.animate-show.ng-hide-remove { &.ng-hide-add {
-webkit-transition:all linear 0.5s; opacity: 1;
-moz-transition:all linear 0.5s;
-o-transition:all linear 0.5s;
transition:all linear 0.5s;
display: block !important; display: block !important;
} @include transition(all linear 0.5s);
&.ng-hide-add-active {
.animate-show.ng-hide-add.ng-hide-add-active,
.animate-show.ng-hide-remove {
opacity: 0; opacity: 0;
} }
}
.animate-show.ng-hide-add, &.ng-hide-remove {
.animate-show.ng-hide-remove.ng-hide-remove-active { opacity: 0;
display: block !important;
@include transition(all linear 0.5s);
&.ng-hide-remove-active {
opacity: 1; opacity: 1;
} }
}
}

22
src/styles/global/_nicescroll.scss

@ -18,23 +18,23 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. * along with this program. If not, see <http://www.gnu.org/licenses/>.
* *
*/ */
.nicescroll::-webkit-scrollbar {
width: 8px; .nicescroll {
height: 8px; &::-webkit-scrollbar {
background-color: $background; background-color: $background;
border: solid transparent; border: solid transparent;
} height: 8px;
width: 8px;
.nicescroll::-webkit-scrollbar:hover { &:hover {
background-color: $background; background-color: $background;
border-left: 1px solid rgba(0,0,0,.12); border-left: 1px solid rgba(0,0,0,.12);
border-right: 1px solid rgba(0,0,0,.12); border-right: 1px solid rgba(0,0,0,.12);
} }
.nicescroll::-webkit-scrollbar-thumb {
background: rgba(0,0,0,0.2);
} }
&::-webkit-scrollbar-thumb {
.nicescroll::-webkit-scrollbar-thumb:active { background: rgba(0,0,0,0.2);
&:active {
background: rgba(0,0,0,0.4); background: rgba(0,0,0,0.4);
} }
}
}

107
src/styles/global/_overlaybar.scss

@ -1,42 +1,64 @@
/*
* Spreed Speak Freely.
* Copyright (C) 2013-2014 struktur AG
*
* This file is part of Spreed Speak Freely.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
.overlaybar { .overlaybar {
position:absolute; background: $componentfg3;
padding:3px 8px 0px 30px; color: $bordercolor;
vertical-align:middle;
background: rgba(0,0,0,0.2);
min-height: 36px; min-height: 36px;
color: #ccc; padding: 3px 8px 0 30px;
position: absolute;
text-shadow: 0 0 5px black; text-shadow: 0 0 5px black;
input[type="radio"], input[type="checkbox"] { vertical-align: middle;
margin-top:2px; @include user-select(none);
} &:hover {
-webkit-user-select: none; background: $componentfg2;
-khtml-user-select: none;
-moz-user-select: none;
-o-user-select: none;
user-select: none;
}
.overlaybar:hover {
background: rgba(0,0,0,0.5);
} }
&.notvisible {
.overlaybar.notvisible {
background: transparent; background: transparent;
pointer-events: none; pointer-events: none;
} &:hover {
.overlaybar.notvisible:hover {
background: transparent; background: transparent;
} }
}
.overlaybar .btn { .btn {
text-shadow: none; text-shadow: none;
} }
.btn-link {
.overlaybar .btn-link {
text-shadow: 0 0 5px black; text-shadow: 0 0 5px black;
} }
.form-group > * {
float: left;
padding-top: 0;
}
input[type="radio"],
input[type="checkbox"] {
margin-top: 2px;
}
label {
padding-top: 7px !important;
}
}
.overlaybar .overlaybarbutton { .overlaybar {
.overlaybarbutton {
font-size: 20px; font-size: 20px;
vertical-align: middle; vertical-align: middle;
position: absolute; position: absolute;
@ -44,40 +66,31 @@
top: 1px; top: 1px;
padding: 6px; padding: 6px;
display: block; display: block;
color:#ccc; color: $bordercolor;
z-index: 15; z-index: 15;
opacity:0.7; opacity: .7;
pointer-events: auto; pointer-events: auto;
} }
.overlaybarcontent {
.overlaybar .overlaybarcontent {
display: inline-block; display: inline-block;
margin-left: .5em; margin-left: .5em;
margin-bottom:0px; margin-bottom: 0;
max-width: 60%; max-width: 60%;
} > * {
.overlaybarcontent > * {
padding-right: .5em; padding-right: .5em;
} }
.input-group {
.overlaybarcontent .input-group {
max-width: 160px; max-width: 160px;
} }
.overlaybar label {
padding-top:7px !important;
} }
.overlaybaroverlay {
.overlaybar .overlaybaroverlay {
display: none; display: none;
opacity: 0.7; opacity: .7;
text-align: left; text-align: left;
margin-left:0.5em; margin-left: .5em;
padding-top: 2px; padding-top: 2px;
} }
&.notvisible {
.overlaybar.notvisible {
.overlaybarcontent { .overlaybarcontent {
display: none; display: none;
} }
@ -85,8 +98,4 @@
display: block; display: block;
} }
} }
.overlaybar .form-group > * {
float: left;
padding-top: 0px;
} }
Loading…
Cancel
Save