mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
Remove image-orientation as it was temporary (was already moved to m… (#5973)
* Remove image-orientation as it was temporary (was already moved to media.less) protected/humhub/widgets/LayoutAddons.php) // Temporary fix until v1.6 then bundled with css pack Yii::$app->view->registerCss('img { image-orientation: from-image; }', [], 'fix-orient'); Which is already set in static/less/media.less) img { image-orientation: from-image; } I propose to remove to temporary fix in LayoutAddons.php * Remove old prefixes * Remove old prefixes * Update flatelements.css * Update flatelements.css * Update flatelements.css --------- Co-authored-by: Lucas Bartholemy <luke-@users.noreply.github.com>
This commit is contained in:
parent
0b6a700963
commit
c44257c66a
@ -40,9 +40,6 @@ class LayoutAddons extends BaseStack
|
||||
$this->addWidget(StatusBar::class);
|
||||
if (Yii::$app->params['installed']) {
|
||||
|
||||
// Temporary fix until v1.6 then bundled with css pack
|
||||
Yii::$app->view->registerCss('img { image-orientation: from-image; }', [], 'fix-orient');
|
||||
|
||||
$this->addWidget(BlueimpGallery::class);
|
||||
$this->addWidget(MarkdownModals::class);
|
||||
|
||||
|
@ -5,9 +5,7 @@
|
||||
.onoffswitch {
|
||||
position: relative;
|
||||
width: 33px;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
margin: 1px 5px 0 0;
|
||||
float: left;
|
||||
}
|
||||
@ -26,9 +24,6 @@
|
||||
.onoffswitch-inner {
|
||||
width: 200%;
|
||||
margin-left: -100%;
|
||||
-moz-transition: margin 0.2s ease-in 0s;
|
||||
-webkit-transition: margin 0.2s ease-in 0s;
|
||||
-o-transition: margin 0.2s ease-in 0s;
|
||||
transition: margin 0.2s ease-in 0s;
|
||||
}
|
||||
|
||||
@ -42,8 +37,6 @@
|
||||
color: white;
|
||||
font-family: Trebuchet, Arial, sans-serif;
|
||||
font-weight: bold;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
@ -72,9 +65,6 @@
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
right: 17px;
|
||||
-moz-transition: all 0.2s ease-in 0s;
|
||||
-webkit-transition: all 0.2s ease-in 0s;
|
||||
-o-transition: all 0.2s ease-in 0s;
|
||||
transition: all 0.2s ease-in 0s;
|
||||
}
|
||||
|
||||
|
@ -23,10 +23,6 @@
|
||||
@dropdown-box-shadow: 0 6px 12px rgba(0,0,0,.175);
|
||||
@clear-selection-color: @dropdown-arrow-color;
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
//
|
||||
// Mixins
|
||||
// --------------------------------------------------
|
||||
@ -80,10 +76,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
.select2-container--humhub {
|
||||
display: block;
|
||||
|
||||
@ -120,32 +112,6 @@
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
&::-webkit-input-placeholder {
|
||||
color: @input-color-placeholder;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/* Firefox 18- */
|
||||
&:-moz-placeholder {
|
||||
color: @input-color-placeholder;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
/**
|
||||
* Firefox 19+
|
||||
*
|
||||
* @see http://stackoverflow.com/questions/24236240/color-for-styled-placeholder-text-is-muted-in-firefox
|
||||
*/
|
||||
&::-moz-placeholder {
|
||||
color: @input-color-placeholder;
|
||||
font-weight: normal;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&:-ms-input-placeholder {
|
||||
color: @input-color-placeholder;
|
||||
font-weight: normal;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
@ -323,10 +289,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*------------------------------------*\
|
||||
#DROPDOWN
|
||||
\*------------------------------------*/
|
||||
@ -354,10 +316,6 @@
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*------------------------------------*\
|
||||
#SINGLE SELECT2
|
||||
\*------------------------------------*/
|
||||
@ -402,10 +360,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*------------------------------------*\
|
||||
#MULTIPLE SELECT2
|
||||
\*------------------------------------*/
|
||||
@ -511,10 +465,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Address humhub control sizing classes
|
||||
*
|
||||
@ -631,10 +581,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*------------------------------------*\
|
||||
#RTL SUPPORT
|
||||
\*------------------------------------*/
|
||||
@ -694,10 +640,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/*------------------------------------*\
|
||||
#ADDITIONAL GOODIES
|
||||
\*------------------------------------*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user