TeaWeb/shared/css/static/control_bar.scss

289 lines
4.5 KiB
SCSS
Raw Normal View History

2019-08-21 10:00:01 +02:00
@import "properties";
@import "mixin";
2018-09-25 12:57:47 +02:00
$border_color_activated: rgba(255, 255, 255, .75);
2019-08-21 10:00:01 +02:00
/* max height is 2em */
2018-09-25 12:57:47 +02:00
.control_bar {
display: flex;
flex-direction: row;
2019-08-21 10:00:01 +02:00
@include user-select(none);
2019-04-04 21:47:52 +02:00
height: 100%;
align-items: center;
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
/* tmp fix for ultra small devices */
2019-03-25 20:04:04 +01:00
overflow-y: visible;
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
2018-09-25 12:57:47 +02:00
.divider {
border-left:2px solid #393838;
height: calc(100% - 3px);
margin: 3px;
2018-09-25 12:57:47 +02:00
}
/* border etc */
.button, .dropdown-arrow {
text-align: center;
2019-08-21 10:00:01 +02:00
border: .05em solid rgba(0, 0, 0, 0);
border-radius: $border_radius_small;
background-color: #454545;
2018-09-25 12:57:47 +02:00
&:hover {
background-color: #393c43;
border-color: #4a4c55;
2018-09-25 12:57:47 +02:00
/*box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);*/
}
&.activated {
background-color: #2f3841;
border-color: #005fa1;
2018-09-25 12:57:47 +02:00
&:hover {
background-color: #263340;
border-color: #005fa1;
}
&.button-red {
background-color: #412f2f;
border-color: #a10000;
&:hover {
background-color: #402626;
border-color: #a10000;
}
2018-09-25 12:57:47 +02:00
}
}
2019-08-21 10:00:01 +02:00
@include transition(background-color $button_hover_animation_time ease-in-out, border-color $button_hover_animation_time ease-in-out);
> .icon_x24 {
vertical-align: middle;
}
}
.button {
cursor: pointer;
align-items: center;
margin-right: 5px;
margin-left: 5px;
&:not(.icon_x24) {
2019-08-21 10:00:01 +02:00
min-width: 2em;
max-width: 2em;
height: 2em;
}
.icon_em {
vertical-align: text-top;
}
&.button-hostbutton {
img {
min-width: 1.5em;
max-width: 1.5em;
height: 1.5em;
width: 1.5em;
}
2019-10-19 17:13:40 +02:00
overflow: hidden;
2019-08-21 10:00:01 +02:00
padding: .25em;
}
2018-09-25 12:57:47 +02:00
}
.button-dropdown {
height: 100%;
2019-03-25 20:04:04 +01:00
position: relative;
2018-09-25 12:57:47 +02:00
.buttons {
2019-08-21 10:00:01 +02:00
height: 2em;
align-items: center;
2019-03-17 12:15:39 +01:00
display: flex;
flex-direction: row;
2018-09-25 12:57:47 +02:00
.dropdown-arrow {
2019-08-21 10:00:01 +02:00
height: 2em;
2018-09-25 12:57:47 +02:00
display: inline-flex;
justify-content: space-around;
2019-08-21 10:00:01 +02:00
width: 1.5em;
2018-09-25 12:57:47 +02:00
cursor: pointer;
2019-08-21 10:00:01 +02:00
border-radius: 0 $border_radius_small $border_radius_small 0;
2018-09-25 12:57:47 +02:00
align-items: center;
border-left: 0;
}
.button {
margin-right: 0;
}
2018-09-25 12:57:47 +02:00
&:hover {
.button, .dropdown-arrow {
background-color: #393c43;
border-color: #4a4c55;
2018-09-25 12:57:47 +02:00
}
.button {
padding-right: 1px;
border-right: 0;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
2018-09-25 12:57:47 +02:00
}
}
}
.dropdown {
display: none;
position: absolute;
margin-left: 5px;
color: #c4c5c5;
background-color: #2d3032;
2018-09-25 12:57:47 +02:00
align-items: center;
2019-08-21 10:00:01 +02:00
border: .05em solid #2c2525;
border-radius: 0 $border_radius_middle $border_radius_middle $border_radius_middle;
2018-09-25 12:57:47 +02:00
width: 230px;
z-index: 1000;
/*box-shadow: 0 12px 16px 0 rgba(0,0,0,0.24), 0 17px 50px 0 rgba(0,0,0,0.19);*/
2019-03-17 12:15:39 +01:00
&.right {
2019-03-25 20:04:04 +01:00
right: 0;
2019-03-17 12:15:39 +01:00
}
2019-08-21 10:00:01 +02:00
.icon, .icon-container, .icon_em {
2018-09-25 12:57:47 +02:00
vertical-align: middle;
margin-right: 5px;
}
& > div {
display: block;
cursor: pointer;
padding: 1px 2px 1px 4px;
&:hover {
background-color: #252729;
2018-09-25 12:57:47 +02:00
}
}
& > div:first-of-type {
2019-08-21 10:00:01 +02:00
border-radius: .1em .1em 0 0;
2018-09-25 12:57:47 +02:00
}
& > div:last-of-type {
2019-08-21 10:00:01 +02:00
border-radius: 0 0 .1em .1em;
2018-09-25 12:57:47 +02:00
}
&.display_left {
margin-left: -179px;
2019-08-21 10:00:01 +02:00
border-radius: $border_radius_middle 0 $border_radius_middle $border_radius_middle;
}
2018-09-25 12:57:47 +02:00
}
2019-04-04 21:47:52 +02:00
&:hover.displayed, &.force-show {
2019-03-17 12:15:39 +01:00
.dropdown {
2018-09-25 12:57:47 +02:00
display: block;
}
.button, .dropdown-arrow {
background-color: #393c43;
border-color: #4a4c55;
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
}
.button {
padding-right: 1px;
border-right: 0;
border-bottom-right-radius: 0;
border-top-right-radius: 0;
}
2018-09-25 12:57:47 +02:00
}
Implemented the Material Design and fixed some bugs (#33) * cleaned up some files * Fundamental style update * Redesigned some style * fixed hostbanner popup * Removed old identity stuff * fixed close listener * Fixed changelog date * fixed release chat icons * fixed url * Fixed hostbanner * Uploaded missing images * Improved update handling * Improved script files * Fixed loading error and icon error * fixed Yes/No modal * Fixed loader issues with MS Edge * fixed modal style bug * Fixed control bar overflow for small devices * Improved error handling on identity creation * Logging generate error to terminal * fixed possible php error * fixed some possible loading errors when other files have'nt been already loaded. * removed debug message * Changed emsrcypten flags * Improved codec error handling * removed webassembly as required dependency * Improved and fixed channel tree issues * Improved the sliders * Removed unneeded files * fixed loader versions cache * second slight performance improved (dont animate elements anymore if they are not shown) * Fixed query visibility setting * not showing useless client infos for query clients * Added an auto reconnect system * Added a canceled message and increased reconnect interval * removed implemented todo * fixed repetitive channel names * Reworked the channel tree selected lines * Fixed channel tree names * Fixed name alignment * fixed the native client * added min width to the server select groups to avoid a disappearing effect on shrink * fixed bugged downloaded icons
2019-02-17 16:08:10 +01:00
hr {
margin-top: 5px;
margin-bottom: 5px;
}
2018-09-25 12:57:47 +02:00
}
.bookmark-dropdown {
hr:last-child {
display: none;
}
.hidden {
display: none!important;
}
.disabled {
}
.bookmark, .directory {
display: flex!important;
flex-direction: row;
align-items: center;
justify-content: stretch;
.name {
flex-grow: 1;
flex-shrink: 1;
}
.icon, .arrow {
flex-grow: 0;
flex-shrink: 0;
}
.arrow {
margin-right: 5px;
}
}
.directory {
&:hover {
> .sub-container, > .sub-container .sub-menu {
display: block;
}
}
&:not(:hover) {
.sub-container {
display: none;
}
}
.sub-container {
padding-right: 3px;
position: relative;
}
.sub-menu {
display: none;
left: 100%;
top: -13px;
position: absolute;
margin-left: 3px;
}
}
}
2019-08-21 10:00:01 +02:00
.icon_em {
font-size: 1.5em;
}
2018-09-25 12:57:47 +02:00
}