From daa6eaeeb64c625428efd077e1f8f3cdac48d240 Mon Sep 17 00:00:00 2001 From: Marcel Werk Date: Tue, 3 Jun 2014 19:25:02 +0200 Subject: [PATCH] Small style improvements --- .../lib/system/option/FileSizeOptionType.class.php | 2 +- .../lib/system/option/FloatOptionType.class.php | 2 +- .../lib/system/option/IntegerOptionType.class.php | 2 +- wcfsetup/install/files/style/global.less | 13 +++++++++++++ 4 files changed, 16 insertions(+), 3 deletions(-) diff --git a/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php b/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php index cf85e6fc4f..b638df31f2 100644 --- a/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/FileSizeOptionType.class.php @@ -18,7 +18,7 @@ class FileSizeOptionType extends TextOptionType { /** * @see \wcf\system\option\TextOptionType::$inputClass */ - protected $inputClass = 'medium'; + protected $inputClass = 'short textRight'; /** * @see \wcf\system\option\IOptionType::getData() diff --git a/wcfsetup/install/files/lib/system/option/FloatOptionType.class.php b/wcfsetup/install/files/lib/system/option/FloatOptionType.class.php index c9153f18b4..29edef1d68 100644 --- a/wcfsetup/install/files/lib/system/option/FloatOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/FloatOptionType.class.php @@ -17,7 +17,7 @@ class FloatOptionType extends TextOptionType { /** * @see \wcf\system\option\TextOptionType::$inputClass */ - protected $inputClass = 'medium'; + protected $inputClass = 'short textRight'; /** * @see \wcf\system\option\IOptionType::getFormElement() diff --git a/wcfsetup/install/files/lib/system/option/IntegerOptionType.class.php b/wcfsetup/install/files/lib/system/option/IntegerOptionType.class.php index e74b297d24..09bfb9ecd3 100644 --- a/wcfsetup/install/files/lib/system/option/IntegerOptionType.class.php +++ b/wcfsetup/install/files/lib/system/option/IntegerOptionType.class.php @@ -18,7 +18,7 @@ class IntegerOptionType extends TextOptionType { /** * @see \wcf\system\option\TextOptionType::$inputClass */ - protected $inputClass = 'medium'; + protected $inputClass = 'short'; /** * @see \wcf\system\option\IOptionType::getFormElement() diff --git a/wcfsetup/install/files/style/global.less b/wcfsetup/install/files/style/global.less index 6c14687251..c5c9bb409f 100644 --- a/wcfsetup/install/files/style/global.less +++ b/wcfsetup/install/files/style/global.less @@ -142,10 +142,23 @@ body > iframe[src="about:blank"] { margin-top: @wcfGapTiny; } +.textLeft { + text-align: left; +} + +.textCenter, .center { text-align: center; } +.textRight { + text-align: right; +} + +.textJustify { + text-align: justify; +} + .pointer { cursor: pointer; } -- 2.20.1